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)
DragAndDropListener
onDragDetected
in interface DragAndDropListener
public void onDragEnter(DragEvent event)
onDragEnter
in interface DragAndDropListener
public void onDragExit(DragEvent event)
onDragExit
in interface DragAndDropListener
public abstract void onDragOver(DragEvent event)
DragAndDropListener
onDragOver
in interface DragAndDropListener
public abstract void onDrop(DragEvent event)
DragAndDropListener
onDrop
in interface DragAndDropListener
public abstract void onDragDone(DragEvent event)
DragAndDropListener
onDragDone
in interface DragAndDropListener