snap.graph
Class GraphChangeEvent

java.lang.Object
  |
  +--java.util.EventObject
        |
        +--snap.graph.GraphChangeEvent
All Implemented Interfaces:
java.io.Serializable

public class GraphChangeEvent
extends java.util.EventObject

An event that indicates that the graph has changed.

Author:
Nathan Conklin - nathan@conklinfamily.net, Chris North - north@cs.vt.edu, Varun Saini - vsaini@vt.edu, Umer Farooq - ufarooq@vt.edu, Aniket Prabhune - aprabhun@vt.edu
See Also:
Serialized Form

Field Summary
static int NODE_ADDED
           
static int NODE_REMOVED
           
 
Constructor Summary
GraphChangeEvent(java.lang.Object source, int eventType, snap.graph.Node node)
           
 
Method Summary
 int getEventType()
           
 snap.graph.Node getNode()
           
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

NODE_ADDED

public static final int NODE_ADDED
See Also:
Constant Field Values

NODE_REMOVED

public static final int NODE_REMOVED
See Also:
Constant Field Values
Constructor Detail

GraphChangeEvent

public GraphChangeEvent(java.lang.Object source,
                        int eventType,
                        snap.graph.Node node)
Method Detail

getEventType

public int getEventType()

getNode

public snap.graph.Node getNode()