public enum Scope extends Enum<Scope>
Enum Constant and Description |
---|
ROUTE_AFFECTED_EDGES
A scope specifier which defines that only the selected edges of the input graph will be routed.
|
ROUTE_ALL_EDGES
A scope specifier which defines that all edges of the input graph will be routed.
|
ROUTE_EDGES_AT_AFFECTED_NODES
A scope specifier which defines that only edges incident to selected nodes will be routed.
|
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 ROUTE_AFFECTED_EDGES
The selection state of an edge is determined by a boolean value returned by a IDataProvider
registered with key AffectedEdgesDpKey
.
All other non-selected edges will be considered to have fixed routes.
public static final Scope ROUTE_ALL_EDGES
BusRouter.setScope(Scope)
public static final Scope ROUTE_EDGES_AT_AFFECTED_NODES
The selection state of a node is determined by a boolean value returned by a IDataProvider
registered with key
AffectedNodesDpKey
.
All other edges that are incident to non-selected nodes will be considered to have fixed routes.
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);