com.vaadin.client.ui.dd
Interface DragAndDropHandler.DragAndDropCallback

Enclosing class:
DragAndDropHandler

public static interface DragAndDropHandler.DragAndDropCallback

Callback interface for drag and drop.


Method Summary
 void onDragCancel()
          Called when the drag has been canceled.
 void onDragEnd()
          Called after the has ended on a drop or cancel.
 boolean onDragStart(Event e)
          Called when the drag has started.
 void onDragUpdate(Event e)
          Called on drag.
 void onDrop()
          Called when the drag has ended on a drop.
 

Method Detail

onDragStart

boolean onDragStart(Event e)
Called when the drag has started. The drag can be canceled by returning false.

Parameters:
e - the original event that started the drag
Returns:
true if the drag is OK to start, false to cancel

onDragUpdate

void onDragUpdate(Event e)
Called on drag.

Parameters:
e - the event related to the drag

onDragEnd

void onDragEnd()
Called after the has ended on a drop or cancel.


onDrop

void onDrop()
Called when the drag has ended on a drop.


onDragCancel

void onDragCancel()
Called when the drag has been canceled.



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