|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Design model for panels
Method Summary | |
void |
addItem(PanelItemDesignModel item)
Adds a panel item |
boolean |
filter()
Returns if the filter is activated (default=true). |
java.lang.String |
getAction()
Returns the action |
ImageModel |
getImage()
Returns the image for the content body |
PanelItemDesignModel[] |
getItems()
Returns a collection with the items |
java.lang.String |
getLocaleName()
Gets the Local Setting for this element |
java.lang.String |
getMore()
Return the text which should be displayed if there is a "other items" link. |
java.lang.String |
getTitle()
Returns the title |
java.lang.String |
getTooltip()
Returns the Tooltip |
void |
removeItem(PanelItemDesignModel item)
Removes a panel item |
void |
setAction(java.lang.String action)
Sets the action which should be processed if the user clicks on the "more link". |
void |
setFilter(boolean filter)
Activates the HTML encoding (filter). |
void |
setImage(ImageModel img)
Sets an image for the content body |
void |
setLocaleName(java.lang.String locale)
Sets the Locale configuration for this element |
void |
setMore(java.lang.String more)
Return the text which should be displayed if there are more items as displayed |
void |
setPermission(Permission permission)
Sets a list with permissions to access this object. |
void |
setTitle(java.lang.String title)
Sets the title |
void |
setTooltip(java.lang.String tooltip)
Sets the Tooltip |
int |
size()
Returns the number of items |
Methods inherited from interface com.cc.framework.ui.model.AccessControlled |
getPermission, show |
Method Detail |
public void addItem(PanelItemDesignModel item)
item
- PanelItemDesignModelpublic void removeItem(PanelItemDesignModel item)
item
- PanelItemDesignModelpublic ImageModel getImage()
public PanelItemDesignModel[] getItems()
public java.lang.String getMore()
public void setMore(java.lang.String more)
more
- The hint to be display if there are more itemspublic java.lang.String getTitle()
public void setImage(ImageModel img)
img
- ImageModelpublic void setTitle(java.lang.String title)
title
- The titlepublic int size()
public void setAction(java.lang.String action)
action
- The action to processpublic java.lang.String getAction()
public void setPermission(Permission permission)
permission
- Permissionpublic void setTooltip(java.lang.String tooltip)
tooltip
- Tooltippublic java.lang.String getTooltip()
public boolean filter()
true
if string will be HTML encoded;
false
otherwise. If a null
is
returned than the filter of the enclosing CrumbControl should be
usedpublic void setFilter(boolean filter)
filter
- true
if strings should be HTML encoded;
false
otherwisepublic void setLocaleName(java.lang.String locale)
locale
- Locale Identifier or true|false
public java.lang.String getLocaleName()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |