

| 字段摘要 | |
|---|---|
String |
DROP_COPY
|
String |
DROP_LINK
|
String |
DROP_MOVE
|
String |
DROP_NONE
|
String |
label(标签)
|
String |
name(名称)
|
| 方法摘要 | |
|---|---|
|
create
|
| 子事物摘要 | ||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
DropTargetEffect
|
|||||||||||||||||||||||||||||||||||
|
DropTargetListener
create
DropTargetEffect
| |||||||||||||||||||||||||||||||||||
void |
dragEnter(DropTargetEvent event) The cursor has entered the drop target boundaries. |
void |
dragLeave(DropTargetEvent event) The cursor has left the drop target boundaries OR the drop has been cancelled OR the data is about to be dropped. |
void |
dragOperationChanged(DropTargetEvent event) The operation being performed has changed (usually due to the user changing the selected modifier key(s) while dragging). |
void |
dragOver(DropTargetEvent event) The cursor is moving over the drop target. |
void |
drop(DropTargetEvent event) The data is being dropped. |
void |
dropAccept(DropTargetEvent event) The drop is about to be performed. |

void |
dragEnter(DropTargetEvent event) The cursor has entered the drop target boundaries. |
void |
dragLeave(DropTargetEvent event) The cursor has left the drop target boundaries OR the drop has been cancelled OR the data is about to be dropped. |
void |
dragOperationChanged(DropTargetEvent event) The operation being performed has changed (usually due to the user changing the selected modifier key(s) while dragging). |
void |
dragOver(DropTargetEvent event) The cursor is moving over the drop target. |
void |
drop(DropTargetEvent event) The data is being dropped. |
void |
dropAccept(DropTargetEvent event) The drop is about to be performed. |

Transfer provides a mechanism for converting between a java representation of data and a platform specific representation of data and vice versa. It is used in data transfer operations such as drag and drop and clipboard copy/paste.
You should only need to become familiar with this class if you are implementing a Transfer subclass and you are unable to subclass the ByteArrayTransfer class.