public class HeaderClickEvent extends BrowserEvent<HeaderClickHandler> implements Cancellable
GwtEvent.Type<H>jsObj| Constructor and Description |
|---|
HeaderClickEvent(JavaScriptObject jsObj) |
| Modifier and Type | Method and Description |
|---|---|
void |
cancel()
Call this method to cancel the default header click behavior
|
protected void |
dispatch(HeaderClickHandler handler) |
static <S extends HasHeaderClickHandlers & 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<HeaderClickHandler> |
getAssociatedType() |
int |
getFieldNum()
index of the field on which the click occurred.
|
static GwtEvent.Type<HeaderClickHandler> |
getType()
Gets the type associated with this event.
|
boolean |
isCancelled() |
getX, getY, isAltKeyDown, isCtrlKeyDown, isLeftButtonDown, isRightButtonDownassertLive, getSource, isLive, kill, revivesetSource, toDebugString, toStringpublic HeaderClickEvent(JavaScriptObject jsObj)
public static <S extends HasHeaderClickHandlers & HasHandlers> void fire(S source, JavaScriptObject jsObj)
S - The event sourcesource - the source of the handlersjsObj - the native eventpublic static GwtEvent.Type<HeaderClickHandler> getType()
protected void dispatch(HeaderClickHandler handler)
dispatch in class GwtEvent<HeaderClickHandler>public final GwtEvent.Type<HeaderClickHandler> getAssociatedType()
getAssociatedType in class GwtEvent<HeaderClickHandler>public void cancel()
cancel in interface Cancellablepublic boolean isCancelled()
isCancelled in interface Cancellablepublic int getFieldNum()