|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.cc.framework.ui.model.imp.ClientHandlerImp com.cc.framework.ui.model.imp.ControlDesignModelImp com.cc.framework.ui.model.imp.TabsetDesignModelImp
Designmodel for the TabSetControl
Field Summary | |
private Color |
bgcolor
The background color of the TabSet |
private boolean |
filter
Specifies if all String should be converted into there HTML representation |
private ImageMap |
imagemap
The ImageMap which can be used to paint icons in front of the labels. |
private int |
labelLength
The length of the labels. |
private int |
maxVisible
The number of visible Tabs. |
private boolean |
overlapping
true when the tabs should be displayed in overlapping mode |
private static long |
serialVersionUID
Serial Version UID |
private boolean |
stacked
This flag indicates if stacked display mode for the control is enabled |
private java.util.ArrayList |
tabs
Buffer for the Tabs of the Tabset |
Fields inherited from class com.cc.framework.ui.model.imp.ControlDesignModelImp |
|
Fields inherited from class com.cc.framework.ui.model.imp.ClientHandlerImp |
|
Constructor Summary | |
TabsetDesignModelImp()
Constructor for TabsetDesignModelImp |
Method Summary | |
TabsetDesignModel |
addTab(TabDesignModel newTab)
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 imagemap)
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 class com.cc.framework.ui.model.imp.ControlDesignModelImp |
addDesignRule, enableAjax, getAction, getBorder, getDesignRules, getHeight, getHelp, getId, getLocaleName, getName, getPermission, getProperty, getRunAt, getStyle, getStyleClass, getStyleId, getSummary, getTabIndex, getTooltip, getTransaction, getWidth, hasShadow, isAjaxEnabled, 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, show |
Methods inherited from class com.cc.framework.ui.model.imp.ClientHandlerImp |
evaluate, getHandler, getHandlers, setHandler |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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 |
Field Detail |
private static final long serialVersionUID
private java.util.ArrayList tabs
private int maxVisible
private boolean stacked
private int labelLength
private ImageMap imagemap
private Color bgcolor
private boolean filter
private boolean overlapping
true
when the tabs should be displayed in overlapping mode
Constructor Detail |
public TabsetDesignModelImp()
Method Detail |
public TabsetDesignModel addTab(TabDesignModel newTab)
TabsetDesignModel
addTab
in interface TabsetDesignModel
newTab
- TabsetDesignModel
TabsetDesignModel.addTab(TabDesignModel)
public void removeTab(TabDesignModel tab)
TabsetDesignModel
removeTab
in interface TabsetDesignModel
tab
- Tab to be removedTabsetDesignModel.removeTab(TabDesignModel)
public TabDesignModel[] getTabs()
TabsetDesignModel
getTabs
in interface TabsetDesignModel
TabsetDesignModel.getTabs()
public int size()
TabsetDesignModel
size
in interface TabsetDesignModel
TabsetDesignModel.size()
public int getMaxVisible()
TabsetDesignModel
getMaxVisible
in interface TabsetDesignModel
TabsetDesignModel.getMaxVisible()
public void setMaxVisible(int max)
TabsetDesignModel
setMaxVisible
in interface TabsetDesignModel
max
- Number of visible tab pages.TabsetDesignModel.setMaxVisible(int)
public Color getBgColor()
TabsetDesignModel
getBgColor
in interface TabsetDesignModel
TabsetDesignModel.getBgColor()
public void setBgColor(Color bgcolor)
TabsetDesignModel
setBgColor
in interface TabsetDesignModel
bgcolor
- Background ColorTabsetDesignModel.setBgColor(com.cc.framework.ui.Color)
public ImageMap getImageMap()
TabsetDesignModel
getImageMap
in interface TabsetDesignModel
TabsetDesignModel.getImageMap()
public void setImageMap(ImageMap imagemap)
TabsetDesignModel
setImageMap
in interface TabsetDesignModel
imagemap
- ImageMapTabsetDesignModel.setImageMap(com.cc.framework.ui.ImageMap)
public int getLabelLength()
TabsetDesignModel
getLabelLength
in interface TabsetDesignModel
TabsetDesignModel.getLabelLength()
public void setLabelLength(int length)
TabsetDesignModel
setLabelLength
in interface TabsetDesignModel
length
- LabelLengthTabsetDesignModel.setLabelLength(int)
public boolean filter()
TabsetDesignModel
true
). This
means that all Strings which should be displayed in the HTML page are
HTML encoded
filter
in interface TabsetDesignModel
true
if string will be HTML encoded;
false
otherwiseTabsetDesignModel.filter()
public void setFilter(boolean filter)
TabsetDesignModel
true
.
This means that all Strings which should be displayed in the HTML page
will be HTML encoded.
setFilter
in interface TabsetDesignModel
filter
- true
if strings should be HTML encoded; false
otherwiseTabsetDesignModel.setFilter(boolean)
public boolean isOverlapping()
isOverlapping
in interface TabsetDesignModel
true
when the tabs should be displayed in
overlapping modeTabsetDesignModel.isOverlapping()
public void setOverlapping(boolean overlapping)
TabsetDesignModel
setOverlapping
in interface TabsetDesignModel
overlapping
- modeTabsetDesignModel.setOverlapping(boolean)
public boolean isStacked()
isStacked
in interface TabsetDesignModel
true
when stacked display mode is enabledTabsetDesignModel.isStacked()
public void setStacked(boolean stacked)
TabsetDesignModel
setStacked
in interface TabsetDesignModel
stacked
- true
to enable stacked modeTabsetDesignModel.setStacked(boolean)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |