public enum ScreenDensity extends Enum<ScreenDensity> implements org.androidtransfuse.annotations.Labeled
| Modifier and Type | Method and Description |
|---|---|
String |
getLabel() |
static ScreenDensity |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ScreenDensity[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ScreenDensity LDPI
public static final ScreenDensity MDPI
public static final ScreenDensity HDPI
public static final ScreenDensity XHDPI
public static ScreenDensity[] values()
for (ScreenDensity c : ScreenDensity.values()) System.out.println(c);
public static ScreenDensity 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 String getLabel()
getLabel in interface org.androidtransfuse.annotations.LabeledCopyright © 2014. All Rights Reserved.