|
dockTo(dockState, x, y)
|
|
|
Parameters
|
DockState dockState
The manner in which the window is about to dock.
int x
The X coordinate to dock to. If the window is set to float, this value is in screen coordinates. If the window is set to dock, this value is related to the upper left corner of the dock bar to which the window docks.
int y
The Y coordinate to dock to. If the window is set to float, this value is in screen coordinates. If the window is set to dock, this value is related to the upper left corner of the dock bar to which the window docks.
|
|
Returns
|
void
|
|
Throws
|
WindowException
NO_DOCKING_ALLOWED_ERR: Raised if the window is not dockable.
INVALID_DOCKING_ERR: Raised if dock location is not enabled.
|