|
|||||||||||
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.CrumbsDesignModelImp
Designmodel for the CrumbsControl
Field Summary | |
private java.util.ArrayList |
crumbs
Buffer for the crumbs of the CrumbControl |
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 static long |
serialVersionUID
Serial Version UID |
Fields inherited from class com.cc.framework.ui.model.imp.ControlDesignModelImp |
|
Fields inherited from class com.cc.framework.ui.model.imp.ClientHandlerImp |
|
Constructor Summary | |
CrumbsDesignModelImp()
Constructor for CrumbsDesignModelImp |
Method Summary | |
CrumbsDesignModel |
addCrumb(CrumbModel newCrumb)
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 imagemap)
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 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 crumbs
private int labelLength
private ImageMap imagemap
private boolean filter
Constructor Detail |
public CrumbsDesignModelImp()
Method Detail |
public CrumbsDesignModel addCrumb(CrumbModel newCrumb)
CrumbsDesignModel
addCrumb
in interface CrumbsDesignModel
newCrumb
- CrumbDesignModel
CrumbsDesignModel.addCrumb(com.cc.framework.ui.model.CrumbModel)
public void removeCrumb(CrumbModel crumb)
CrumbsDesignModel
removeCrumb
in interface CrumbsDesignModel
crumb
- Crumb to be removedCrumbsDesignModel.removeCrumb(com.cc.framework.ui.model.CrumbModel)
public CrumbModel[] getCrumbs()
CrumbsDesignModel
getCrumbs
in interface CrumbsDesignModel
CrumbsDesignModel.getCrumbs()
public int size()
CrumbsDesignModel
size
in interface CrumbsDesignModel
CrumbsDesignModel.size()
public ImageMap getImageMap()
CrumbsDesignModel
getImageMap
in interface CrumbsDesignModel
CrumbsDesignModel.getImageMap()
public void setImageMap(ImageMap imagemap)
CrumbsDesignModel
setImageMap
in interface CrumbsDesignModel
imagemap
- ImageMapCrumbsDesignModel.setImageMap(com.cc.framework.ui.ImageMap)
public int getLabelLength()
CrumbsDesignModel
getLabelLength
in interface CrumbsDesignModel
CrumbsDesignModel.getLabelLength()
public void setLabelLength(int length)
CrumbsDesignModel
setLabelLength
in interface CrumbsDesignModel
length
- LabelLengthCrumbsDesignModel.setLabelLength(int)
public boolean filter()
CrumbsDesignModel
filter
in interface CrumbsDesignModel
true
if string will be HTML encoded;
false
otherwiseCrumbsDesignModel.filter()
public void setFilter(boolean filter)
CrumbsDesignModel
setFilter
in interface CrumbsDesignModel
filter
- true
if strings should be HTML encoded; false
otherwiseCrumbsDesignModel.setFilter(boolean)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |