|
Eclipse Rich Ajax Platform Release 1.3 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object Event 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. |
static int |
DRAG_ENTER
|
static int |
DRAG_LEAVE
|
static int |
DRAG_OPERATION_CHANGED
|
static int |
DRAG_OVER
|
static int |
DROP
|
static int |
DROP_ACCEPT
|
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 |
time
the time that the event occurred. |
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, widget |
Constructor Summary | |
DropTargetEvent(Widget widget,
int id)
|
Method Summary | |
static void |
addListener(Adaptable adaptable,
DropTargetListener listener)
|
protected boolean |
allowProcessing()
|
protected void |
dispatchToObserver(Object listener)
|
static Object[] |
getListeners(Adaptable adaptable)
|
protected Class |
getListenerType()
|
static boolean |
hasListener(Adaptable adaptable)
|
static void |
removeListener(Adaptable adaptable,
DropTargetListener listener)
|
String |
toString()
|
Methods inherited from class org.eclipse.swt.events.TypedEvent |
executeNext, getSource, processEvent, processScheduledEvents |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final int DRAG_ENTER
public static final int DRAG_OVER
public static final int DRAG_LEAVE
public static final int DROP_ACCEPT
public static final int DROP
public static final int DRAG_OPERATION_CHANGED
public int x
Display
public int y
Display
public int detail
DND.DROP_NONE
,
DND.DROP_MOVE
,
DND.DROP_COPY
,
DND.DROP_LINK
,
DND.DROP_DEFAULT
public int operations
DND.DROP_NONE
,
DND.DROP_MOVE
,
DND.DROP_COPY
,
DND.DROP_LINK
,
DND.DROP_DEFAULT
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_NONE
,
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
public int time
Constructor Detail |
public DropTargetEvent(Widget widget, int id)
Method Detail |
public String toString()
toString
in class TypedEvent
protected void dispatchToObserver(Object listener)
dispatchToObserver
in class TypedEvent
protected boolean allowProcessing()
allowProcessing
in class TypedEvent
protected Class getListenerType()
getListenerType
in class TypedEvent
public static boolean hasListener(Adaptable adaptable)
public static void addListener(Adaptable adaptable, DropTargetListener listener)
public static void removeListener(Adaptable adaptable, DropTargetListener listener)
public static Object[] getListeners(Adaptable adaptable)
|
Eclipse Rich Ajax Platform Release 1.3 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright (c) Innoopract Informationssysteme GmbH and others 2002, 2011. All rights reserved.