|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.EventObject
org.nakedobjects.viewer.classic.event.dnd.DragDropEvent
| Field Summary | |
static int |
COPY
Indicates the DragDropComponent has been dropped and it should be copied to the new DropDestination location. |
static int |
DRAG
Indicates the start of the drag process when a DragDropComponent is first dragged. |
static int |
DRAG_CANCEL
|
static int |
DRAG_ENTER
Indicates a DragDropComponent has been been entered during dragging. |
static int |
DRAG_EXIT
Indicates a DragDropComponent has been exited during dragging. |
static int |
DRAGGING
Indicates the continued dragging of a DragDropComponent. |
static int |
DROP
Indicates the DragDropComponent has been dropped onto another DragDropComponent. |
static int |
MOVE
Indicates the DragDropComponent has been dropped and it should be move to the new DragDropComponent location. |
static int |
VACANT_DROP
Indicates a DragDropComponent has been dropped into an empty space - outside of a DropDestination. |
| Fields inherited from class java.util.EventObject |
source |
| Constructor Summary | |
DragDropEvent(int action,
int modifiers,
DragSource dragSource,
DropDestination dropDestination,
java.awt.Point location)
|
|
| Method Summary | |
int |
getAction()
Returns the drag/drop action that has taken place. |
DragSource |
getDragSource()
Returns the component that is being dragged. |
DropDestination |
getDropDestination()
Returns the component being dropped onto. |
java.awt.Point |
getLocationInDestination()
Returns the mouse position within the destination Component. |
java.awt.Point |
getLocationInSource()
Returns the mouse position within the source Component. |
java.awt.Point |
getLocationOnScreen()
|
int |
getModifiers()
Returns the modifier which indicates which buttons and keys where used when issuing the gesture. |
java.lang.String |
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 static final int DRAG
public static final int DRAGGING
public static final int MOVE
public static final int COPY
public static final int DROP
public static final int VACANT_DROP
public static final int DRAG_ENTER
public static final int DRAG_EXIT
public static final int DRAG_CANCEL
| Constructor Detail |
public DragDropEvent(int action,
int modifiers,
DragSource dragSource,
DropDestination dropDestination,
java.awt.Point location)
| Method Detail |
public int getAction()
public DragSource getDragSource()
public DropDestination getDropDestination()
public java.awt.Point getLocationInDestination()
public java.awt.Point getLocationInSource()
public java.awt.Point getLocationOnScreen()
public int getModifiers()
InputEventpublic java.lang.String toString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||