Enum TextInputKind
- java.lang.Object
-
- java.lang.Enum<TextInputKind>
-
- cn.mapway.ui.client.mvc.attribute.editor.textbox.TextInputKind
-
- All Implemented Interfaces:
Serializable,Comparable<TextInputKind>
public enum TextInputKind extends Enum<TextInputKind>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static TextInputKindvalueOf(String name)Returns the enum constant of this type with the specified name.static TextInputKindvalueOfName(String name)static TextInputKind[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
TEXT
public static final TextInputKind TEXT
-
EMAIL
public static final TextInputKind EMAIL
-
NUMBER
public static final TextInputKind NUMBER
-
DATE
public static final TextInputKind DATE
-
TIME
public static final TextInputKind TIME
-
PHONE
public static final TextInputKind PHONE
-
URL
public static final TextInputKind URL
-
DATE_TIME
public static final TextInputKind DATE_TIME
-
-
Method Detail
-
values
public static TextInputKind[] 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 (TextInputKind c : TextInputKind.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TextInputKind 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
-
valueOfName
public static TextInputKind valueOfName(String name)
-
-