|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
DesignModel for a CrumbsControl
Method Summary | |
CrumbsDesignModel |
addCrumb(CrumbModel crumb)
Adds a single Crumb |
boolean |
filter()
Returns if the filter is activated (default=true). |
CrumbModel[] |
getCrumbs()
Returns an Array with all Crumbs |
ImageMap |
getImageMap()
Returns the ImageMap |
int |
getLabelLength()
Returns the maximal length for labels |
void |
removeCrumb(CrumbModel crumb)
Removes a Crumb from the CrumbControl |
void |
setFilter(boolean filter)
Activates the HTML encoding (filter). |
void |
setImageMap(ImageMap map)
Sets the ImageMap |
void |
setLabelLength(int length)
Sets the maximal length for labels shown on a Crumb If a label is longer as the size defined here, it will be cut. |
int |
size()
Returns the total Number of Crumbs |
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 CrumbsDesignModel addCrumb(CrumbModel crumb)
crumb
- CrumbDesignModel
public void removeCrumb(CrumbModel crumb)
crumb
- Crumb to be removedpublic CrumbModel[] getCrumbs()
public int size()
public void setImageMap(ImageMap map)
map
- ImageMappublic ImageMap getImageMap()
public void setLabelLength(int length)
length
- LabelLengthpublic int getLabelLength()
public boolean filter()
true
if string will be HTML encoded;
false
otherwisepublic void setFilter(boolean filter)
filter
- true
if strings should be HTML encoded; false
otherwise
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |