Class A_CmsHtmlIconButton

    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.String defaultButtonHtml​(CmsHtmlIconButtonStyleEnum style, java.lang.String id, java.lang.String name, java.lang.String helpText, boolean enabled, java.lang.String iconPath, java.lang.String confirmationMessage, java.lang.String onClick)
      Generates a default html code for icon buttons.
      static java.lang.String defaultButtonHtml​(CmsHtmlIconButtonStyleEnum style, java.lang.String id, java.lang.String helpId, java.lang.String name, java.lang.String helpText, boolean enabled, java.lang.String iconPath, java.lang.String confirmationMessage, java.lang.String onClick, boolean singleHelp, java.lang.String rightHtml)
      Generates a default html code where several buttons can have the same help text.
      static java.lang.String defaultHelpHtml​(java.lang.String helpId, java.lang.String helpText)
      Generates html for the helptext when having one helptext for several buttons.
      CmsMessageContainer getHelpText()
      Returns the help text.
      java.lang.String getIconPath()
      Returns the path to the icon.
      java.lang.String getId()
      Returns the id of the html component.
      CmsMessageContainer getName()
      Returns the display name.
      boolean isEnabled()
      Returns if enabled or disabled.
      boolean isVisible()
      Returns if visible or not.
      void setEnabled​(boolean enabled)
      Sets if enabled or disabled.
      void setHelpText​(CmsMessageContainer helpText)
      Sets the help Text.
      void setIconPath​(java.lang.String iconPath)
      Sets the icon Path.
      void setName​(CmsMessageContainer name)
      Sets the name.
      void setVisible​(boolean visible)
      Sets if visible or not.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait