public class RuleContextChangedEvent extends BrowserEvent<RuleContextChangedHandler>
GwtEvent.Type<H>
jsObj
Constructor and Description |
---|
RuleContextChangedEvent(JavaScriptObject jsObj) |
Modifier and Type | Method and Description |
---|---|
protected void |
dispatch(RuleContextChangedHandler handler) |
static <S extends HasRuleContextChangedHandlers & 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<RuleContextChangedHandler> |
getAssociatedType() |
java.util.Map |
getData()
the new rule context
|
Canvas |
getFiringCanvas()
Returns the
Canvas firing the event. |
static GwtEvent.Type<RuleContextChangedHandler> |
getType()
Gets the type associated with this event.
|
getX, getY, isAltKeyDown, isCtrlKeyDown, isLeftButtonDown, isRightButtonDown
getFiringInstanceAsJavaScriptObject
assertLive, getSource, isLive, kill, revive
setSource, toDebugString, toString
public RuleContextChangedEvent(JavaScriptObject jsObj)
public Canvas getFiringCanvas()
Canvas
firing the event.public static <S extends HasRuleContextChangedHandlers & HasHandlers> void fire(S source, JavaScriptObject jsObj)
S
- The event sourcesource
- the source of the handlersjsObj
- the native eventpublic static GwtEvent.Type<RuleContextChangedHandler> getType()
protected void dispatch(RuleContextChangedHandler handler)
dispatch
in class GwtEvent<RuleContextChangedHandler>
public final GwtEvent.Type<RuleContextChangedHandler> getAssociatedType()
getAssociatedType
in class GwtEvent<RuleContextChangedHandler>
public java.util.Map getData()