Package org.eclipse.swt.dnd
Class DragSourceAdapter
- java.lang.Object
-
- org.eclipse.swt.dnd.DragSourceAdapter
-
- All Implemented Interfaces:
DragSourceListener
- Direct Known Subclasses:
DragSourceEffect
public class DragSourceAdapter extends java.lang.Object implements DragSourceListener
This adapter class provides default implementations for the methods described by theDragSourceListenerinterface.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:
DragSourceListener,DragSourceEvent
-
-
Constructor Summary
Constructors Constructor Description DragSourceAdapter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddragFinished(DragSourceEvent event)This implementation ofdragFinisheddoes nothing.voiddragSetData(DragSourceEvent event)This implementation ofdragSetDatadoes nothing.voiddragStart(DragSourceEvent event)This implementation ofdragStartpermits the drag operation to start.
-
-
-
Method Detail
-
dragStart
public void dragStart(DragSourceEvent event)
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:
DragSourceEvent
-
dragFinished
public void dragFinished(DragSourceEvent event)
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:
DragSourceEvent
-
dragSetData
public void dragSetData(DragSourceEvent event)
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:
DragSourceEvent
-
-