Modifier and Type | Method and Description |
---|---|
java.lang.String |
className() |
java.lang.String |
scriptName() |
static Edge |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Edge[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Edge top
public static final Edge right
public static final Edge bottom
public static final Edge left
public static Edge[] values()
for (Edge c : Edge.values()) System.out.println(c);
public static 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 java.lang.String className()
public java.lang.String scriptName()