- java.lang.Object
 - 
- java.util.EventObject
 - 
- org.jgrapht.event.VertexTraversalEvent<V>
 
 
 
- 
- Type Parameters:
 V- the graph vertex type
- All Implemented Interfaces:
 java.io.Serializable
public class VertexTraversalEvent<V> extends java.util.EventObjectA traversal event for a graph vertex.- Author:
 - Barak Naveh
 - See Also:
 - Serialized Form
 
 
- 
- 
Constructor Summary
Constructors Constructor Description VertexTraversalEvent(java.lang.Object eventSource, V vertex)Creates a new VertexTraversalEvent. 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description VgetVertex()Returns the traversed vertex. 
 - 
 
- 
- 
Field Detail
- 
vertex
protected V vertex
The traversed vertex. 
 - 
 
- 
Constructor Detail
- 
VertexTraversalEvent
public VertexTraversalEvent(java.lang.Object eventSource, V vertex)Creates a new VertexTraversalEvent.- Parameters:
 eventSource- the source of the event.vertex- the traversed vertex.
 
 - 
 
- 
Method Detail
- 
getVertex
public V getVertex()
Returns the traversed vertex.- Returns:
 - the traversed vertex.
 
 
 - 
 
 -