public class DragSourceAdapter extends java.lang.Object implements DragSourceListener
DragSourceListener
interface.
Classes that wish to deal with DragSourceEvent
s can
extend this class and override only the methods which they are
interested in.
Constructor and Description |
---|
DragSourceAdapter() |
Modifier and Type | Method and Description |
---|---|
void |
dragFinished(DragSourceEvent event)
This implementation of
dragFinished does nothing. |
void |
dragSetData(DragSourceEvent event)
This implementation of
dragSetData does nothing. |
void |
dragStart(DragSourceEvent event)
This implementation of
dragStart permits the drag operation to start. |
public void dragStart(DragSourceEvent event)
dragStart
permits the drag operation to start.
For additional information see DragSourceListener.dragStart
.dragStart
in interface DragSourceListener
event
- the information associated with the drag start eventDragSourceEvent
public void dragFinished(DragSourceEvent event)
dragFinished
does nothing.
For additional information see DragSourceListener.dragFinished
.dragFinished
in interface DragSourceListener
event
- the information associated with the drag finished eventDragSourceEvent
public void dragSetData(DragSourceEvent event)
dragSetData
does nothing.
For additional information see DragSourceListener.dragSetData
.dragSetData
in interface DragSourceListener
event
- the information associated with the drag set data eventDragSourceEvent