public class RecordClickEvent extends BrowserEvent<RecordClickHandler>
GwtEvent.Type<H>
jsObj
Constructor and Description |
---|
RecordClickEvent(JavaScriptObject jsObj) |
Modifier and Type | Method and Description |
---|---|
protected void |
dispatch(RecordClickHandler handler) |
static <S extends HasRecordClickHandlers & 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<RecordClickHandler> |
getAssociatedType() |
Record |
getRecord()
the record that was clicked on
|
Canvas |
getTile()
the tile that was clicked on
|
static GwtEvent.Type<RecordClickHandler> |
getType()
Gets the type associated with this event.
|
TileGrid |
getViewer()
the TileGrid itself
|
getX, getY, isAltKeyDown, isCtrlKeyDown, isLeftButtonDown, isRightButtonDown
assertLive, getSource, isLive, kill, revive
setSource, toDebugString, toString
public RecordClickEvent(JavaScriptObject jsObj)
public static <S extends HasRecordClickHandlers & HasHandlers> void fire(S source, JavaScriptObject jsObj)
S
- The event sourcesource
- the source of the handlersjsObj
- the native eventpublic static GwtEvent.Type<RecordClickHandler> getType()
protected void dispatch(RecordClickHandler handler)
dispatch
in class GwtEvent<RecordClickHandler>
public final GwtEvent.Type<RecordClickHandler> getAssociatedType()
getAssociatedType
in class GwtEvent<RecordClickHandler>
public TileGrid getViewer()
public Canvas getTile()
public Record getRecord()