public enum DisplayDensity extends Enum<DisplayDensity>
Enum Constant and Description |
---|
COMFORTABLE
The display density is comfortable.
|
COMPACT
The display density is compact.
|
Modifier and Type | Method and Description |
---|---|
UserMessage |
getLabel()
Returns the display density label.
|
static DisplayDensity |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DisplayDensity[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DisplayDensity COMPACT
public static final DisplayDensity COMFORTABLE
public static DisplayDensity[] values()
for (DisplayDensity c : DisplayDensity.values()) System.out.println(c);
public static DisplayDensity 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 UserMessage getLabel()