public class CmsListInfoBean
extends java.lang.Object
implements com.google.gwt.user.client.rpc.IsSerializable
CmsListItemWidgets.CmsListItemWidget| 限定符和类型 | 类和说明 |
|---|---|
static class |
CmsListInfoBean.LockIcon
Lock icons.
|
static class |
CmsListInfoBean.StateIcon
Enum for the type of page icon which should be displayed.
|
| 限定符和类型 | 字段和说明 |
|---|---|
static java.lang.String |
CSS_CLASS_MULTI_LINE
CSS class for multi-line additional info's.
|
| 构造器和说明 |
|---|
CmsListInfoBean()
Default constructor.
|
CmsListInfoBean(java.lang.String title,
java.lang.String subtitle,
java.util.List<CmsAdditionalInfoBean> additionalInfo)
Constructor.
|
| 限定符和类型 | 方法和说明 |
|---|---|
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.
|
boolean |
isMarkChangedState()
Returns true if the 'changed' resource state should be marked by an icon.
|
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 |
setMarkChangedState(boolean markChanged)
Enables or disables the display of the 'changed' icon for the 'changed' resource state.
|
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.
|
public static final java.lang.String CSS_CLASS_MULTI_LINE
public CmsListInfoBean()
public CmsListInfoBean(java.lang.String title,
java.lang.String subtitle,
java.util.List<CmsAdditionalInfoBean> additionalInfo)
title - the titlesubtitle - the subtitleadditionalInfo - the additional infopublic void addAdditionalInfo(java.lang.String name,
java.lang.String value)
name - the additional info namevalue - the additional info valuepublic 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 boolean isMarkChangedState()
public 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 setMarkChangedState(boolean markChanged)
markChanged - true if the 'changed' state should be displayedpublic 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