org.gephi.graph.api
Enum GraphEvent.EventType
java.lang.Object
java.lang.Enum<GraphEvent.EventType>
org.gephi.graph.api.GraphEvent.EventType
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<GraphEvent.EventType>
- Enclosing interface:
- GraphEvent
public static enum GraphEvent.EventType
- extends java.lang.Enum<GraphEvent.EventType>
- ADD_NODES: | Add nodes to the graph |
- REMOVE_NODES: | Remove nodes from the graph, with their edges |
- ADD_EDGES: | Add edges to the graph |
- REMOVE_EDGES: | Remove edges from the graph |
- MOVE_NODE: | Move nodes on the hierarchy, parent node is changed |
- VISIBLE_VIEW: | Current visible view is changed |
- NEW_VIEW: | A new view is created |
- DESTROY_VIEW: | A view is destroyed |
- EXPAND: | Expand nodes in the hierarchy |
- RETRACT: | Retract nodes in the hierarchy |
- META_EDGES_UPDATE | Meta-Edges are updated |
Method Summary |
static GraphEvent.EventType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static GraphEvent.EventType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared. |
Methods inherited from class java.lang.Enum |
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
ADD_NODES
public static final GraphEvent.EventType ADD_NODES
REMOVE_NODES
public static final GraphEvent.EventType REMOVE_NODES
ADD_EDGES
public static final GraphEvent.EventType ADD_EDGES
REMOVE_EDGES
public static final GraphEvent.EventType REMOVE_EDGES
MOVE_NODES
public static final GraphEvent.EventType MOVE_NODES
VISIBLE_VIEW
public static final GraphEvent.EventType VISIBLE_VIEW
NEW_VIEW
public static final GraphEvent.EventType NEW_VIEW
DESTROY_VIEW
public static final GraphEvent.EventType DESTROY_VIEW
EXPAND
public static final GraphEvent.EventType EXPAND
RETRACT
public static final GraphEvent.EventType RETRACT
META_EDGES_UPDATE
public static final GraphEvent.EventType META_EDGES_UPDATE
values
public static GraphEvent.EventType[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (GraphEvent.EventType c : GraphEvent.EventType.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static GraphEvent.EventType valueOf(java.lang.String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name
- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is null