Package edu.uci.ics.jung.graph.event
Class GraphEvent<V,E>
java.lang.Object
edu.uci.ics.jung.graph.event.GraphEvent<V,E>
- Type Parameters:
V- the vertex typeE- the edge type
- Direct Known Subclasses:
GraphEvent.Edge,GraphEvent.Vertex
- Author:
- tom nelson
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classAn event type pertaining to graph edges.static enumTypes of graph events.static classAn event type pertaining to graph vertices. -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionGraphEvent(Graph<V, E> source, GraphEvent.Type type) Creates an instance with the specifiedsourcegraph andType(vertex/edge addition/removal). -
Method Summary
-
Field Details
-
source
-
type
-
-
Constructor Details
-
GraphEvent
Creates an instance with the specifiedsourcegraph andType(vertex/edge addition/removal).- Parameters:
source- the graph whose event this istype- the type of event this is
-
-
Method Details
-
getSource
- Returns:
- the source
-
getType
- Returns:
- the type
-