public class FormItemIconClickEvent extends AbstractSmartEvent<FormItemClickHandler> implements Cancellable
jsObj
Constructor and Description |
---|
FormItemIconClickEvent(com.google.gwt.core.client.JavaScriptObject jsObj) |
Modifier and Type | Method and Description |
---|---|
void |
cancel()
Call this method to cancel the event.
|
protected void |
dispatch(FormItemClickHandler handler) |
static <S extends HasFormItemClickHandlers & 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<FormItemClickHandler> |
getAssociatedType() |
DynamicForm |
getForm()
The Dynamic Form to which this icon's item belongs.
|
FormItemIcon |
getIcon()
A pointer to the form item icon clicked
|
FormItem |
getItem()
The Form Item containing this icon
|
static com.google.gwt.event.shared.GwtEvent.Type<FormItemClickHandler> |
getType()
Gets the type associated with this event.
|
boolean |
isCancelled() |
getFiringInstanceAsJavaScriptObject
assertLive, getSource, isLive, kill, revive
public FormItemIconClickEvent(com.google.gwt.core.client.JavaScriptObject jsObj)
public static <S extends HasFormItemClickHandlers & 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<FormItemClickHandler> getType()
protected void dispatch(FormItemClickHandler handler)
dispatch
in class com.google.gwt.event.shared.GwtEvent<FormItemClickHandler>
public final com.google.gwt.event.shared.GwtEvent.Type<FormItemClickHandler> getAssociatedType()
getAssociatedType
in class com.google.gwt.event.shared.GwtEvent<FormItemClickHandler>
public void cancel()
cancel
in interface Cancellable
public boolean isCancelled()
isCancelled
in interface Cancellable
public DynamicForm getForm()
public FormItem getItem()
public FormItemIcon getIcon()