public static class ScreenDockPerspective.ScreenPerspectiveWindow extends Object implements PlaceholderListItem<PerspectiveDockable>
ScreenDockPerspective.| Constructor and Description |
|---|
ScreenPerspectiveWindow(PerspectiveDockable dockable)
Creates a new object.
|
| Modifier and Type | Method and Description |
|---|---|
PerspectiveDockable |
asDockable()
Gets the
Dockable that is associated with this item. |
int |
getHeight()
Gets the height of this dockable in pixels.
|
int |
getWidth()
Gets the width of this dockable in pixels.
|
int |
getX()
Gets the x-coordinate of this dockable on the screen.
|
int |
getY()
Gets the y-coordinate of this dockable on the screen.
|
boolean |
isFullscreen()
Tells whether this dockable is shown in fullscreen-mode or not.
|
void |
setFullscreen(boolean fullscreen)
Sets whether this dockable is shown in fullscreen-mode or not.
|
void |
setHeight(int height)
Sets the height of this dockable in pixels.
|
void |
setWidth(int width)
Sets the width of this dockable in pixels.
|
void |
setX(int x)
Sets the x-coordinate of this dockable on the screen.
|
void |
setY(int y)
Sets the y-coordinate of this dockable on the screen.
|
public ScreenPerspectiveWindow(PerspectiveDockable dockable)
dockable - the element which is represented by thispublic PerspectiveDockable asDockable()
PlaceholderListItemDockable that is associated with this item.asDockable in interface PlaceholderListItem<PerspectiveDockable>nullpublic int getX()
public void setX(int x)
x - the x-coordinatepublic int getY()
public void setY(int y)
y - the y-coordinatepublic int getWidth()
public void setWidth(int width)
width - the widthpublic int getHeight()
public void setHeight(int height)
height - the heightpublic boolean isFullscreen()
true if fullscreen-mode is activepublic void setFullscreen(boolean fullscreen)
fullscreen - whether to activate fullscreen-modeCopyright © 2017 Docking Frames. All rights reserved.