|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<IDensityBasedResourceValue.Density>
com.android.layoutlib.api.IDensityBasedResourceValue.Density
Density
.
@Deprecated public static enum IDensityBasedResourceValue.Density
Density.
Enum Constant Summary | |
---|---|
HIGH
Deprecated. |
|
LOW
Deprecated. |
|
MEDIUM
Deprecated. |
|
NODPI
Deprecated. |
|
XHIGH
Deprecated. |
Method Summary | |
---|---|
static IDensityBasedResourceValue.Density |
getEnum(int value)
Deprecated. Returns the enum matching the given density value |
int |
getValue()
Deprecated. |
static IDensityBasedResourceValue.Density |
valueOf(java.lang.String name)
Deprecated. Returns the enum constant of this type with the specified name. |
static IDensityBasedResourceValue.Density[] |
values()
Deprecated. Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final IDensityBasedResourceValue.Density XHIGH
public static final IDensityBasedResourceValue.Density HIGH
public static final IDensityBasedResourceValue.Density MEDIUM
public static final IDensityBasedResourceValue.Density LOW
public static final IDensityBasedResourceValue.Density NODPI
Method Detail |
---|
public static IDensityBasedResourceValue.Density[] values()
for (IDensityBasedResourceValue.Density c : IDensityBasedResourceValue.Density.values()) System.out.println(c);
public static IDensityBasedResourceValue.Density 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 name
java.lang.NullPointerException
- if the argument is nullpublic int getValue()
public static IDensityBasedResourceValue.Density getEnum(int value)
value
- The density value.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |