org.graphstream.util
Enum VerboseSink.EventType

java.lang.Object
  extended by java.lang.Enum<VerboseSink.EventType>
      extended by org.graphstream.util.VerboseSink.EventType
All Implemented Interfaces:
Serializable, Comparable<VerboseSink.EventType>
Enclosing class:
VerboseSink

public static enum VerboseSink.EventType
extends Enum<VerboseSink.EventType>

Enumeration defining type of events.


Enum Constant Summary
ADD_EDGE
           
ADD_EDGE_ATTRIBUTE
           
ADD_GRAPH_ATTRIBUTE
           
ADD_NODE
           
ADD_NODE_ATTRIBUTE
           
CLEAR
           
DEL_EDGE
           
DEL_EDGE_ATTRIBUTE
           
DEL_GRAPH_ATTRIBUTE
           
DEL_NODE
           
DEL_NODE_ATTRIBUTE
           
SET_EDGE_ATTRIBUTE
           
SET_GRAPH_ATTRIBUTE
           
SET_NODE_ATTRIBUTE
           
STEP_BEGINS
           
 
Method Summary
static VerboseSink.EventType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static VerboseSink.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
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

ADD_NODE

public static final VerboseSink.EventType ADD_NODE

ADD_NODE_ATTRIBUTE

public static final VerboseSink.EventType ADD_NODE_ATTRIBUTE

SET_NODE_ATTRIBUTE

public static final VerboseSink.EventType SET_NODE_ATTRIBUTE

DEL_NODE_ATTRIBUTE

public static final VerboseSink.EventType DEL_NODE_ATTRIBUTE

DEL_NODE

public static final VerboseSink.EventType DEL_NODE

ADD_EDGE

public static final VerboseSink.EventType ADD_EDGE

ADD_EDGE_ATTRIBUTE

public static final VerboseSink.EventType ADD_EDGE_ATTRIBUTE

SET_EDGE_ATTRIBUTE

public static final VerboseSink.EventType SET_EDGE_ATTRIBUTE

DEL_EDGE_ATTRIBUTE

public static final VerboseSink.EventType DEL_EDGE_ATTRIBUTE

DEL_EDGE

public static final VerboseSink.EventType DEL_EDGE

ADD_GRAPH_ATTRIBUTE

public static final VerboseSink.EventType ADD_GRAPH_ATTRIBUTE

SET_GRAPH_ATTRIBUTE

public static final VerboseSink.EventType SET_GRAPH_ATTRIBUTE

DEL_GRAPH_ATTRIBUTE

public static final VerboseSink.EventType DEL_GRAPH_ATTRIBUTE

CLEAR

public static final VerboseSink.EventType CLEAR

STEP_BEGINS

public static final VerboseSink.EventType STEP_BEGINS
Method Detail

values

public static VerboseSink.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 (VerboseSink.EventType c : VerboseSink.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 VerboseSink.EventType valueOf(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:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null


Copyright © 2013. All Rights Reserved.