Modifier and Type | Method and Description |
---|---|
Property<java.lang.Boolean> |
getLinkDirection() |
Edge |
getOppositeEdge() |
int |
getXDirection() |
int |
getYDirection() |
boolean |
isHorizontal() |
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 Left
public static final Edge Bottom
public static final Edge Right
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 Property<java.lang.Boolean> getLinkDirection()
public Edge getOppositeEdge()
public int getYDirection()
public int getXDirection()
public boolean isHorizontal()