net.sourceforge.fluxion.graph.listener
Class GraphChangeEvent

java.lang.Object
  extended by net.sourceforge.fluxion.graph.listener.GraphChangeEvent

public class GraphChangeEvent
extends java.lang.Object

Javadocs go here.

Version:
1.0
Author:
Tony Burdett

Field Summary
static int EDGE_ADDED
           
static int EDGE_REMOVED
           
static int NODE_ADDED
           
static int NODE_REMOVED
           
static int RENAMING_EVENT
           
 
Constructor Summary
GraphChangeEvent(int changeType, Graph newGraph, long time)
           
 
Method Summary
 int getChangeType()
           
 Edge getEdge()
           
 Graph getNewGraph()
           
 Node getNode()
           
 long getTime()
           
 void setEdgeChanged(Edge edge)
           
 void setNodeChanged(Node node)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, 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

EDGE_ADDED

public static final int EDGE_ADDED
See Also:
Constant Field Values

EDGE_REMOVED

public static final int EDGE_REMOVED
See Also:
Constant Field Values

RENAMING_EVENT

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

GraphChangeEvent

public GraphChangeEvent(int changeType,
                        Graph newGraph,
                        long time)
Method Detail

setNodeChanged

public void setNodeChanged(Node node)

setEdgeChanged

public void setEdgeChanged(Edge edge)

getChangeType

public int getChangeType()

getEdge

public Edge getEdge()

getNode

public Node getNode()

getNewGraph

public Graph getNewGraph()

getTime

public long getTime()


Copyright © 2010. All Rights Reserved.