public class NodeAddedEvent extends AbstractSmartEvent<NodeAddedHandler>
GwtEvent.Type<H>
jsObj
Constructor and Description |
---|
NodeAddedEvent(JavaScriptObject jsObj) |
Modifier and Type | Method and Description |
---|---|
protected void |
dispatch(NodeAddedHandler handler) |
static <S extends HasNodeAddedHandlers & HasHandlers> |
fire(S source,
JavaScriptObject jsObj)
Fires a open event on all registered handlers in the handler manager.If no
such handlers exist, this method will do nothing.
|
GwtEvent.Type<NodeAddedHandler> |
getAssociatedType() |
EditNode |
getNewNode()
node that was added
|
EditNode |
getParentNode()
parent node of the node that was added
|
EditNode |
getRootNode()
root node of the edit context
|
static GwtEvent.Type<NodeAddedHandler> |
getType()
Gets the type associated with this event.
|
assertLive, getSource, isLive, kill, revive
setSource, toDebugString, toString
public NodeAddedEvent(JavaScriptObject jsObj)
public static <S extends HasNodeAddedHandlers & HasHandlers> void fire(S source, JavaScriptObject jsObj)
S
- The event sourcesource
- the source of the handlersjsObj
- the native eventpublic static GwtEvent.Type<NodeAddedHandler> getType()
protected void dispatch(NodeAddedHandler handler)
dispatch
in class GwtEvent<NodeAddedHandler>
public final GwtEvent.Type<NodeAddedHandler> getAssociatedType()
getAssociatedType
in class GwtEvent<NodeAddedHandler>
public EditNode getNewNode()
public EditNode getParentNode()
public EditNode getRootNode()