Package org.eclipse.swt.dnd
Class DragSourceAdapter
- java.lang.Object
-
- org.eclipse.swt.dnd.DragSourceAdapter
-
- All Implemented Interfaces:
EventListener
,DragSourceListener
,SWTEventListener
- Direct Known Subclasses:
CommonDragAdapter
,DragSourceEffect
,NavigatorDragAdapter
public class DragSourceAdapter extends Object implements DragSourceListener
This adapter class provides default implementations for the methods described by theDragSourceListener
interface.Classes that wish to deal with
DragSourceEvent
s can extend this class and override only the methods which they are interested in.
-
-
Constructor Summary
Constructors Constructor Description DragSourceAdapter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
dragFinished(DragSourceEvent event)
This implementation ofdragFinished
does nothing.void
dragSetData(DragSourceEvent event)
This implementation ofdragSetData
does nothing.void
dragStart(DragSourceEvent event)
This implementation ofdragStart
permits the drag operation to start.
-
-
-
Method Detail
-
dragStart
public void dragStart(DragSourceEvent event)
This implementation ofdragStart
permits the drag operation to start. For additional information seeDragSourceListener.dragStart
.- Specified by:
dragStart
in interfaceDragSourceListener
- Parameters:
event
- the information associated with the drag start event- See Also:
DragSourceEvent
-
dragFinished
public void dragFinished(DragSourceEvent event)
This implementation ofdragFinished
does nothing. For additional information seeDragSourceListener.dragFinished
.- Specified by:
dragFinished
in interfaceDragSourceListener
- Parameters:
event
- the information associated with the drag finished event- See Also:
DragSourceEvent
-
dragSetData
public void dragSetData(DragSourceEvent event)
This implementation ofdragSetData
does nothing. For additional information seeDragSourceListener.dragSetData
.- Specified by:
dragSetData
in interfaceDragSourceListener
- Parameters:
event
- the information associated with the drag set data event- See Also:
DragSourceEvent
-
-