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
 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 start
deltaY - 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



Copyright © 2000-2014 Vaadin Ltd. All Rights Reserved.