public enum ConnectorDirection extends Enum<ConnectorDirection>
Enum Constant and Description |
---|
EAST
A direction constant that describes that the last connector segment points to the right.
|
NORTH
A direction constant that describes that the last connector segment points up.
|
SOUTH
A direction constant that describes that the last connector segment points down.
|
WEST
A direction constant that describes that the last connector segment points to the left.
|
Modifier and Type | Method and Description |
---|---|
static ConnectorDirection |
fromOrdinal(int ordinal) |
int |
value() |
static ConnectorDirection |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ConnectorDirection[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConnectorDirection EAST
TreeLayout.SubtreeShape
.public static final ConnectorDirection NORTH
TreeLayout.SubtreeShape
.public static final ConnectorDirection SOUTH
TreeLayout.SubtreeShape
.public static final ConnectorDirection WEST
TreeLayout.SubtreeShape
.public static final ConnectorDirection fromOrdinal(int ordinal)
public int value()
public static ConnectorDirection valueOf(String name)
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullname
- the name of the enum constant to be returned.public static ConnectorDirection[] values()
for (ConnectorDirection c : ConnectorDirection.values()) System.out.println(c);