public static enum GraphView.SelectionType extends java.lang.Enum<GraphView.SelectionType>
Enum Constant and Description |
---|
BOTH
both (vertices and edges) are selectable
|
EDGES_ONLY
only edges are selectable
|
NONE
selection is not allowed
|
VERTICES_ONLY
only vertices are selectable
|
Modifier and Type | Method and Description |
---|---|
static GraphView.SelectionType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static GraphView.SelectionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GraphView.SelectionType NONE
public static final GraphView.SelectionType VERTICES_ONLY
public static final GraphView.SelectionType EDGES_ONLY
public static final GraphView.SelectionType BOTH
public static GraphView.SelectionType[] values()
for (GraphView.SelectionType c : GraphView.SelectionType.values()) System.out.println(c);
public static GraphView.SelectionType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namejava.lang.NullPointerException
- if the argument is null