Package org.opencms.workplace.list
Class CmsListItemDetails
java.lang.Object
org.opencms.workplace.list.CmsListColumnDefinition
org.opencms.workplace.list.CmsListItemDetails
For adding detail information to the list items add an instance
of this class to the list metadata and fill the data like an
additional column.
For detail contents you may use HTML code.
- Since:
- 6.0.0
-
Field Summary
Fields inherited from class org.opencms.workplace.list.CmsListColumnDefinition
ICON_DOWN, ICON_UP -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the current active action.Returns the id of the first column to include.voidsetAtColumn(String atColumn) Sets the id of the first column to include.voidsetHideAction(I_CmsListAction hideAction) Sets the hide details Action.voidsetHideActionHelpText(org.opencms.i18n.CmsMessageContainer hideActionHelp) Sets the help text of the hide action.voidsetHideActionName(org.opencms.i18n.CmsMessageContainer hideActionName) Sets the name of the hide action.voidSets the id of the list.voidsetShowAction(I_CmsListAction showAction) Sets the show details Action.voidsetShowActionHelpText(org.opencms.i18n.CmsMessageContainer showActionHelp) Sets the help text of the show action.voidsetShowActionName(org.opencms.i18n.CmsMessageContainer showActionName) Sets the name of the show action.voidsetWp(A_CmsListDialog wp) Sets the workplace dialog object.Methods inherited from class org.opencms.workplace.list.CmsListColumnDefinition
addDefaultAction, addDirectAction, csvCell, csvHeader, getAlign, getDefaultAction, getDefaultActionIds, getDefaultActions, getDirectAction, getDirectActionIds, getDirectActions, getFormatter, getHelpText, getId, getListItemComparator, getName, getWidth, getWp, htmlCell, htmlHeader, isPrintable, isSorteable, isTextWrapping, isVisible, removeDefaultAction, removeDirectAction, setAlign, setFormatter, setHelpText, setListItemComparator, setName, setPrintable, setSorteable, setTextWrapping, setVisible, setWidth
-
Constructor Details
-
CmsListItemDetails
Default constructor.- Parameters:
id- the unique id
-
-
Method Details
-
setWp
Description copied from class:CmsListColumnDefinitionSets the workplace dialog object.- Overrides:
setWpin classCmsListColumnDefinition- Parameters:
wp- the workplace dialog object to set- See Also:
-
getAction
Returns the current active action.- Returns:
- the current active action
-
getAtColumn
Returns the id of the first column to include.- Returns:
- the id of the first column to include
-
setAtColumn
Sets the id of the first column to include.- Parameters:
atColumn- the id of the first column to set
-
setHideAction
Sets the hide details Action.- Parameters:
hideAction- the hide details Action to set
-
setHideActionHelpText
Sets the help text of the hide action.- Parameters:
hideActionHelp- the help text of the hide action
-
setHideActionName
Sets the name of the hide action.- Parameters:
hideActionName- the name of the hide action
-
setListId
Sets the id of the list.- Parameters:
listId- the id of the list
-
setShowAction
Sets the show details Action.- Parameters:
showAction- the showdetails Action to set
-
setShowActionHelpText
Sets the help text of the show action.- Parameters:
showActionHelp- the help text of the show action
-
setShowActionName
Sets the name of the show action.- Parameters:
showActionName- the name of the show action
-