public class CanEditChangedEvent extends AbstractSmartEvent<CanEditChangedHandler> implements Cancellable
GwtEvent.Type<H>
jsObj
Constructor and Description |
---|
CanEditChangedEvent(JavaScriptObject jsObj) |
Modifier and Type | Method and Description |
---|---|
void |
cancel()
false to cancel the default behavior. |
protected void |
dispatch(CanEditChangedHandler handler) |
static <S extends HasCanEditChangedHandlers & 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<CanEditChangedHandler> |
getAssociatedType() |
boolean |
getCanEdit()
New
canEdit value |
static GwtEvent.Type<CanEditChangedHandler> |
getType()
Gets the type associated with this event.
|
boolean |
isCancelled() |
assertLive, getSource, isLive, kill, revive
setSource, toDebugString, toString
public CanEditChangedEvent(JavaScriptObject jsObj)
public static <S extends HasCanEditChangedHandlers & HasHandlers> void fire(S source, JavaScriptObject jsObj)
S
- The event sourcesource
- the source of the handlersjsObj
- the native eventpublic static GwtEvent.Type<CanEditChangedHandler> getType()
protected void dispatch(CanEditChangedHandler handler)
dispatch
in class GwtEvent<CanEditChangedHandler>
public final GwtEvent.Type<CanEditChangedHandler> getAssociatedType()
getAssociatedType
in class GwtEvent<CanEditChangedHandler>
public void cancel()
false
to cancel the default behavior.cancel
in interface Cancellable
public boolean isCancelled()
isCancelled
in interface Cancellable
public boolean getCanEdit()
canEdit
valuecanEdit
value