|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.opencms.gwt.shared.CmsListInfoBean
public class CmsListInfoBean
A bean holding all info to be displayed in org.opencms.gwt.client.ui.CmsListItemWidgets.
org.opencms.gwt.client.ui.CmsListItemWidget| Nested Class Summary | |
|---|---|
static class |
CmsListInfoBean.LockIcon
Lock icons. |
static class |
CmsListInfoBean.StateIcon
Enum for the type of page icon which should be displayed. |
| Field Summary | |
|---|---|
static java.lang.String |
CSS_CLASS_MULTI_LINE
CSS class for multi-line additional info's. |
| Constructor Summary | |
|---|---|
CmsListInfoBean()
Default constructor. |
|
CmsListInfoBean(java.lang.String title,
java.lang.String subtitle,
java.util.List<CmsAdditionalInfoBean> additionalInfo)
Constructor. |
|
| Method Summary | |
|---|---|
void |
addAdditionalInfo(java.lang.String name,
java.lang.String value)
Sets a new additional info. |
void |
addAdditionalInfo(java.lang.String name,
java.lang.String value,
java.lang.String style)
Sets a new additional info. |
java.util.List<CmsAdditionalInfoBean> |
getAdditionalInfo()
Returns the additional info. |
CmsListInfoBean.LockIcon |
getLockIcon()
Returns the lock icon. |
java.lang.String |
getLockIconTitle()
Returns the lock icon title. |
CmsResourceState |
getResourceState()
Returns the resourceState. |
java.lang.String |
getResourceType()
Returns the resource type name. |
CmsListInfoBean.StateIcon |
getStateIcon()
Returns the state icon. |
java.lang.String |
getSubTitle()
Returns the sub-title. |
java.lang.String |
getTitle()
Returns the title. |
boolean |
hasAdditionalInfo()
Returns if the bean has additional info elements. |
void |
setAdditionalInfo(java.util.List<CmsAdditionalInfoBean> additionalInfo)
Sets the additional info. |
void |
setLockIcon(CmsListInfoBean.LockIcon lockIcon)
Sets the lock icon. |
void |
setLockIconTitle(java.lang.String lockIconTitle)
Sets the lock icon title. |
void |
setResourceState(CmsResourceState resourceState)
Sets the resourceState. |
void |
setResourceType(java.lang.String resourceType)
Sets the resource type name. |
void |
setStateIcon(CmsListInfoBean.StateIcon stateIcon)
Sets the state icon. |
void |
setSubTitle(java.lang.String subTitle)
Sets the sub-title. |
void |
setTitle(java.lang.String title)
Sets the title. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String CSS_CLASS_MULTI_LINE
| Constructor Detail |
|---|
public CmsListInfoBean()
public CmsListInfoBean(java.lang.String title,
java.lang.String subtitle,
java.util.List<CmsAdditionalInfoBean> additionalInfo)
title - the titlesubtitle - the subtitleadditionalInfo - the additional info| Method Detail |
|---|
public void addAdditionalInfo(java.lang.String name,
java.lang.String value)
name - the additional info namevalue - the additional info value
public void addAdditionalInfo(java.lang.String name,
java.lang.String value,
java.lang.String style)
name - the additional info namevalue - the additional info valuestyle - the CSS style to apply to the infopublic java.util.List<CmsAdditionalInfoBean> getAdditionalInfo()
public CmsListInfoBean.LockIcon getLockIcon()
public java.lang.String getLockIconTitle()
public CmsResourceState getResourceState()
public java.lang.String getResourceType()
public CmsListInfoBean.StateIcon getStateIcon()
The state icon indicates if a resource is exported, secure etc.
public java.lang.String getSubTitle()
public java.lang.String getTitle()
public boolean hasAdditionalInfo()
true if the bean has additional info elementspublic void setAdditionalInfo(java.util.List<CmsAdditionalInfoBean> additionalInfo)
additionalInfo - the additional info to setpublic void setLockIcon(CmsListInfoBean.LockIcon lockIcon)
lockIcon - the lock icon to setpublic void setLockIconTitle(java.lang.String lockIconTitle)
lockIconTitle - the lock icon title to setpublic void setResourceState(CmsResourceState resourceState)
resourceState - the resourceState to setpublic void setResourceType(java.lang.String resourceType)
resourceType - the resource type name to setpublic void setStateIcon(CmsListInfoBean.StateIcon stateIcon)
The state icon indicates if a resource is exported, secure etc.
stateIcon - the state icon to setpublic void setSubTitle(java.lang.String subTitle)
subTitle - the sub-title to setpublic void setTitle(java.lang.String title)
title - the title to set
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||