public enum Density extends Enum<Density>
Enum Constant and Description |
---|
HIGH
High.
|
LOW
Low.
|
MEDIUM
Medium.
|
XHIGH
Extra High.
|
XLOW
Extra low.
|
XXHIGH
Extra Extra High.
|
Modifier and Type | Method and Description |
---|---|
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 XLOW
public static final Density LOW
public static final Density MEDIUM
public static final Density HIGH
public static final Density XHIGH
public static final Density XXHIGH
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 nullCopyright © 2023. All rights reserved.