public enum Scope extends Enum<Scope>
OrganicLayout
and ClassicOrganicLayout
.Enum Constant and Description |
---|
ALL
Scope mode indicating that the algorithm should place all nodes of the graph.
|
MAINLY_SUBSET
Scope mode indicating that the algorithm should mainly place a subset of nodes.
|
SUBSET
Scope mode indicating that the algorithm should only place a subset of nodes.
|
Modifier and Type | Method and Description |
---|---|
static Scope |
fromOrdinal(int ordinal) |
int |
value() |
static Scope |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Scope[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Scope ALL
ClassicOrganicLayout.setScope(Scope)
public static final Scope MAINLY_SUBSET
The subset is determined by a boolean value returned by a IDataProvider
registered
with key
ClassicOrganicLayout.AFFECTED_NODES_DPKEY
. Nodes that don't belong to the
subset may be moved to a certain degree but will keep their relative positions to the other nodes outside the subset.
public static final Scope SUBSET
The subset is determined by a boolean value returned by a IDataProvider
registered
with key
ClassicOrganicLayout.AFFECTED_NODES_DPKEY
. Nodes not being part of the
subset will remain at their location.
public static final Scope fromOrdinal(int ordinal)
public int value()
public static Scope 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 Scope[] values()
for (Scope c : Scope.values()) System.out.println(c);