Package org.patternfly.component.form
Enum TextInputType
- java.lang.Object
-
- java.lang.Enum<TextInputType>
-
- org.patternfly.component.form.TextInputType
-
- All Implemented Interfaces:
Serializable,Comparable<TextInputType>
public enum TextInputType extends Enum<TextInputType>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static TextInputTypevalueOf(String name)Returns the enum constant of this type with the specified name.static TextInputType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
date
public static final TextInputType date
-
datetime
public static final TextInputType datetime
-
email
public static final TextInputType email
-
month
public static final TextInputType month
-
number
public static final TextInputType number
-
password
public static final TextInputType password
-
search
public static final TextInputType search
-
tel
public static final TextInputType tel
-
text
public static final TextInputType text
-
time
public static final TextInputType time
-
url
public static final TextInputType url
-
-
Method Detail
-
values
public static TextInputType[] 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 (TextInputType c : TextInputType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TextInputType 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
-
-