|
Eclipse Platform Release 3.0 | ||||||||||
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
The DropTargetEvent contains the event information passed in the methods of the DropTargetListener.
Field Summary | |
TransferData | currentDataType
The type of data that will be dropped. |
TransferData[] | dataTypes
A list of the types of data that the DragSource is capable of providing. |
int | detail
The operation being performed. |
int | feedback
A bitwise OR'ing of the drag under effect feedback to be displayed to the user (e.g. |
Widget | item
If the associated control is a table or tree, this field contains the item located at the cursor coordinates. |
int | operations
A bitwise OR'ing of the operations that the DragSource can support (e.g. |
int | x
The x-cordinate of the cursor relative to the Display |
int | y
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(org.eclipse.swt.dnd.DNDEvent e)
Constructs a new instance of this class based on the information in the given untyped event. |
Methods inherited from class org.eclipse.swt.events.TypedEvent |
toString |
Methods inherited from class java.util.EventObject |
getSource |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public int x
public int y
public int detail
public int operations
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.
public Widget item
public TransferData currentDataType
public TransferData[] dataTypes
Constructor Detail |
public DropTargetEvent(org.eclipse.swt.dnd.DNDEvent e)
|
Eclipse Platform Release 3.0 | ||||||||||
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, 2004. All rights reserved.