scg.ac.ni.pmf.newgraph.graphdata
Class GraphEvent

java.lang.Object
  extended by scg.ac.ni.pmf.newgraph.graphdata.GraphEvent

public class GraphEvent
extends java.lang.Object

The exception is thrown when the graph was modified.

Author:
Vladimir Brankov

Constructor Summary
GraphEvent(Graph source)
          Constructs an instance of the exception.
 
Method Summary
 Graph getGraph()
          Retrieves the source of this event.
 java.lang.String toString()
          The string representation.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GraphEvent

public GraphEvent(Graph source)
Constructs an instance of the exception.

Parameters:
source - The source of the event.
Method Detail

getGraph

public Graph getGraph()
Retrieves the source of this event.

See Also:
EventObject.getSource()

toString

public java.lang.String toString()
The string representation.

Overrides:
toString in class java.lang.Object
See Also:
Object.toString()


Copyright © 2004 Dragan Stevanovic, Vladimir Brankov.