Package com.vaadin.client.ui.dd
Interface DragAndDropHandler.DragAndDropCallback
-
- Enclosing class:
- DragAndDropHandler
public static interface DragAndDropHandler.DragAndDropCallbackCallback interface for drag and drop.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidonDragCancel()Called when the drag has been canceled.voidonDragEnd()Called after the has ended on a drop or cancel.booleanonDragStart(com.google.gwt.user.client.Event e)Called when the drag has started.voidonDragUpdate(com.google.gwt.user.client.Event e)Called on drag.voidonDrop()Called when the drag has ended on a drop.
-
-
-
Method Detail
-
onDragStart
boolean onDragStart(com.google.gwt.user.client.Event e)
Called when the drag has started. The drag can be canceled by returningfalse.- Parameters:
e- the original event that started the drag- Returns:
trueif the drag is OK to start,falseto cancel
-
onDragUpdate
void onDragUpdate(com.google.gwt.user.client.Event e)
Called on drag.- Parameters:
e- the event related to the drag
-
onDragEnd
void onDragEnd()
Called after the has ended on a drop or cancel.
-
onDrop
void onDrop()
Called when the drag has ended on a drop.
-
onDragCancel
void onDragCancel()
Called when the drag has been canceled.
-
-