edu.uci.ics.jung.graph.event
Class GraphEvent.Vertex<V,E>

java.lang.Object
  extended by edu.uci.ics.jung.graph.event.GraphEvent<V,E>
      extended by edu.uci.ics.jung.graph.event.GraphEvent.Vertex<V,E>
Enclosing class:
GraphEvent<V,E>

public static class GraphEvent.Vertex<V,E>
extends GraphEvent<V,E>

An event type pertaining to graph vertices.


Nested Class Summary
 
Nested classes/interfaces inherited from class edu.uci.ics.jung.graph.event.GraphEvent
GraphEvent.Edge<V,E>, GraphEvent.Type, GraphEvent.Vertex<V,E>
 
Field Summary
protected  V vertex
           
 
Fields inherited from class edu.uci.ics.jung.graph.event.GraphEvent
source, type
 
Constructor Summary
GraphEvent.Vertex(Graph<V,E> source, GraphEvent.Type type, V vertex)
          Creates a graph event for the specified graph, vertex, and type.
 
Method Summary
 V getVertex()
          Retrieves the vertex associated with this event.
 String toString()
           
 
Methods inherited from class edu.uci.ics.jung.graph.event.GraphEvent
getSource, getType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

vertex

protected V vertex
Constructor Detail

GraphEvent.Vertex

public GraphEvent.Vertex(Graph<V,E> source,
                         GraphEvent.Type type,
                         V vertex)
Creates a graph event for the specified graph, vertex, and type.

Method Detail

getVertex

public V getVertex()
Retrieves the vertex associated with this event.


toString

public String toString()
Overrides:
toString in class Object


Copyright © 2009. All Rights Reserved.