org.jscience.computing.graph.events
Class VertexTraversalEvent

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

public class VertexTraversalEvent
extends java.util.EventObject

A traversal event for a graph vertex.

Since:
Aug 11, 2003
See Also:
Serialized Form

Field Summary
protected  java.lang.Object m_vertex
          The traversed vertex.
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
VertexTraversalEvent(java.lang.Object eventSource, java.lang.Object vertex)
          Creates a new VertexTraversalEvent.
 
Method Summary
 java.lang.Object getVertex()
          Returns the traversed vertex.
 
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_vertex

protected java.lang.Object m_vertex
The traversed vertex.

Constructor Detail

VertexTraversalEvent

public VertexTraversalEvent(java.lang.Object eventSource,
                            java.lang.Object vertex)
Creates a new VertexTraversalEvent.

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

getVertex

public java.lang.Object getVertex()
Returns the traversed vertex.

Returns:
the traversed vertex.