xworker.swt.dnd.DropTarget
事物 DropTarget(DropTarget)点击打开事物点击浏览描述

描述者:
MetaDescriptor3
thing

Class DropTarget defines the target object for a drag and drop transfer.

字段摘要
           String DROP_COPY
           
           String DROP_LINK
           
           String DROP_MOVE
           
           String DROP_NONE
           
           String label(标签)
           
           String name(名称)
           
 
方法摘要
           create
          
 
子事物摘要
           DropTargetEffect
          
           DropTargetListener
          
void dragEnter(DropTargetEvent event)
           Listener
          
void dragEnter(DropTargetEvent event)
           Transfer
          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.
 
字段详细信息

DROP_COPY点击打开事物


DROP_LINK点击打开事物


DROP_MOVE点击打开事物


DROP_NONE点击打开事物


label(标签)点击打开事物


name(名称)点击打开事物


 
方法详细信息

create


 
子事物详细信息

DropTargetEffect点击打开事物


DropTargetListener点击打开事物

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.


Listener点击打开事物

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点击打开事物

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.