public class ScreenDockWindowHandle extends Object implements PlaceholderListItem<Dockable>
ScreenDockWindow in a PlaceholderList.| Constructor and Description |
|---|
ScreenDockWindowHandle(Dockable dockable,
ScreenDockWindow window,
WindowConfiguration configuration)
Creates a new handle.
|
| Modifier and Type | Method and Description |
|---|---|
Dockable |
asDockable()
Gets the
Dockable that is associated with this item. |
Rectangle |
getBounds()
Gets the current normal bounds of the window represented by this handle.
|
WindowConfiguration |
getConfiguration()
Gets the configuration which was used to set up
the window. |
ScreenDockWindow |
getWindow()
Gets the window which is represented by this handle.
|
void |
setDockable(Dockable dockable)
Sets the item that is shown by this window.
|
void |
setWindow(ScreenDockWindow window,
WindowConfiguration configuration)
Sets the window which is represented by this handle.
|
public ScreenDockWindowHandle(Dockable dockable, ScreenDockWindow window, WindowConfiguration configuration)
dockable - the element shown by windowwindow - the window which is represented by this handle, not nullconfiguration - the configuration which was used to create window, not nullpublic Dockable asDockable()
PlaceholderListItemDockable that is associated with this item.asDockable in interface PlaceholderListItem<Dockable>nullpublic void setDockable(Dockable dockable)
dockable - the element to show, can be nullpublic ScreenDockWindow getWindow()
public WindowConfiguration getConfiguration()
the window.nullpublic void setWindow(ScreenDockWindow window, WindowConfiguration configuration)
window - the new window, not nullconfiguration - the configuration that was used to set up windowpublic Rectangle getBounds()
nullCopyright © 2017 Docking Frames. All rights reserved.