public class PendingStatusChangedEvent extends AbstractSmartEvent<PendingStatusChangedHandler> implements Cancellable
GwtEvent.Type<H>jsObj| Constructor and Description |
|---|
PendingStatusChangedEvent(JavaScriptObject jsObj) |
| Modifier and Type | Method and Description |
|---|---|
void |
cancel()
false to cancel the default behavior. |
protected void |
dispatch(PendingStatusChangedHandler handler) |
static <S extends HasPendingStatusChangedHandlers & 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<PendingStatusChangedHandler> |
getAssociatedType() |
FormItem |
getFiringItem()
Returns the
FormItem firing the
event. |
DynamicForm |
getForm()
the managing
DynamicForm instance. |
FormItem |
getItem()
the form item itself (also available as "this").
|
java.lang.Object |
getNewValue()
the current form item value.
|
boolean |
getPendingStatus()
true if the item should show its pending visual state; false otherwise. |
static GwtEvent.Type<PendingStatusChangedHandler> |
getType()
Gets the type associated with this event.
|
java.lang.Object |
getValue()
the value that would be restored by a call to
DynamicForm.resetValues(). |
boolean |
isCancelled() |
getFiringInstanceAsJavaScriptObjectassertLive, getSource, isLive, kill, revivesetSource, toDebugString, toStringpublic PendingStatusChangedEvent(JavaScriptObject jsObj)
public FormItem getFiringItem()
FormItem firing the
event.public static <S extends HasPendingStatusChangedHandlers & HasHandlers> void fire(S source, JavaScriptObject jsObj)
S - The event sourcesource - the source of the handlersjsObj - the native eventpublic static GwtEvent.Type<PendingStatusChangedHandler> getType()
protected void dispatch(PendingStatusChangedHandler handler)
dispatch in class GwtEvent<PendingStatusChangedHandler>public final GwtEvent.Type<PendingStatusChangedHandler> getAssociatedType()
getAssociatedType in class GwtEvent<PendingStatusChangedHandler>public void cancel()
false to cancel the default behavior.cancel in interface Cancellablepublic boolean isCancelled()
isCancelled in interface Cancellablepublic DynamicForm getForm()
DynamicForm instance.DynamicForm instance.public FormItem getItem()
public boolean getPendingStatus()
true if the item should show its pending visual state; false otherwise.true if the item should show its pending visual state; false otherwise.public java.lang.Object getNewValue()
public java.lang.Object getValue()
DynamicForm.resetValues().DynamicForm.resetValues().