public enum Density extends Enum<Density>
| Enum Constant and Description |
|---|
DEVICE
Density.
|
HIGH
Density.
|
LOW
Density.
|
MEDIUM
Density.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getValue() |
static Density |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Density[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Density LOW
public static final Density MEDIUM
public static final Density HIGH
public static final Density DEVICE
public static Density[] values()
for (Density c : Density.values()) System.out.println(c);
public static Density 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 getValue()
Copyright © 2011–2015 SWM. All rights reserved.