| Modifier and Type | Field and Description |
|---|---|
| public TransferData | currentDataType
The type of data that will be dropped. |
| public TransferData[] | dataTypes
A list of the types of data that the DragSource is capable of providing. |
| public int | detail
The operation being performed. |
| public int | feedback
A bitwise OR'ing of the drag under effect feedback to be displayed to the user (e.g. DND.FEEDBACK_SELECT | DND.FEEDBACK_SCROLL | DND.FEEDBACK_EXPAND). |
| public Widget | item
If the associated control is a table or tree, this field contains the item located at the cursor coordinates. |
| public int | operations
A bitwise OR'ing of the operations that the DragSource can support (e.g. DND.DROP_MOVE | DND.DROP_COPY | DND.DROP_LINK). |
| pack-priv static final long | |
| public int | x
The x-cordinate of the cursor relative to the |
| public int | y
The y-cordinate of the cursor relative to the |
| Access | Constructor and Description |
|---|---|
| public | DropTargetEvent(DNDEvent
the untyped event containing the information e)Constructs a new instance of this class based on the information in the given untyped event. |
| Modifier and Type | Method and Description |
|---|---|
| public String | Returns: a string representation of the eventOverrides org. |
| pack-priv void |
| currentDataType | back to summary |
|---|---|
| public TransferData currentDataType The type of data that will be dropped. | |
| dataTypes | back to summary |
|---|---|
| public TransferData[] dataTypes A list of the types of data that the DragSource is capable of providing. The currentDataType must be a member of this list. | |
| detail | back to summary |
|---|---|
| public int detail The operation being performed.
| |
| feedback | back to summary |
|---|---|
| public int feedback A bitwise OR'ing of the drag under effect feedback to be displayed to the user (e.g. DND.FEEDBACK_SELECT | DND.FEEDBACK_SCROLL | DND.FEEDBACK_EXPAND). A value of DND.FEEDBACK_NONE indicates that no drag under effect will be displayed. Feedback effects will only be applied if they are applicable. The default value is DND.FEEDBACK_SELECT. | |
| item | back to summary |
|---|---|
| public Widget item If the associated control is a table or tree, this field contains the item located at the cursor coordinates. | |
| operations | back to summary |
|---|---|
| public int operations A bitwise OR'ing of the operations that the DragSource can support (e.g. DND.DROP_MOVE | DND.DROP_COPY | DND.DROP_LINK). The detail value must be a member of this list or DND.DROP_NONE.
| |
| serialVersionUID | back to summary |
|---|---|
| pack-priv static final long serialVersionUID | |
| x | back to summary |
|---|---|
| public int x The x-cordinate of the cursor relative to the | |
| y | back to summary |
|---|---|
| public int y The y-cordinate of the cursor relative to the | |
| DropTargetEvent | back to summary |
|---|---|
| public DropTargetEvent(DNDEvent e) Constructs a new instance of this class based on the information in the given untyped event.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides org. Returns a string containing a concise, human-readable description of the receiver. | |
| updateEvent | back to summary |
|---|---|
| pack-priv void updateEvent(DNDEvent e) | |