public class RecordDropEvent extends BrowserEvent<RecordDropHandler> implements Cancellable
jsObj
Constructor and Description |
---|
RecordDropEvent(com.google.gwt.core.client.JavaScriptObject jsObj) |
Modifier and Type | Method and Description |
---|---|
void |
cancel()
Call this method to cancel the default record drop handling
|
protected void |
dispatch(RecordDropHandler handler) |
static <S extends HasRecordDropHandlers & 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<RecordDropHandler> |
getAssociatedType() |
RecordDropPosition |
getDropPosition()
position with respect to the target record
|
ListGridRecord[] |
getDropRecords()
records being dropped
|
int |
getIndex()
index of record being dropped on
|
Canvas |
getSourceWidget()
widget where dragging began
|
ListGridRecord |
getTargetRecord()
record being dropped on.
|
static com.google.gwt.event.shared.GwtEvent.Type<RecordDropHandler> |
getType()
Gets the type associated with this event.
|
boolean |
isCancelled() |
getX, getY, isAltKeyDown, isCtrlKeyDown, isLeftButtonDown, isRightButtonDown
assertLive, getSource, isLive, kill, revive
public RecordDropEvent(com.google.gwt.core.client.JavaScriptObject jsObj)
public static <S extends HasRecordDropHandlers & 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<RecordDropHandler> getType()
protected void dispatch(RecordDropHandler handler)
dispatch
in class com.google.gwt.event.shared.GwtEvent<RecordDropHandler>
public final com.google.gwt.event.shared.GwtEvent.Type<RecordDropHandler> getAssociatedType()
getAssociatedType
in class com.google.gwt.event.shared.GwtEvent<RecordDropHandler>
public void cancel()
cancel
in interface Cancellable
public boolean isCancelled()
isCancelled
in interface Cancellable
public ListGridRecord[] getDropRecords()
public ListGridRecord getTargetRecord()
public int getIndex()
public RecordDropPosition getDropPosition()
public Canvas getSourceWidget()