@OpenApiAll
public class WindowComponentInfo
extends java.lang.Object
Constructor and Description |
---|
WindowComponentInfo(java.lang.String id,
java.lang.String name,
javax.swing.Icon icon,
int side,
int state,
boolean removeOnHide)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
javax.swing.Icon |
getIcon()
Returns icon of the window component.
|
java.lang.String |
getId()
Returns id of the window component.
|
java.lang.String |
getName()
Returns name (title) of the window component.
|
int |
getSide()
Returns the window component side in the JIDE interface style.
|
int |
getState()
Returns the window component initial docking state in the JIDE interface style.
|
boolean |
isDockable() |
boolean |
isRemoveOnHide()
Returns if the window component should be removed on hide.
|
void |
setDockable(boolean dockable)
Set dockable initial state of the window
|
void |
setIcon(javax.swing.Icon icon)
Set icon for the window.
|
void |
setId(java.lang.String id)
Set id for the window component.
|
void |
setName(java.lang.String name)
Set name (title) for the window component.
|
void |
setRemoveOnHide(boolean removeOnHide)
Set if remove the window component on
|
void |
setSide(int side)
Set the window component side in JIDE interface style.
|
void |
setState(int state)
Set the window component initial docking state in JIDE interface style.
|
public WindowComponentInfo(java.lang.String id, java.lang.String name, javax.swing.Icon icon, int side, int state, boolean removeOnHide)
id
- id of the window component.name
- name (title) of the window.icon
- icon of the window.side
- indicates the side to place the window component in the JIDE interface style.state
- indicates the docking state of the window component in the JIDE interface style.removeOnHide
- true if the window should be removed on hide, false if it should be just hide.WindowsManager.SIDE_EAST
,
WindowsManager.SIDE_NORTH
,
WindowsManager.SIDE_SOUTH
,
WindowsManager.SIDE_WEST
,
WindowsManager.STATE_DOCKED
,
WindowsManager.STATE_FLOATING
,
WindowsManager.STATE_AUTOHIDE
,
WindowsManager.STATE_HIDDEN
public java.lang.String getId()
public java.lang.String getName()
public javax.swing.Icon getIcon()
public int getSide()
public int getState()
public boolean isRemoveOnHide()
public void setIcon(javax.swing.Icon icon)
icon
- window component icon.public void setId(java.lang.String id)
id
- idpublic void setName(java.lang.String name)
name
- namepublic void setRemoveOnHide(boolean removeOnHide)
removeOnHide
- remove on hidepublic void setSide(int side)
side
- sidepublic void setState(int state)
state
- statepublic boolean isDockable()
public void setDockable(boolean dockable)
dockable
- true if window is dockable