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
-
-
Field Summary
Fields Modifier and Type Field Description static String
STRING_BUTTON
static String
STRING_CHECKBOX
static String
STRING_COLOR
static String
STRING_DATE
static String
STRING_DATETIME
Deprecated.static String
STRING_DATETIME_LOCAL
static String
STRING_EMAIL
static String
STRING_FILE
static String
STRING_HIDDEN
static String
STRING_IMAGE
static String
STRING_MONTH
static String
STRING_NUMBER
static String
STRING_PASSWORD
static String
STRING_RADIO
static String
STRING_RANGE
static String
STRING_RESET
static String
STRING_SEARCH
static String
STRING_SUBMIT
static String
STRING_TEL
static String
STRING_TEXT
static String
STRING_TIME
static String
STRING_URL
static String
STRING_WEEK
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getValue()
boolean
supportsDate()
boolean
supportsTime()
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
-
COLOR
public static final HtmlInputTypes COLOR
-
DATE
public static final HtmlInputTypes DATE
-
DATETIME
@Deprecated public static final HtmlInputTypes DATETIME
Deprecated.
-
DATETIME_LOCAL
public static final HtmlInputTypes DATETIME_LOCAL
-
EMAIL
public static final HtmlInputTypes EMAIL
-
MONTH
public static final HtmlInputTypes MONTH
-
NUMBER
public static final HtmlInputTypes NUMBER
-
SEARCH
public static final HtmlInputTypes SEARCH
-
TEL
public static final HtmlInputTypes TEL
-
TIME
public static final HtmlInputTypes TIME
-
URL
public static final HtmlInputTypes URL
-
WEEK
public static final HtmlInputTypes WEEK
-
-
Field Detail
-
STRING_TEXT
public static final String STRING_TEXT
- See Also:
- Constant Field Values
-
STRING_PASSWORD
public static final String STRING_PASSWORD
- See Also:
- Constant Field Values
-
STRING_CHECKBOX
public static final String STRING_CHECKBOX
- See Also:
- Constant Field Values
-
STRING_RADIO
public static final String STRING_RADIO
- See Also:
- Constant Field Values
-
STRING_RANGE
public static final String STRING_RANGE
- See Also:
- Constant Field Values
-
STRING_SUBMIT
public static final String STRING_SUBMIT
- See Also:
- Constant Field Values
-
STRING_RESET
public static final String STRING_RESET
- See Also:
- Constant Field Values
-
STRING_FILE
public static final String STRING_FILE
- See Also:
- Constant Field Values
-
STRING_HIDDEN
public static final String STRING_HIDDEN
- See Also:
- Constant Field Values
-
STRING_IMAGE
public static final String STRING_IMAGE
- See Also:
- Constant Field Values
-
STRING_BUTTON
public static final String STRING_BUTTON
- See Also:
- Constant Field Values
-
STRING_COLOR
public static final String STRING_COLOR
- See Also:
- Constant Field Values
-
STRING_DATE
public static final String STRING_DATE
- See Also:
- Constant Field Values
-
STRING_DATETIME
@Deprecated public static final String STRING_DATETIME
Deprecated.- See Also:
- Constant Field Values
-
STRING_DATETIME_LOCAL
public static final String STRING_DATETIME_LOCAL
- See Also:
- Constant Field Values
-
STRING_EMAIL
public static final String STRING_EMAIL
- See Also:
- Constant Field Values
-
STRING_MONTH
public static final String STRING_MONTH
- See Also:
- Constant Field Values
-
STRING_NUMBER
public static final String STRING_NUMBER
- See Also:
- Constant Field Values
-
STRING_SEARCH
public static final String STRING_SEARCH
- See Also:
- Constant Field Values
-
STRING_TEL
public static final String STRING_TEL
- See Also:
- Constant Field Values
-
STRING_TIME
public static final String STRING_TIME
- See Also:
- Constant Field Values
-
STRING_URL
public static final String STRING_URL
- See Also:
- Constant Field Values
-
STRING_WEEK
public static final String STRING_WEEK
- See Also:
- Constant Field Values
-
-
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
-
supportsDate
public final boolean supportsDate()
-
supportsTime
public final boolean supportsTime()
-
-