Package edu.uci.ics.jung.graph.event
Class GraphEvent.Vertex<V,E>
- java.lang.Object
-
- edu.uci.ics.jung.graph.event.GraphEvent<V,E>
-
- 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
Fields Modifier and Type Field Description protected V
vertex
-
Fields inherited from class edu.uci.ics.jung.graph.event.GraphEvent
source, type
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description V
getVertex()
Retrieves the vertex associated with this event.java.lang.String
toString()
-
Methods inherited from class edu.uci.ics.jung.graph.event.GraphEvent
getSource, getType
-
-
-
-
Field Detail
-
vertex
protected V vertex
-
-
Constructor Detail
-
Vertex
public 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 java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-