public static enum EdgeHandler.Edge extends java.lang.Enum<EdgeHandler.Edge>
Enum Constant and Description |
---|
Bottom |
CentersH |
CentersV |
Left |
Right |
Top |
Modifier and Type | Method and Description |
---|---|
boolean |
isCenter() |
static EdgeHandler.Edge |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static EdgeHandler.Edge[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EdgeHandler.Edge Top
public static final EdgeHandler.Edge Left
public static final EdgeHandler.Edge Bottom
public static final EdgeHandler.Edge Right
public static final EdgeHandler.Edge CentersH
public static final EdgeHandler.Edge CentersV
public static EdgeHandler.Edge[] values()
for (EdgeHandler.Edge c : EdgeHandler.Edge.values()) System.out.println(c);
public static EdgeHandler.Edge 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 boolean isCenter()