We use cookies to serve our customers and website visitors in the best possible way. Cookies are used for the proper functioning of the website and for improving the user experience, monitoring visitor traffic and marketing purposes. By continuing to browse the site, you agree to our use of cookies. You can read more about cookies here.
com.vaadin.client.ui.dd.
Interface DragHandle.DragHandleCallback
-
Enclosing class:
public static interface DragHandle.DragHandleCallback
Callback interface for the DragHandle event life cycle.
-
-
Method Summary
All 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.
-
-