public class RecordDoubleClickEvent extends BrowserEvent<RecordDoubleClickHandler> implements Cancellable
jsObj
Constructor and Description |
---|
RecordDoubleClickEvent(com.google.gwt.core.client.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 & com.google.gwt.event.shared.HasHandlers> |
fire(S source,
com.google.gwt.core.client.JavaScriptObject jsObj)
Fires a open event on all registered handlers in the handler manager.If no
such handlers exist, this method will do nothing.
|
com.google.gwt.event.shared.GwtEvent.Type<RecordDoubleClickHandler> |
getAssociatedType() |
ListGridRecord |
getEditedRecord()
the clicked record with any unsaved edit values overlaid (see
listGrid.getEditedRecord() ). |
ListGridField |
getField()
the field that was clicked on (field definition)
|
int |
getFieldNum()
number of the field clicked on in the listGrid.fields array
|
Canvas |
getFiringCanvas()
Returns the
Canvas firing the event. |
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 com.google.gwt.event.shared.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
getFiringInstanceAsJavaScriptObject
assertLive, getSource, isLive, kill, revive
public RecordDoubleClickEvent(com.google.gwt.core.client.JavaScriptObject jsObj)
public Canvas getFiringCanvas()
Canvas
firing the event.public static <S extends HasRecordDoubleClickHandlers & com.google.gwt.event.shared.HasHandlers> void fire(S source, com.google.gwt.core.client.JavaScriptObject jsObj)
S
- The event sourcesource
- the source of the handlersjsObj
- the native eventpublic static com.google.gwt.event.shared.GwtEvent.Type<RecordDoubleClickHandler> getType()
protected void dispatch(RecordDoubleClickHandler handler)
dispatch
in class com.google.gwt.event.shared.GwtEvent<RecordDoubleClickHandler>
public final com.google.gwt.event.shared.GwtEvent.Type<RecordDoubleClickHandler> getAssociatedType()
getAssociatedType
in class com.google.gwt.event.shared.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()
public ListGridRecord getEditedRecord()
listGrid.getEditedRecord()
).listGrid.getEditedRecord()
).