public class FolderDropEvent extends BrowserEvent<FolderDropHandler> implements Cancellable
GwtEvent.Type<H>
jsObj
Constructor and Description |
---|
FolderDropEvent(JavaScriptObject jsObj) |
Modifier and Type | Method and Description |
---|---|
void |
cancel()
Call this method to cancel standard folder drop processing
|
protected void |
dispatch(FolderDropHandler handler) |
static <S extends HasFolderDropHandlers & 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<FolderDropHandler> |
getAssociatedType() |
RecordDropPosition |
getDropPosition()
position with respect to the target record
|
TreeNode |
getFolder()
The folder being dropped on
|
java.lang.Integer |
getIndex()
Within the folder being dropped on, the index at which the drop is occurring.
|
TreeNode[] |
getNodes()
List of nodes being dropped
|
Canvas |
getSourceWidget()
The component that is the source of the nodes (where the nodes were dragged from).
|
static GwtEvent.Type<FolderDropHandler> |
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 FolderDropEvent(JavaScriptObject jsObj)
public static <S extends HasFolderDropHandlers & HasHandlers> void fire(S source, JavaScriptObject jsObj)
S
- The event sourcesource
- the source of the handlersjsObj
- the native eventpublic static GwtEvent.Type<FolderDropHandler> getType()
protected void dispatch(FolderDropHandler handler)
dispatch
in class GwtEvent<FolderDropHandler>
public final GwtEvent.Type<FolderDropHandler> getAssociatedType()
getAssociatedType
in class GwtEvent<FolderDropHandler>
public void cancel()
cancel
in interface Cancellable
public boolean isCancelled()
isCancelled
in interface Cancellable
public TreeNode[] getNodes()
public TreeNode getFolder()
public java.lang.Integer getIndex()
public RecordDropPosition getDropPosition()
public Canvas getSourceWidget()