public static interface DragHandle.DragHandleCallback
Modifier and Type | Method and 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.
|
void onStart()
void onUpdate(double deltaX, double deltaY)
deltaX
- change in X direction since startdeltaY
- change in Y direction since startvoid onCancel()
void onComplete()
Copyright © 2019 Vaadin Ltd. All rights reserved.