BrowserWindow
, EqWindow
, MiniplayerWindow
, PlaylistWindow
, VideoWindow
@Plural("windows") @Code("cwin") @Name("window") @Inherits("item") public interface Window extends Reference, Item
Modifier and Type | Method | Description |
---|---|---|
Rectangle |
getBounds() |
The boundary rectangle for the window.
|
Point |
getPosition() |
The upper left position of the window.
|
Map<String,Object> |
getProperties() |
Returns all properties for an instance of this class.
|
boolean |
isCloseable() |
Does the window have a close button?
|
boolean |
isCollapseable() |
Does the window have a collapse button?
|
boolean |
isCollapsed() |
Is the window collapsed?
|
boolean |
isFullScreen() |
Is the window full screen?
|
boolean |
isResizable() |
Is the window resizable?
|
boolean |
isVisible() |
Is the window visible?
|
boolean |
isZoomable() |
Is the window zoomable?
|
boolean |
isZoomed() |
Is the window zoomed?
|
void |
setBounds(Rectangle bounds) |
The boundary rectangle for the window.
|
void |
setCollapsed(boolean collapsed) |
Is the window collapsed?
|
void |
setFullScreen(boolean fullScreen) |
Is the window full screen?
|
void |
setPosition(Point position) |
The upper left position of the window.
|
void |
setVisible(boolean visible) |
Is the window visible?
|
void |
setZoomed(boolean zoomed) |
Is the window zoomed?
|
getContainer, getId, getIndex, getKlass, getName, getPersistentId, setName
cast, getApplicationReference, getObjectReference, getTypeClass, isInstanceOf
static final TypeClass CLASS
@Code("pbnd") @Kind("property") @Name("bounds") @Type("rectangle") Rectangle getBounds()
@Code("pbnd") @Kind("property") @Name("bounds") @Type("rectangle") void setBounds(Rectangle bounds)
bounds
- new property value@Code("hclb") @Kind("property") @Name("closeable") @Type("boolean") boolean isCloseable()
@Code("pWSh") @Kind("property") @Name("collapseable") @Type("boolean") boolean isCollapseable()
@Code("wshd") @Kind("property") @Name("collapsed") @Type("boolean") boolean isCollapsed()
@Code("wshd") @Kind("property") @Name("collapsed") @Type("boolean") void setCollapsed(boolean collapsed)
collapsed
- new property value@Code("pFSc") @Kind("property") @Name("full screen") @Type("boolean") boolean isFullScreen()
@Code("pFSc") @Kind("property") @Name("full screen") @Type("boolean") void setFullScreen(boolean fullScreen)
fullScreen
- new property value@Code("ppos") @Kind("property") @Name("position") @Type("point") Point getPosition()
@Code("ppos") @Kind("property") @Name("position") @Type("point") void setPosition(Point position)
position
- new property value@Code("prsz") @Kind("property") @Name("resizable") @Type("boolean") boolean isResizable()
@Code("pvis") @Kind("property") @Name("visible") @Type("boolean") boolean isVisible()
@Code("pvis") @Kind("property") @Name("visible") @Type("boolean") void setVisible(boolean visible)
visible
- new property value@Code("iszm") @Kind("property") @Name("zoomable") @Type("boolean") boolean isZoomable()
@Code("pzum") @Kind("property") @Name("zoomed") @Type("boolean") boolean isZoomed()
@Code("pzum") @Kind("property") @Name("zoomed") @Type("boolean") void setZoomed(boolean zoomed)
zoomed
- new property valueMap<String,Object> getProperties()
getProperties
in interface Item