Enum HtmlInputTypes
- java.lang.Object
-
- java.lang.Enum<HtmlInputTypes>
-
- org.apache.myfaces.tobago.renderkit.html.HtmlInputTypes
-
- All Implemented Interfaces:
Serializable
,Comparable<HtmlInputTypes>
,HtmlTypes
public enum HtmlInputTypes extends Enum<HtmlInputTypes> implements HtmlTypes
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getValue()
static HtmlInputTypes
valueOf(String name)
Returns the enum constant of this type with the specified name.static HtmlInputTypes[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
TEXT
public static final HtmlInputTypes TEXT
-
PASSWORD
public static final HtmlInputTypes PASSWORD
-
CHECKBOX
public static final HtmlInputTypes CHECKBOX
-
RADIO
public static final HtmlInputTypes RADIO
-
RANGE
public static final HtmlInputTypes RANGE
-
SUBMIT
public static final HtmlInputTypes SUBMIT
-
RESET
public static final HtmlInputTypes RESET
-
FILE
public static final HtmlInputTypes FILE
-
HIDDEN
public static final HtmlInputTypes HIDDEN
-
IMAGE
public static final HtmlInputTypes IMAGE
-
BUTTON
public static final HtmlInputTypes BUTTON
-
-
Method Detail
-
values
public static HtmlInputTypes[] 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 (HtmlInputTypes c : HtmlInputTypes.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static HtmlInputTypes 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
-
-