public static enum TextView.BufferType extends Enum<TextView.BufferType>
Modifier and Type | Method and Description |
---|---|
static TextView.BufferType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TextView.BufferType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TextView.BufferType NORMAL
public static final TextView.BufferType SPANNABLE
public static final TextView.BufferType EDITABLE
public static TextView.BufferType[] values()
for (TextView.BufferType c : TextView.BufferType.values()) System.out.println(c);
public static TextView.BufferType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is null