public static enum TypedValue.DataType extends Enum<TypedValue.DataType>
Modifier and Type | Method and Description |
---|---|
static TypedValue.DataType |
fromValue(String value) |
String |
toString() |
String |
value() |
static TypedValue.DataType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TypedValue.DataType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TypedValue.DataType STRING
public static final TypedValue.DataType INTEGER
public static final TypedValue.DataType BOOLEAN
public static TypedValue.DataType[] values()
for (TypedValue.DataType c : TypedValue.DataType.values()) System.out.println(c);
public static TypedValue.DataType 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 nullpublic static TypedValue.DataType fromValue(String value)
public String toString()
toString
in class Enum<TypedValue.DataType>
public String value()