Gephi Toolkit Javadoc

org.gephi.graph.api
Enum GraphEvent.EventType

java.lang.Object
  extended by java.lang.Enum<GraphEvent.EventType>
      extended by 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_AND_EDGES:Add nodes and edges to the graph
- REMOVE_NODES_AND_EDGES:Remove nodes and edges from the graph, with their edges
- 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_UPDATEMeta-Edges are updated


Enum Constant Summary
ADD_NODES_AND_EDGES
           
DESTROY_VIEW
           
EXPAND
           
META_EDGES_UPDATE
           
MOVE_NODES
           
NEW_VIEW
           
REMOVE_NODES_AND_EDGES
           
RETRACT
           
VISIBLE_VIEW
           
 
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
 

Enum Constant Detail

ADD_NODES_AND_EDGES

public static final GraphEvent.EventType ADD_NODES_AND_EDGES

REMOVE_NODES_AND_EDGES

public static final GraphEvent.EventType REMOVE_NODES_AND_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
Method Detail

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

Gephi Toolkit Javadoc