|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Handles the drag and drop of a DockingWindow
. Note the the drag operation MUST be terminated using either
abortDrag()
or dropWindow(MouseEvent)
.
Method Summary | |
void |
abortDrag()
Aborts this drag operation. |
void |
dragWindow(MouseEvent mouseEvent)
Drags the window to a new location. |
void |
dropWindow(MouseEvent mouseEvent)
Drops the window at the specified location. |
DockingWindow |
getDragWindow()
The window that is dragged and dropped. |
RootWindow |
getDropTarget()
Returns the RootWindow where the window can be dropped. |
Method Detail |
public RootWindow getDropTarget()
RootWindow
where the window can be dropped.
RootWindow
where the window can be droppedpublic DockingWindow getDragWindow()
public void dragWindow(MouseEvent mouseEvent)
RootWindow
in where it should be
dropped, see getDropTarget()
.
mouseEvent
- the mouse event that caused the dragpublic void abortDrag()
public void dropWindow(MouseEvent mouseEvent)
mouseEvent
- the mouse event that caused the drop
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |