|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.eclipse.swt.dnd.DropTargetAdapter
Untamed: This adapter class provides default implementations for the
methods described by the DropTargetListener
interface.
Classes that wish to deal with DropTargetEvent
s can
extend this class and override only the methods which they are
interested in.
DropTargetListener
,
DropTargetEvent
Constructor Summary | |
DropTargetAdapter()
Enabled: |
Method Summary | |
void |
dragEnter(DropTargetEvent event)
Enabled: This implementation of dragEnter permits the default
operation defined in event.detail to be performed on the current data type
defined in event.currentDataType . |
void |
dragLeave(DropTargetEvent event)
Enabled: This implementation of dragLeave does nothing. |
void |
dragOperationChanged(DropTargetEvent event)
Enabled: This implementation of dragOperationChanged permits the default
operation defined in event.detail to be performed on the current data type
defined in event.currentDataType . |
void |
dragOver(DropTargetEvent event)
Enabled: This implementation of dragOver permits the default
operation defined in event.detail to be performed on the current data type
defined in event.currentDataType . |
void |
drop(DropTargetEvent event)
Enabled: This implementation of drop does nothing. |
void |
dropAccept(DropTargetEvent event)
Enabled: This implementation of dropAccept permits the default
operation defined in event.detail to be performed on the current data type
defined in event.currentDataType . |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DropTargetAdapter()
Method Detail |
public void dragEnter(DropTargetEvent event)
dragEnter
permits the default
operation defined in event.detail
to be performed on the current data type
defined in event.currentDataType
.
For additional information see DropTargetListener.dragEnter
.
dragEnter
in interface DropTargetListener
event
- the information associated with the drag enter eventDropTargetEvent
public void dragLeave(DropTargetEvent event)
dragLeave
does nothing.
For additional information see DropTargetListener.dragOperationChanged
.
dragLeave
in interface DropTargetListener
event
- the information associated with the drag leave eventDropTargetEvent
public void dragOperationChanged(DropTargetEvent event)
dragOperationChanged
permits the default
operation defined in event.detail
to be performed on the current data type
defined in event.currentDataType
.
For additional information see DropTargetListener.dragOperationChanged
.
dragOperationChanged
in interface DropTargetListener
event
- the information associated with the drag operation changed eventDropTargetEvent
public void dragOver(DropTargetEvent event)
dragOver
permits the default
operation defined in event.detail
to be performed on the current data type
defined in event.currentDataType
.
For additional information see DropTargetListener.dragOver
.
dragOver
in interface DropTargetListener
event
- the information associated with the drag over eventDropTargetEvent
public void drop(DropTargetEvent event)
drop
does nothing.
For additional information see DropTargetListener.drop
.
drop
in interface DropTargetListener
event
- the information associated with the drop eventDropTargetEvent
public void dropAccept(DropTargetEvent event)
dropAccept
permits the default
operation defined in event.detail
to be performed on the current data type
defined in event.currentDataType
.
For additional information see DropTargetListener.dropAccept
.
dropAccept
in interface DropTargetListener
event
- the information associated with the drop accept eventDropTargetEvent
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |