public interface DragHandler
extends java.util.EventListener
EventListener
interface for drag-and-drop events.Modifier and Type | Method and Description |
---|---|
void |
onDragEnd(DragEndEvent event)
Fired when drag operation terminates.
|
void |
onDragStart(DragStartEvent event)
Fired when drag is initiated.
|
void |
onPreviewDragEnd(DragEndEvent event)
Fired before
onDragEnd(DragEndEvent) is fired and provides an opportunity for any
registered DragHandler to throw VetoDragException to prevent the operation. |
void |
onPreviewDragStart(DragStartEvent event)
Fired before
onDragStart(DragStartEvent) is fired and provides an opportunity for any
registered DragHandler to throw VetoDragException to prevent the operation. |
void onDragEnd(DragEndEvent event)
event
- an event object containing information about the drag operationvoid onDragStart(DragStartEvent event)
event
- an event object containing information about the drag operationvoid onPreviewDragEnd(DragEndEvent event) throws VetoDragException
onDragEnd(DragEndEvent)
is fired and provides an opportunity for any
registered DragHandler to throw VetoDragException
to prevent the operation.event
- an event object containing information about the drag operationVetoDragException
- when the drag operation is unacceptablevoid onPreviewDragStart(DragStartEvent event) throws VetoDragException
onDragStart(DragStartEvent)
is fired and provides an opportunity for any
registered DragHandler to throw VetoDragException
to prevent the operation.event
- an event object containing information about the drag operationVetoDragException
- when the drag operation is unacceptable