|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jalios.jcmsplugin.virtualdesktop.Tab
public class Tab
Tab of a virtual desktop. Used for virtual desktop's layout and serialization.
Constructor Summary | |
---|---|
Tab()
Default constructor. |
Method Summary | |
---|---|
void |
addColumn(Column column)
Add the specified column (on last position) to this Tab. |
void |
deselect()
Deselect this Tab. |
Column |
getColumn(String id)
Retrieve a column of this Tab from its id. |
List<Column> |
getColumnList()
Retrieve the Column contained in this Tab. |
String |
getIcon()
Retrieve the icon name of this Tab. |
String |
getId()
Retrieves the id of this desktopElement |
int |
getServiceNbr()
Retrieve the total number of Service of this Tab. |
String |
getShortName()
Returns the short name of this class to use of all instance. |
String |
getTitle()
Retrieve the title of this Tab. |
boolean |
isSelected()
Check if this tab is the selected Tab of the Destkop. |
void |
removeColumn(Column column)
Remove the specified column from this Tab. |
void |
select()
Select this Tab. |
void |
setIcon(String icon)
Set the icon name of this Tab. |
void |
setSelected(boolean selected)
Change the selected status of this Tab. |
void |
setTitle(String title)
Set the title of this Tab. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Tab()
Create a new empty Tab (without any column), with an empty title, and empty icon and deselected.
Method Detail |
---|
public String getShortName()
public String toString()
public String getTitle()
public void setTitle(String title)
title
- the title to setpublic String getIcon()
DesktopManager.getIcons()
public void setIcon(String icon)
icon
- an icon nameDesktopManager.getIcons()
public boolean isSelected()
public void setSelected(boolean selected)
The selected tab is the Tab being displayed to the user when he access his Desktop. Important : Selecting this tab will not deselect any other tab in the desktop, ensure you deselect other tabs, otherwise the first selected tab is displayed.
selected
- true to select the Tab, false otherwise.public void select()
The selected tab is the Tab being displayed to the user when he access his Desktop. Important : Selecting this tab will not deselect any other tab in the desktop, ensure you deselect other tabs, otherwise the first selected tab is displayed.
public void deselect()
The selected tab is the Tab being displayed to the user when he access his Desktop.
public List<Column> getColumnList()
public Column getColumn(String id)
id
- the column id to retrieve
public void addColumn(Column column)
column
- the column to addpublic void removeColumn(Column column)
column
- the column to removepublic int getServiceNbr()
public final String getId()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |