|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.util.EventObject | +--org.eclipse.swt.internal.SWTEventObject | +--org.eclipse.swt.events.TypedEvent | +--org.eclipse.swt.dnd.DropTargetEvent
Untamed:
Field Summary | |
TransferData |
currentDataType
Enabled: The type of data that will be dropped. |
TransferData[] |
dataTypes
Enabled: A list of the types of data that the DragSource is capable of providing. |
int |
detail
Enabled: The operation being performed. |
int |
feedback
Enabled: A bitwise OR'ing of the drag under effect feedback to be displayed to the user (e.g. |
Widget |
item
Enabled: If the associated control is a table or tree, this field contains the item located at the cursor coordinates. |
int |
operations
Enabled: A bitwise OR'ing of the operations that the DragSource can support (e.g. |
int |
x
Enabled: The x-cordinate of the cursor relative to the Display |
int |
y
Enabled: The y-cordinate of the cursor relative to the Display |
Fields inherited from class org.eclipse.swt.events.TypedEvent |
data, display, time, widget |
Fields inherited from class java.util.EventObject |
source |
Constructor Summary | |
DropTargetEvent(DNDEvent e)
Enabled: Constructs a new instance of this class based on the information in the given untyped event. |
Method Summary | |
Object |
getDropData()
Added: Works around the fact that we've suppressed 'data' in DropTargetEvent's superclass, TypedEvent. |
(package private) void |
updateEvent(DNDEvent e)
|
Methods inherited from class java.util.EventObject |
getSource, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public int x
Display
public int y
Display
public int detail
DND.DROP_NONE
,
DND.DROP_MOVE
,
DND.DROP_COPY
,
DND.DROP_LINK
public int operations
DND.DROP_NONE
,
DND.DROP_MOVE
,
DND.DROP_COPY
,
DND.DROP_LINK
public int feedback
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.
DND.FEEDBACK_SELECT
,
DND.FEEDBACK_INSERT_BEFORE
,
DND.FEEDBACK_INSERT_AFTER
,
DND.FEEDBACK_SCROLL
,
DND.FEEDBACK_EXPAND
public Widget item
public TransferData currentDataType
public TransferData[] dataTypes
Constructor Detail |
public DropTargetEvent(DNDEvent e)
e
- the untyped event containing the informationMethod Detail |
void updateEvent(DNDEvent e)
public Object getDropData()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |