Package com.vaadin.client.ui.dd
Interface DragHandle.DragHandleCallback
-
- Enclosing class:
- DragHandle
public static interface DragHandle.DragHandleCallback
Callback interface for the DragHandle event life cycle.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
onCancel()
Called when the drag operation has been cancelled (usually by pressing ESC).void
onComplete()
Called when the drag operation completes successfully.void
onStart()
Called when dragging starts.void
onUpdate(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.
-
-