public abstract class AbstractDragAndDropListener extends java.lang.Object implements DragAndDropListener
| Constructor and Description |
|---|
AbstractDragAndDropListener() |
| Modifier and Type | Method and Description |
|---|---|
abstract Draggable |
onDragDetected(DragEvent event)
Called when the drag gesture is first detected by the
drag container.
|
abstract void |
onDragDone(DragEvent event)
Called on listeners on the SOUCE container when the drag operation
is completed, regardless of whether the drop was successful.
|
void |
onDragEnter(DragEvent event)
Default implementation does nothing.
|
void |
onDragExit(DragEvent event)
Default implementation does nothing.
|
abstract void |
onDragOver(DragEvent event)
Called for all draggable motion over the drag-and-drop container
to which this listener is listening.
|
abstract void |
onDrop(DragEvent event)
Called on listeners on the TARGET container when a drag operation
is completed and the drag status at the time was DragStatus.ValidTarget.
|
public abstract Draggable onDragDetected(DragEvent event)
DragAndDropListeneronDragDetected in interface DragAndDropListenerpublic void onDragEnter(DragEvent event)
onDragEnter in interface DragAndDropListenerpublic void onDragExit(DragEvent event)
onDragExit in interface DragAndDropListenerpublic abstract void onDragOver(DragEvent event)
DragAndDropListeneronDragOver in interface DragAndDropListenerpublic abstract void onDrop(DragEvent event)
DragAndDropListeneronDrop in interface DragAndDropListenerpublic abstract void onDragDone(DragEvent event)
DragAndDropListeneronDragDone in interface DragAndDropListener