public enum SelfLoopStyle extends Enum<SelfLoopStyle>
SelfLoopRouter.getLayoutStyle()
Enum Constant and Description |
---|
ORTHOGONAL
Self-loop style specifier which defines that the routes of self-loops are orthogonal.
|
ROUNDED
Self-loop style specifier which defines that the routes of self-loops are rounded.
|
Modifier and Type | Method and Description |
---|---|
static SelfLoopStyle |
fromOrdinal(int ordinal) |
int |
value() |
static SelfLoopStyle |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SelfLoopStyle[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SelfLoopStyle ORTHOGONAL
The routes consist of an alternating sequence of horizontal and vertical line segments.
public static final SelfLoopStyle ROUNDED
The distance between incident self-loops
and rounding of the corners
can be customized for rounded self-loops.
public static final SelfLoopStyle fromOrdinal(int ordinal)
public int value()
public static SelfLoopStyle 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 SelfLoopStyle[] values()
for (SelfLoopStyle c : SelfLoopStyle.values()) System.out.println(c);