public enum LayeringStrategy extends Enum<LayeringStrategy>
RadialLayout.getLayeringStrategy()
Enum Constant and Description |
---|
BFS
Specifier for a layering strategy that uses breadth first search (BFS) to determine a layering for the graph.
|
HIERARCHICAL
Specifier for a layering strategy that uses an optimal hierarchical layering strategy.
|
Modifier and Type | Method and Description |
---|---|
static LayeringStrategy |
fromOrdinal(int ordinal) |
int |
value() |
static LayeringStrategy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LayeringStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LayeringStrategy BFS
public static final LayeringStrategy HIERARCHICAL
public static final LayeringStrategy fromOrdinal(int ordinal)
public int value()
public static LayeringStrategy 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 LayeringStrategy[] values()
for (LayeringStrategy c : LayeringStrategy.values()) System.out.println(c);