public static enum Resource.Type extends java.lang.Enum<Resource.Type>
| Enum Constant and Description |
|---|
ARRAY |
BOOLEAN |
COLOR |
DIMEN |
DRAWABLE |
ID |
INTEGER |
STRING |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Resource.Type type) |
boolean |
equals(java.lang.String resourceType) |
java.lang.String |
toString() |
static Resource.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Resource.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Resource.Type BOOLEAN
public static final Resource.Type COLOR
public static final Resource.Type DIMEN
public static final Resource.Type ID
public static final Resource.Type INTEGER
public static final Resource.Type ARRAY
public static final Resource.Type STRING
public static final Resource.Type DRAWABLE
public static Resource.Type[] values()
for (Resource.Type c : Resource.Type.values()) System.out.println(c);
public static Resource.Type 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 nullpublic boolean equals(Resource.Type type)
public boolean equals(java.lang.String resourceType)
public java.lang.String toString()
toString in class java.lang.Enum<Resource.Type>