public class ScreenDockWindowHandle extends java.lang.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. |
java.awt.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 window
window
- the window which is represented by this handle, not null
configuration
- the configuration which was used to create window
, not null
public Dockable asDockable()
PlaceholderListItem
Dockable
that is associated with this item.asDockable
in interface PlaceholderListItem<Dockable>
null
public void setDockable(Dockable dockable)
dockable
- the element to show, can be null
public ScreenDockWindow getWindow()
public WindowConfiguration getConfiguration()
the window
.null
public void setWindow(ScreenDockWindow window, WindowConfiguration configuration)
window
- the new window, not null
configuration
- the configuration that was used to set up window
public java.awt.Rectangle getBounds()
null