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 DragAndDropHandler.DragAndDropCallback
-
Enclosing class:
public static interface DragAndDropHandler.DragAndDropCallback
Callback interface for drag and drop.
-
-
Method Summary
All Methods Modifier and Type Method Description void
onDragCancel()
Called when the drag has been canceled.
void
onDragEnd()
Called after the has ended on a drop or cancel.
boolean
onDragStart(com.google.gwt.user.client.Event e)
Called when the drag has started.
void
onDragUpdate(com.google.gwt.user.client.Event e)
Called on drag.
void
onDrop()
Called when the drag has ended on a drop.
-
-
-
Method Detail
-
onDragStart
boolean onDragStart(com.google.gwt.user.client.Event e)
Called when the drag has started. The drag can be canceled by returning
false
.Parameters:
e
- the original event that started the dragReturns:
true
if the drag is OK to start,false
to cancel
-
onDragUpdate
void onDragUpdate(com.google.gwt.user.client.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.
-
-