org.jscience.computing.graph.events
Class EdgeTraversalEvent

java.lang.Object
  extended by java.util.EventObject
      extended by org.jscience.computing.graph.events.EdgeTraversalEvent
All Implemented Interfaces:
java.io.Serializable

public class EdgeTraversalEvent
extends java.util.EventObject

A traversal event for a graph edge.

Since:
Aug 11, 2003
See Also:
Serialized Form

Field Summary
protected  Edge m_edge
          The traversed edge.
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
EdgeTraversalEvent(java.lang.Object eventSource, Edge edge)
          Creates a new EdgeTraversalEvent.
 
Method Summary
 Edge getEdge()
          Returns the traversed edge.
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

m_edge

protected Edge m_edge
The traversed edge.

Constructor Detail

EdgeTraversalEvent

public EdgeTraversalEvent(java.lang.Object eventSource,
                          Edge edge)
Creates a new EdgeTraversalEvent.

Parameters:
eventSource - the source of the event.
edge - the traversed edge.
Method Detail

getEdge

public Edge getEdge()
Returns the traversed edge.

Returns:
the traversed edge.