public static class ScreenDockStationExtension.DropArguments
extends java.lang.Object
ScreenDockStation.drop(Dockable, ScreenDockProperty, boolean)
Constructor and Description |
---|
DropArguments() |
Modifier and Type | Method and Description |
---|---|
Dockable |
getDockable()
Gets the element which is about to be dropped
|
ScreenDockProperty |
getProperty()
Gets the location at which the element will be dropped
|
ScreenDockWindow |
getWindow()
Gets the window with which the element will be merged
|
boolean |
isBoundsIncludeWindow()
If
true , the bounds describe the size
of the resulting window. |
void |
setBoundsIncludeWindow(boolean boundsIncludeWindow)
Sets whether the boundaries of the location include the entire window.
|
void |
setDockable(Dockable dockable)
Sets the dockable which is to be dropped.
|
void |
setProperty(ScreenDockProperty property)
Sets the location at which the element is to be dropped.
|
void |
setWindow(ScreenDockWindow window)
Sets the window with which the element will be merged
|
public void setDockable(Dockable dockable)
dockable
- the dockable, must not be null
public Dockable getDockable()
public void setProperty(ScreenDockProperty property)
property
- the new location at which to drop the element, not null
public ScreenDockProperty getProperty()
null
public void setBoundsIncludeWindow(boolean boundsIncludeWindow)
boundsIncludeWindow
- whether the entire window is includedisBoundsIncludeWindow()
public boolean isBoundsIncludeWindow()
true
, the bounds describe the size
of the resulting window. Otherwise the size of the window will be a bit larger
such that the title can be shown in the new spacepublic void setWindow(ScreenDockWindow window)
window
- the merging window, can be null
public ScreenDockWindow getWindow()