public static enum Graph.NodeEvent extends Enum<Graph.NodeEvent>
Graph.NodeEventListener
.Enum Constant and Description |
---|
INPUT_CHANGED
A node's input is changed.
|
NODE_ADDED
A node was added to a graph.
|
ZERO_USAGES
A node's usages count dropped to zero.
|
Modifier and Type | Method and Description |
---|---|
static Graph.NodeEvent |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Graph.NodeEvent[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Graph.NodeEvent INPUT_CHANGED
public static final Graph.NodeEvent ZERO_USAGES
public static final Graph.NodeEvent NODE_ADDED
public static Graph.NodeEvent[] values()
for (Graph.NodeEvent c : Graph.NodeEvent.values()) System.out.println(c);
public static Graph.NodeEvent valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null