public class PendingStatusChangedEvent extends AbstractSmartEvent<PendingStatusChangedHandler> implements Cancellable
jsObj
Constructor and Description |
---|
PendingStatusChangedEvent(com.google.gwt.core.client.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 & 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<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 com.google.gwt.event.shared.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() |
getFiringInstanceAsJavaScriptObject
assertLive, getSource, isLive, kill, revive
public PendingStatusChangedEvent(com.google.gwt.core.client.JavaScriptObject jsObj)
public FormItem getFiringItem()
FormItem
firing the
event.public static <S extends HasPendingStatusChangedHandlers & 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<PendingStatusChangedHandler> getType()
protected void dispatch(PendingStatusChangedHandler handler)
dispatch
in class com.google.gwt.event.shared.GwtEvent<PendingStatusChangedHandler>
public final com.google.gwt.event.shared.GwtEvent.Type<PendingStatusChangedHandler> getAssociatedType()
getAssociatedType
in class com.google.gwt.event.shared.GwtEvent<PendingStatusChangedHandler>
public void cancel()
false
to cancel the default behavior.cancel
in interface Cancellable
public boolean isCancelled()
isCancelled
in interface Cancellable
public 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()
.