public class CanEditChangedEvent extends AbstractSmartEvent<CanEditChangedHandler> implements Cancellable
jsObj| Constructor and Description |
|---|
CanEditChangedEvent(com.google.gwt.core.client.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 & com.google.gwt.event.shared.HasHandlers> |
fire(S source,
com.google.gwt.core.client.JavaScriptObject jsObj)
Fires a open event on all registered handlers in the handler manager.If no
such handlers exist, this method will do nothing.
|
com.google.gwt.event.shared.GwtEvent.Type<CanEditChangedHandler> |
getAssociatedType() |
boolean |
getCanEdit()
New
canEdit value |
DrawItem |
getFiringDrawItem()
Returns the
DrawItem firing the
event. |
static com.google.gwt.event.shared.GwtEvent.Type<CanEditChangedHandler> |
getType()
Gets the type associated with this event.
|
boolean |
isCancelled() |
getFiringInstanceAsJavaScriptObjectassertLive, getSource, isLive, kill, revivepublic CanEditChangedEvent(com.google.gwt.core.client.JavaScriptObject jsObj)
public DrawItem getFiringDrawItem()
DrawItem firing the
event.public static <S extends HasCanEditChangedHandlers & com.google.gwt.event.shared.HasHandlers> void fire(S source, com.google.gwt.core.client.JavaScriptObject jsObj)
S - The event sourcesource - the source of the handlersjsObj - the native eventpublic static com.google.gwt.event.shared.GwtEvent.Type<CanEditChangedHandler> getType()
protected void dispatch(CanEditChangedHandler handler)
dispatch in class com.google.gwt.event.shared.GwtEvent<CanEditChangedHandler>public final com.google.gwt.event.shared.GwtEvent.Type<CanEditChangedHandler> getAssociatedType()
getAssociatedType in class com.google.gwt.event.shared.GwtEvent<CanEditChangedHandler>public void cancel()
false to cancel the default behavior.cancel in interface Cancellablepublic boolean isCancelled()
isCancelled in interface Cancellablepublic boolean getCanEdit()
canEdit valuecanEdit value