public static enum Decorator.Quadrant extends Enum<Decorator.Quadrant>
Enum Constant and Description |
---|
BOTTOM_LEFT |
MAIN |
TOP_LEFT |
Modifier and Type | Method and Description |
---|---|
static Decorator.Quadrant |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Decorator.Quadrant[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Decorator.Quadrant TOP_LEFT
public static final Decorator.Quadrant BOTTOM_LEFT
public static final Decorator.Quadrant MAIN
public static Decorator.Quadrant[] values()
for (Decorator.Quadrant c : Decorator.Quadrant.values()) System.out.println(c);
public static Decorator.Quadrant 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 © 2014. All rights reserved.