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 DragSourceEvents can
extend this class and override only the methods which they are
interested in.
- Since:
- 1.3
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddragFinished(DragSourceEvent event) This implementation ofdragFinisheddoes nothing.voiddragSetData(DragSourceEvent event) This implementation ofdragSetDatadoes nothing.voiddragStart(DragSourceEvent event) This implementation ofdragStartpermits the drag operation to start.
-
Constructor Details
-
DragSourceAdapter
public DragSourceAdapter()
-
-
Method Details
-
dragStart
This implementation ofdragStartpermits the drag operation to start. For additional information seeDragSourceListener.dragStart.- Specified by:
dragStartin interfaceDragSourceListener- Parameters:
event- the information associated with the drag start event- See Also:
-
dragFinished
This implementation ofdragFinisheddoes nothing. For additional information seeDragSourceListener.dragFinished.- Specified by:
dragFinishedin interfaceDragSourceListener- Parameters:
event- the information associated with the drag finished event- See Also:
-
dragSetData
This implementation ofdragSetDatadoes nothing. For additional information seeDragSourceListener.dragSetData.- Specified by:
dragSetDatain interfaceDragSourceListener- Parameters:
event- the information associated with the drag set data event- See Also:
-