|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
DesignModel for a Tabset
| Method Summary | |
TabsetDesignModel |
addTab(TabDesignModel tab)
Adds a tab page to the Tabset |
boolean |
filter()
Returns if the filter is activated (default= true). |
Color |
getBgColor()
Returns the Background Color |
ImageMap |
getImageMap()
Returns the image map |
int |
getLabelLength()
Returns the maximal length for labels |
int |
getMaxVisible()
Returns the number of visible tab pages. |
TabDesignModel[] |
getTabs()
Returns an Array with all tab pages |
boolean |
isOverlapping()
|
boolean |
isStacked()
|
void |
removeTab(TabDesignModel tab)
Removes a tab page from the Tabset |
void |
setBgColor(Color bgcolor)
Sets the Background Color |
void |
setFilter(boolean filter)
Activates the HTML encoding (filter). |
void |
setImageMap(ImageMap map)
Sets the image map for the TabSet |
void |
setLabelLength(int length)
Sets the maximal length for labels shown on a tab page. |
void |
setMaxVisible(int max)
Sets the number of visible tab pages. |
void |
setOverlapping(boolean overlapping)
Sets the tabs of the Tabset to overlapping or not overlapping |
void |
setStacked(boolean stacked)
Sets the control in stacked display mode. |
int |
size()
Returns the total Number of tab pages |
| Methods inherited from interface com.cc.framework.ui.model.ControlDesignModel |
addDesignRule, getAction, getBorder, getDesignRules, getHeight, getHelp, getId, getLocaleName, getName, getProperty, getRunAt, getStyle, getStyleClass, getStyleId, getSummary, getTabIndex, getTooltip, getTransaction, getWidth, hasShadow, isDisabled, isDynamicDesignModel, isFormElement, setAction, setBorder, setDisabled, setDynamicDesignModel, setFormElement, setHeight, setHelp, setId, setLocaleName, setName, setPermission, setProperty, setRunAt, setShadow, setStyle, setStyleClass, setStyleId, setSummary, setTabIndex, setTooltip, setTransaction, setWidth |
| Methods inherited from interface com.cc.framework.ui.model.ClientHandler |
getHandler, getHandlers, setHandler |
| Methods inherited from interface com.cc.framework.ui.model.AccessControlled |
getPermission, show |
| Methods inherited from interface com.cc.framework.ui.model.ActionBehavior |
isAjaxEnabled |
| Methods inherited from interface com.cc.framework.ui.model.AjaxSupport |
enableAjax, isAjaxEnabled |
| Method Detail |
public TabsetDesignModel addTab(TabDesignModel tab)
tab - TabsetDesignModel
public void removeTab(TabDesignModel tab)
tab - Tab to be removedpublic TabDesignModel[] getTabs()
public int size()
public int getMaxVisible()
public void setMaxVisible(int max)
max - Number of visible tab pages.public boolean isStacked()
true when stacked display mode is enabledpublic void setStacked(boolean stacked)
stacked - true to enable stacked modepublic void setBgColor(Color bgcolor)
bgcolor - Background Colorpublic Color getBgColor()
public void setImageMap(ImageMap map)
map - ImageMappublic ImageMap getImageMap()
public void setLabelLength(int length)
length - LabelLengthpublic int getLabelLength()
public boolean filter()
true). This
means that all Strings which should be displayed in the HTML page are
HTML encoded
true if string will be HTML encoded;
false otherwisepublic void setFilter(boolean filter)
true.
This means that all Strings which should be displayed in the HTML page
will be HTML encoded.
filter - true if strings should be HTML encoded; false
otherwisepublic boolean isOverlapping()
true when the tabs should be displayed in
overlapping modepublic void setOverlapping(boolean overlapping)
overlapping - mode
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||