|
Eclipse Platform Release 3.2 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.swt.dnd.DropTargetAdapter
public class DropTargetAdapter
This adapter class provides default implementations for the
methods described by the DropTargetListener interface.
Classes that wish to deal with DropTargetEvents can
extend this class and override only the methods which they are
interested in.
DropTargetListener,
DropTargetEvent| Constructor Summary | |
|---|---|
DropTargetAdapter()
|
|
| Method Summary | |
|---|---|
void |
dragEnter(DropTargetEvent event)
This implementation of dragEnter permits the default
operation defined in event.detailto be performed on the current data type
defined in event.currentDataType. |
void |
dragLeave(DropTargetEvent event)
This implementation of dragLeave does nothing. |
void |
dragOperationChanged(DropTargetEvent event)
This implementation of dragOperationChanged permits the default
operation defined in event.detailto be performed on the current data type
defined in event.currentDataType. |
void |
dragOver(DropTargetEvent event)
This implementation of dragOver permits the default
operation defined in event.detailto be performed on the current data type
defined in event.currentDataType. |
void |
drop(DropTargetEvent event)
This implementation of drop does nothing. |
void |
dropAccept(DropTargetEvent event)
This implementation of dropAccept permits the default
operation defined in event.detailto 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.detailto be performed on the current data type
defined in event.currentDataType.
For additional information see DropTargetListener.dragEnter.
dragEnter in interface DropTargetListenerevent - the information associated with the drag enter eventDropTargetEventpublic void dragLeave(DropTargetEvent event)
dragLeave does nothing.
For additional information see DropTargetListener.dragOperationChanged.
dragLeave in interface DropTargetListenerevent - the information associated with the drag leave eventDropTargetEventpublic void dragOperationChanged(DropTargetEvent event)
dragOperationChanged permits the default
operation defined in event.detailto be performed on the current data type
defined in event.currentDataType.
For additional information see DropTargetListener.dragOperationChanged.
dragOperationChanged in interface DropTargetListenerevent - the information associated with the drag operation changed eventDropTargetEventpublic void dragOver(DropTargetEvent event)
dragOver permits the default
operation defined in event.detailto be performed on the current data type
defined in event.currentDataType.
For additional information see DropTargetListener.dragOver.
dragOver in interface DropTargetListenerevent - the information associated with the drag over eventDropTargetEventpublic void drop(DropTargetEvent event)
drop does nothing.
For additional information see DropTargetListener.drop.
drop in interface DropTargetListenerevent - the information associated with the drop eventDropTargetEventpublic void dropAccept(DropTargetEvent event)
dropAccept permits the default
operation defined in event.detailto be performed on the current data type
defined in event.currentDataType.
For additional information see DropTargetListener.dropAccept.
dropAccept in interface DropTargetListenerevent - the information associated with the drop accept eventDropTargetEvent
|
Eclipse Platform Release 3.2 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp. and others 2000, 2006. All rights reserved.