Enum TextInputChannel.TextInputType
- java.lang.Object
-
- java.lang.Enum<TextInputChannel.TextInputType>
-
- io.flutter.embedding.engine.systemchannels.TextInputChannel.TextInputType
-
- All Implemented Interfaces:
Serializable
,Comparable<TextInputChannel.TextInputType>
- Enclosing class:
- TextInputChannel
public static enum TextInputChannel.TextInputType extends Enum<TextInputChannel.TextInputType>
Types of text input.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DATETIME
EMAIL_ADDRESS
MULTILINE
NAME
NONE
NUMBER
PHONE
POSTAL_ADDRESS
TEXT
URL
VISIBLE_PASSWORD
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static TextInputChannel.TextInputType
valueOf(String name)
Returns the enum constant of this type with the specified name.static TextInputChannel.TextInputType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
TEXT
public static final TextInputChannel.TextInputType TEXT
-
DATETIME
public static final TextInputChannel.TextInputType DATETIME
-
NAME
public static final TextInputChannel.TextInputType NAME
-
POSTAL_ADDRESS
public static final TextInputChannel.TextInputType POSTAL_ADDRESS
-
NUMBER
public static final TextInputChannel.TextInputType NUMBER
-
PHONE
public static final TextInputChannel.TextInputType PHONE
-
MULTILINE
public static final TextInputChannel.TextInputType MULTILINE
-
EMAIL_ADDRESS
public static final TextInputChannel.TextInputType EMAIL_ADDRESS
-
URL
public static final TextInputChannel.TextInputType URL
-
VISIBLE_PASSWORD
public static final TextInputChannel.TextInputType VISIBLE_PASSWORD
-
NONE
public static final TextInputChannel.TextInputType NONE
-
-
Method Detail
-
values
public static TextInputChannel.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 (TextInputChannel.TextInputType c : TextInputChannel.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 TextInputChannel.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
-
-