|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DockingWindowDragger
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(java.awt.event.MouseEvent mouseEvent)
Drags the window to a new location. |
void |
dropWindow(java.awt.event.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 |
---|
RootWindow getDropTarget()
RootWindow
where the window can be dropped.
RootWindow
where the window can be droppedDockingWindow getDragWindow()
void dragWindow(java.awt.event.MouseEvent mouseEvent)
RootWindow
in where it should be
dropped, see getDropTarget()
.
mouseEvent
- the mouse event that caused the dragvoid abortDrag()
void dropWindow(java.awt.event.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 |