public class TitleClickEvent extends AbstractSmartEvent<TitleClickHandler> implements Cancellable
GwtEvent.Type<H>jsObj| Constructor and Description |
|---|
TitleClickEvent(JavaScriptObject jsObj) |
| Modifier and Type | Method and Description |
|---|---|
void |
cancel()
Call this method to cancel the click event.
|
protected void |
dispatch(TitleClickHandler handler) |
static <S extends HasTitleClickHandlers & 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<TitleClickHandler> |
getAssociatedType() |
DynamicForm |
getForm()
the managing DynamicForm instance
|
FormItem |
getItem()
the form item whose title was clicked
|
static GwtEvent.Type<TitleClickHandler> |
getType()
Gets the type associated with this event.
|
boolean |
isCancelled() |
assertLive, getSource, isLive, kill, revivesetSource, toDebugString, toStringpublic TitleClickEvent(JavaScriptObject jsObj)
public static <S extends HasTitleClickHandlers & HasHandlers> void fire(S source, JavaScriptObject jsObj)
S - The event sourcesource - the source of the handlersjsObj - the native eventpublic static GwtEvent.Type<TitleClickHandler> getType()
protected void dispatch(TitleClickHandler handler)
dispatch in class GwtEvent<TitleClickHandler>public final GwtEvent.Type<TitleClickHandler> getAssociatedType()
getAssociatedType in class GwtEvent<TitleClickHandler>public void cancel()
click on the form containing this item.cancel in interface Cancellablepublic boolean isCancelled()
isCancelled in interface Cancellablepublic DynamicForm getForm()
public FormItem getItem()