Enum Class AlertAppHandler.UITab

java.lang.Object
java.lang.Enum<AlertAppHandler.UITab>
com.jalios.jcms.alert.AlertAppHandler.UITab
All Implemented Interfaces:
Serializable, Comparable<AlertAppHandler.UITab>, Constable
Enclosing class:
AlertAppHandler

public static enum AlertAppHandler.UITab extends Enum<AlertAppHandler.UITab>
Simple POJO to handle render of UI navigation tabs.
  • Enum Constant Details

  • Method Details

    • values

      public static AlertAppHandler.UITab[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static AlertAppHandler.UITab valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getAppHeaderTitle

      public String getAppHeaderTitle(String userLang)
      Parameters:
      userLang - the user lang
      Returns:
      the App header title
    • getValue

      public String getValue()
      Returns:
      the input's value to select this UITab.
    • getLabel

      public String getLabel(String userLang)
      Parameters:
      userLang - the user lang
      Returns:
      the I18N label for this UITab
    • getParamName

      protected String getParamName()
      Returns:
      the HTML input's name to select a UITab
    • getFromKey

      public static AlertAppHandler.UITab getFromKey(String str)
      Parameters:
      str - HTML input's value
      Returns:
      UITab instance given the HTML input's value
    • getNavigationUrl

      public String getNavigationUrl()
      Returns:
      the HREF to navigate to this tab.
    • getAppBodyJsp

      public String getAppBodyJsp()
      Returns:
      the JSP path to render the APP body associated to this tab.
    • getAppSidebarJsp

      public String getAppSidebarJsp()
      Returns:
      the JSP path to render the APP body associated to this tab.