Enum AlertAppHandler.UITab

    • Method Detail

      • values

        public static AlertAppHandler.UITab[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (AlertAppHandler.UITab c : AlertAppHandler.UITab.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static AlertAppHandler.UITab valueOf​(java.lang.String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • getAppHeaderTitle

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

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

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

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

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

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

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

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