Package com.jalios.jcms.alert
Enum Class AlertAppHandler.UITab
- All Implemented Interfaces:
Serializable,Comparable<AlertAppHandler.UITab>,Constable
- Enclosing class:
AlertAppHandler
Simple POJO to handle render of UI navigation tabs.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptiongetAppHeaderTitle(String userLang) static AlertAppHandler.UITabgetFromKey(String str) protected StringgetValue()static AlertAppHandler.UITabReturns the enum constant of this class with the specified name.static AlertAppHandler.UITab[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ALERT
-
RECOMMENDATION
-
CUSTOMIZE
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-
getAppHeaderTitle
- Parameters:
userLang- the user lang- Returns:
- the App header title
-
getValue
- Returns:
- the input's value to select this UITab.
-
getLabel
- Parameters:
userLang- the user lang- Returns:
- the I18N label for this UITab
-
getParamName
- Returns:
- the HTML input's name to select a UITab
-
getFromKey
- Parameters:
str- HTML input's value- Returns:
- UITab instance given the HTML input's value
-
getAppBodyJsp
- Returns:
- the JSP path to render the APP body associated to this tab.
-
getAppSidebarJsp
- Returns:
- the JSP path to render the APP body associated to this tab.
-