public static enum InputLayout.ErrorMode extends java.lang.Enum<InputLayout.ErrorMode>
Enum Constant and Description |
---|
Always |
Never |
WhenInvalid |
Modifier and Type | Method and Description |
---|---|
static InputLayout.ErrorMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static InputLayout.ErrorMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InputLayout.ErrorMode WhenInvalid
public static final InputLayout.ErrorMode Always
public static final InputLayout.ErrorMode Never
public static InputLayout.ErrorMode[] values()
for (InputLayout.ErrorMode c : InputLayout.ErrorMode.values()) System.out.println(c);
public static InputLayout.ErrorMode valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null