public enum ResType extends Enum<ResType>
Enum Constant and Description |
---|
BOOL |
COLOR |
DIMEN_OFFSET |
DIMEN_SIZE |
DIMEN_TEXT |
DRAWABLE |
DRAWABLE_REFERENCE |
FLOAT |
INT |
INT_ARRAY |
NONE |
STRING |
STRING_ARRAY |
Modifier and Type | Method and Description |
---|---|
static ResType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ResType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ResType NONE
public static final ResType STRING
public static final ResType STRING_ARRAY
public static final ResType INT
public static final ResType INT_ARRAY
public static final ResType BOOL
public static final ResType COLOR
public static final ResType DIMEN_SIZE
public static final ResType DIMEN_OFFSET
public static final ResType DIMEN_TEXT
public static final ResType FLOAT
public static final ResType DRAWABLE
public static final ResType DRAWABLE_REFERENCE
public static ResType[] values()
for (ResType c : ResType.values()) System.out.println(c);
public static ResType 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