Class CmsListDirectAction

    • Field Summary

      • Fields inherited from class org.opencms.workplace.tools.A_CmsHtmlIconButton

        EMPTY_MESSAGE, m_id
    • Constructor Summary

      Constructors 
      Constructor Description
      CmsListDirectAction​(java.lang.String id)
      Default Constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String buttonHtml​(org.opencms.workplace.CmsWorkplace wp)  
      java.lang.String confirmationTextHtml()
      Generates a confirmation text div tag, to use in lists where all items use the same confirmation text.
      java.lang.String getColumnForTexts()
      Returns the id of the column to use as parameter for the helptext and confirmation message.
      CmsListItem getItem()
      Returns the current item.
      java.lang.String helpTextHtml()
      Generates a help text div tag, to use in lists where all items use the same help text.
      protected org.opencms.workplace.tools.CmsHtmlIconButtonStyleEnum resolveButtonStyle()
      Help method to resolve the style of the button.
      protected java.lang.String resolveHelpText​(java.util.Locale locale)
      Help method to resolve the help text to use.
      protected java.lang.String resolveName​(java.util.Locale locale)
      Help method to resolve the name to use.
      protected java.lang.String resolveOnClic​(java.util.Locale locale)
      Help method to resolve the on clic text to use.
      void setColumnForTexts​(java.lang.String columnId)
      Sets the id of the column to use as parameter for the helptext and confirmation message.
      void setItem​(CmsListItem item)
      Sets the current item, should be called before the I_CmsHtmlIconButton.buttonHtml(org.opencms.workplace.CmsWorkplace) method.
      • Methods inherited from class org.opencms.workplace.tools.A_CmsHtmlIconButton

        defaultButtonHtml, defaultButtonHtml, defaultHelpHtml, getHelpText, getIconPath, getId, getName, isEnabled, isVisible, setEnabled, setHelpText, setIconPath, setName, setVisible
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface org.opencms.workplace.tools.I_CmsHtmlIconButton

        getHelpText, getIconPath, getId, getName, isEnabled, isVisible, setEnabled, setHelpText, setIconPath, setName, setVisible