Class CmsListItemDetails


  • public class CmsListItemDetails
    extends CmsListColumnDefinition
    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
    • Constructor Detail

      • CmsListItemDetails

        public CmsListItemDetails​(java.lang.String id)
        Default constructor.

        Parameters:
        id - the unique id
    • Method Detail

      • getAtColumn

        public java.lang.String getAtColumn()
        Returns the id of the first column to include.

        Returns:
        the id of the first column to include
      • setAtColumn

        public void setAtColumn​(java.lang.String atColumn)
        Sets the id of the first column to include.

        Parameters:
        atColumn - the id of the first column to set
      • setHideAction

        public void setHideAction​(I_CmsListAction hideAction)
        Sets the hide details Action.

        Parameters:
        hideAction - the hide details Action to set
      • setHideActionHelpText

        public void setHideActionHelpText​(org.opencms.i18n.CmsMessageContainer hideActionHelp)
        Sets the help text of the hide action.

        Parameters:
        hideActionHelp - the help text of the hide action
      • setHideActionName

        public void setHideActionName​(org.opencms.i18n.CmsMessageContainer hideActionName)
        Sets the name of the hide action.

        Parameters:
        hideActionName - the name of the hide action
      • setListId

        public void setListId​(java.lang.String listId)
        Sets the id of the list.

        Parameters:
        listId - the id of the list
      • setShowAction

        public void setShowAction​(I_CmsListAction showAction)
        Sets the show details Action.

        Parameters:
        showAction - the showdetails Action to set
      • setShowActionHelpText

        public void setShowActionHelpText​(org.opencms.i18n.CmsMessageContainer showActionHelp)
        Sets the help text of the show action.

        Parameters:
        showActionHelp - the help text of the show action
      • setShowActionName

        public void setShowActionName​(org.opencms.i18n.CmsMessageContainer showActionName)
        Sets the name of the show action.

        Parameters:
        showActionName - the name of the show action