public class RecordDoubleClickEvent extends BrowserEvent<RecordDoubleClickHandler> implements Cancellable
GwtEvent.Type<H>
jsObj
Constructor and Description |
---|
RecordDoubleClickEvent(JavaScriptObject jsObj) |
Modifier and Type | Method and Description |
---|---|
void |
cancel()
Call this method to cancel event bubbling
|
protected void |
dispatch(RecordDoubleClickHandler handler) |
static <S extends HasRecordDoubleClickHandlers & 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<RecordDoubleClickHandler> |
getAssociatedType() |
ListGridField |
getField()
the field that was clicked on (field definition)
|
int |
getFieldNum()
number of the field clicked on in the listGrid.fields array
|
ListGridRecord |
getRecord()
the record that was double-clicked
|
int |
getRecordNum()
number of the record clicked on in the current set of displayed records (starts with 0)
|
static GwtEvent.Type<RecordDoubleClickHandler> |
getType()
Gets the type associated with this event.
|
ListGrid |
getViewer()
the listGrid that contains the doubleclick event
|
boolean |
isCancelled() |
getX, getY, isAltKeyDown, isCtrlKeyDown, isLeftButtonDown, isRightButtonDown
assertLive, getSource, isLive, kill, revive
setSource, toDebugString, toString
public RecordDoubleClickEvent(JavaScriptObject jsObj)
public static <S extends HasRecordDoubleClickHandlers & HasHandlers> void fire(S source, JavaScriptObject jsObj)
S
- The event sourcesource
- the source of the handlersjsObj
- the native eventpublic static GwtEvent.Type<RecordDoubleClickHandler> getType()
protected void dispatch(RecordDoubleClickHandler handler)
dispatch
in class GwtEvent<RecordDoubleClickHandler>
public final GwtEvent.Type<RecordDoubleClickHandler> getAssociatedType()
getAssociatedType
in class GwtEvent<RecordDoubleClickHandler>
public void cancel()
cancel
in interface Cancellable
public boolean isCancelled()
isCancelled
in interface Cancellable
public ListGrid getViewer()
public ListGridRecord getRecord()
public int getRecordNum()
public ListGridField getField()
public int getFieldNum()