Package org.eclipse.swt.dnd
Class DragSourceAdapter
java.lang.Object
org.eclipse.swt.dnd.DragSourceAdapter
- All Implemented Interfaces:
DragSourceListener
- Direct Known Subclasses:
DragSourceEffect
This adapter class provides default implementations for the
methods described by the
DragSourceListener
interface.
Classes that wish to deal with DragSourceEvent
s can
extend this class and override only the methods which they are
interested in.
- Since:
- 1.3
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
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.
-
Constructor Details
-
DragSourceAdapter
public DragSourceAdapter()
-
-
Method Details
-
dragStart
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:
-
dragFinished
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:
-
dragSetData
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:
-