Package com.vaadin.client.ui.dd
Interface DragHandle.DragHandleCallback
-
- Enclosing class:
- DragHandle
public static interface DragHandle.DragHandleCallbackCallback interface for the DragHandle event life cycle
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidonCancel()Called when the drag operation has been cancelled (usually by pressing ESC)voidonComplete()Called when the drag operation completes successfullyvoidonStart()Called when dragging startsvoidonUpdate(double deltaX, double deltaY)Called when the drag handle has moved.
-
-
-
Method Detail
-
onStart
void onStart()
Called when dragging starts
-
onUpdate
void onUpdate(double deltaX, double deltaY)Called when the drag handle has moved.- Parameters:
deltaX- change in X direction since startdeltaY- change in Y direction since start
-
onCancel
void onCancel()
Called when the drag operation has been cancelled (usually by pressing ESC)
-
onComplete
void onComplete()
Called when the drag operation completes successfully
-
-