public class FolderDropEvent extends BrowserEvent<FolderDropHandler> implements Cancellable
jsObj
Constructor and Description |
---|
FolderDropEvent(com.google.gwt.core.client.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 & 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<FolderDropHandler> |
getAssociatedType() |
RecordDropPosition |
getDropPosition()
position with respect to the target record
|
Canvas |
getFiringCanvas()
Returns the
Canvas firing the event. |
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 com.google.gwt.event.shared.GwtEvent.Type<FolderDropHandler> |
getType()
Gets the type associated with this event.
|
boolean |
isCancelled() |
getX, getY, isAltKeyDown, isCtrlKeyDown, isLeftButtonDown, isRightButtonDown
getFiringInstanceAsJavaScriptObject
assertLive, getSource, isLive, kill, revive
public FolderDropEvent(com.google.gwt.core.client.JavaScriptObject jsObj)
public Canvas getFiringCanvas()
Canvas
firing the event.public static <S extends HasFolderDropHandlers & 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<FolderDropHandler> getType()
protected void dispatch(FolderDropHandler handler)
dispatch
in class com.google.gwt.event.shared.GwtEvent<FolderDropHandler>
public final com.google.gwt.event.shared.GwtEvent.Type<FolderDropHandler> getAssociatedType()
getAssociatedType
in class com.google.gwt.event.shared.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()