public class SectionHeaderClickEvent extends BrowserEvent<SectionHeaderClickHandler> implements Cancellable
GwtEvent.Type<H>
jsObj
Constructor and Description |
---|
SectionHeaderClickEvent(JavaScriptObject jsObj) |
Modifier and Type | Method and Description |
---|---|
void |
cancel()
returning false cancels the default behavior
|
protected void |
dispatch(SectionHeaderClickHandler handler) |
static <S extends HasSectionHeaderClickHandlers & 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<SectionHeaderClickHandler> |
getAssociatedType() |
SectionStackSection |
getSection()
SectionStackSection of the header clicked by the user
|
static GwtEvent.Type<SectionHeaderClickHandler> |
getType()
Gets the type associated with this event.
|
boolean |
isCancelled() |
getX, getY, isAltKeyDown, isCtrlKeyDown, isLeftButtonDown, isRightButtonDown
assertLive, getSource, isLive, kill, revive
setSource, toDebugString, toString
public SectionHeaderClickEvent(JavaScriptObject jsObj)
public static <S extends HasSectionHeaderClickHandlers & HasHandlers> void fire(S source, JavaScriptObject jsObj)
S
- The event sourcesource
- the source of the handlersjsObj
- the native eventpublic static GwtEvent.Type<SectionHeaderClickHandler> getType()
protected void dispatch(SectionHeaderClickHandler handler)
dispatch
in class GwtEvent<SectionHeaderClickHandler>
public final GwtEvent.Type<SectionHeaderClickHandler> getAssociatedType()
getAssociatedType
in class GwtEvent<SectionHeaderClickHandler>
public void cancel()
cancel
in interface Cancellable
public boolean isCancelled()
isCancelled
in interface Cancellable
public SectionStackSection getSection()