Package org.apache.myfaces.tobago.model
Enum SwitchType
- java.lang.Object
-
- java.lang.Enum<SwitchType>
-
- org.apache.myfaces.tobago.model.SwitchType
-
- All Implemented Interfaces:
Serializable
,Comparable<SwitchType>
public enum SwitchType extends Enum<SwitchType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description client
none
reloadPage
reloadTab
-
Field Summary
Fields Modifier and Type Field Description static String
CLIENT
static String
NONE
static String
RELOAD_PAGE
static String
RELOAD_TAB
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SwitchType
valueOf(String name)
Returns the enum constant of this type with the specified name.static SwitchType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
client
public static final SwitchType client
-
reloadPage
public static final SwitchType reloadPage
-
reloadTab
public static final SwitchType reloadTab
-
none
public static final SwitchType none
-
-
Field Detail
-
CLIENT
public static final String CLIENT
- See Also:
- Constant Field Values
-
RELOAD_PAGE
public static final String RELOAD_PAGE
- See Also:
- Constant Field Values
-
RELOAD_TAB
public static final String RELOAD_TAB
- See Also:
- Constant Field Values
-
NONE
public static final String NONE
- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static SwitchType[] 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 (SwitchType c : SwitchType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SwitchType valueOf(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-