public enum DecoratorPosition extends java.lang.Enum<DecoratorPosition>
Modifier and Type | Method and Description |
---|---|
int |
getCardinality() |
static DecoratorPosition |
valueOf(int i) |
static DecoratorPosition |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DecoratorPosition[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DecoratorPosition North
public static final DecoratorPosition South
public static final DecoratorPosition West
public static final DecoratorPosition East
public static DecoratorPosition[] values()
for (DecoratorPosition c : DecoratorPosition.values()) System.out.println(c);
public static DecoratorPosition valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic int getCardinality()
public static DecoratorPosition valueOf(int i)