public class Event
extends com.google.gwt.core.client.JavaScriptObject
| Modifier | Constructor and Description |
|---|---|
protected |
Event() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
getBubbles()
Indicates whether an event is a bubbling event.
|
boolean |
getCancelable()
Indicates whether an event is a bubbling event.
|
com.google.gwt.core.client.JavaScriptObject |
getCurrentTarget()
The object that is actively processing the Event object with an event listener.
|
int |
getEventPhase()
The current phase in the event flow.
|
com.google.gwt.core.client.JavaScriptObject |
getTarget()
The event target.
|
EventType |
getType()
The type of event.
|
boolean |
isDefaultPrevented()
Checks whether the preventDefault() method has been called on the event.
|
void |
preventDefault()
Cancels an event's default behavior if that behavior can be canceled.
|
void |
stopImmediatePropagation()
Prevents processing of any event listeners in the current node and any subsequent nodes in the event flow.
|
void |
stopPropagation()
Prevents processing of any event listeners in nodes subsequent to the current node in the event flow.
|
public final boolean getBubbles()
public final boolean getCancelable()
public final com.google.gwt.core.client.JavaScriptObject getCurrentTarget()
public final int getEventPhase()
public final com.google.gwt.core.client.JavaScriptObject getTarget()
public final EventType getType()
public final boolean isDefaultPrevented()
public final void preventDefault()
public final void stopImmediatePropagation()
public final void stopPropagation()
Copyright © 2013. All Rights Reserved.