Class CmsListItemSelectionCustomAction

java.lang.Object
org.opencms.workplace.tools.A_CmsHtmlIconButton
All Implemented Interfaces:
I_CmsListAction, I_CmsListDirectAction, org.opencms.workplace.tools.I_CmsHtmlIconButton

Implementation of a list item selection action where to define name and the column with the value.

Since:
6.7.2
  • Constructor Details

    • CmsListItemSelectionCustomAction

      Default Constructor.

      Parameters:
      id - the unique id
      columnValue - the name of the column used for the value
    • CmsListItemSelectionCustomAction

      public CmsListItemSelectionCustomAction(String id, String name, String columnValue)
      Default Constructor.

      Parameters:
      id - the unique id
      name - the name of the input field
      columnValue - the name of the column used for the value
  • Method Details

    • buttonHtml

      public String buttonHtml(org.opencms.workplace.CmsWorkplace wp)
      Specified by:
      buttonHtml in interface org.opencms.workplace.tools.I_CmsHtmlIconButton
      Overrides:
      buttonHtml in class CmsListItemSelectionAction
      See Also:
      • I_CmsHtmlIconButton.buttonHtml(CmsWorkplace)
    • getAttributes

      Returns the attributes.

      Returns:
      the attributes
    • getColumn

      public String getColumn()
      Returns the column.

      Returns:
      the column
    • getFieldName

      public String getFieldName()
      Returns the fieldName.

      Returns:
      the fieldName
    • setAttributes

      public void setAttributes(String attributes)
      Sets the attributes.

      Parameters:
      attributes - the attributes to set
    • setColumn

      public void setColumn(String column)
      Sets the column.

      Parameters:
      column - the column to set
    • setFieldName

      public void setFieldName(String fieldName)
      Sets the fieldName.

      Parameters:
      fieldName - the fieldName to set