Top Description Constructors Methods
org.eclipse.swt.dnd

public Class DragSourceAdapter

extends Object
implements DragSourceListener
Class Inheritance
All Implemented Interfaces
org.eclipse.swt.dnd.DragSourceListener, org.eclipse.swt.internal.SWTEventListener, java.util.EventListener
Known Direct Subclasses
org.eclipse.swt.dnd.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.

See Also
DragSourceListener, DragSourceEvent, Sample code and further information

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public void
dragFinished(DragSourceEvent
the information associated with the drag finished event
event
)

Implements org.eclipse.swt.dnd.DragSourceListener.dragFinished.

This implementation of dragFinished does nothing.
public void
dragSetData(DragSourceEvent
the information associated with the drag set data event
event
)

Implements org.eclipse.swt.dnd.DragSourceListener.dragSetData.

This implementation of dragSetData does nothing.
public void
dragStart(DragSourceEvent
the information associated with the drag start event
event
)

Implements org.eclipse.swt.dnd.DragSourceListener.dragStart.

This implementation of dragStart permits the drag operation to start.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

DragSourceAdapterback to summary
public DragSourceAdapter()

Method Detail

dragFinishedback to summary
public void dragFinished(DragSourceEvent event)

Implements org.eclipse.swt.dnd.DragSourceListener.dragFinished.

This implementation of dragFinished does nothing. For additional information see DragSourceListener.dragFinished.

Parameters
event:DragSourceEvent

the information associated with the drag finished event

Annotations
@Override
dragSetDataback to summary
public void dragSetData(DragSourceEvent event)

Implements org.eclipse.swt.dnd.DragSourceListener.dragSetData.

This implementation of dragSetData does nothing. For additional information see DragSourceListener.dragSetData.

Parameters
event:DragSourceEvent

the information associated with the drag set data event

Annotations
@Override
dragStartback to summary
public void dragStart(DragSourceEvent event)

Implements org.eclipse.swt.dnd.DragSourceListener.dragStart.

This implementation of dragStart permits the drag operation to start. For additional information see DragSourceListener.dragStart.

Parameters
event:DragSourceEvent

the information associated with the drag start event

Annotations
@Override