public interface DockingWindowDragger
DockingWindow. Note the the drag operation MUST be terminated using either
abortDrag() or dropWindow(MouseEvent).| Modifier and Type | Method and Description |
|---|---|
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. |
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