public class ValueIconClickEvent extends AbstractSmartEvent<ValueIconClickHandler> implements Cancellable
GwtEvent.Type<H>
jsObj
Constructor and Description |
---|
ValueIconClickEvent(JavaScriptObject jsObj) |
Modifier and Type | Method and Description |
---|---|
void |
cancel()
Call this method to suppress standard click handling for the item.
|
protected void |
dispatch(ValueIconClickHandler handler) |
static <S extends HasValueIconClickHandlers & 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<ValueIconClickHandler> |
getAssociatedType() |
DynamicForm |
getForm()
the form containing this item
|
FormItem |
getItem()
the FormItem containing the valueIcon
|
static GwtEvent.Type<ValueIconClickHandler> |
getType()
Gets the type associated with this event.
|
java.lang.Object |
getValue()
the current value of the item.
|
boolean |
isCancelled() |
assertLive, getSource, isLive, kill, revive
setSource, toDebugString, toString
public ValueIconClickEvent(JavaScriptObject jsObj)
public static <S extends HasValueIconClickHandlers & HasHandlers> void fire(S source, JavaScriptObject jsObj)
S
- The event sourcesource
- the source of the handlersjsObj
- the native eventpublic static GwtEvent.Type<ValueIconClickHandler> getType()
protected void dispatch(ValueIconClickHandler handler)
dispatch
in class GwtEvent<ValueIconClickHandler>
public final GwtEvent.Type<ValueIconClickHandler> getAssociatedType()
getAssociatedType
in class GwtEvent<ValueIconClickHandler>
public void cancel()
cancel
in interface Cancellable
public boolean isCancelled()
isCancelled
in interface Cancellable
public DynamicForm getForm()
public FormItem getItem()
public java.lang.Object getValue()