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
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
An event type pertaining to graph edges.static enum
Types of graph events.static class
An event type pertaining to graph vertices. -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionGraphEvent
(Graph<V, E> source, GraphEvent.Type type) Creates an instance with the specifiedsource
graph andType
(vertex/edge addition/removal). -
Method Summary
-
Field Details
-
source
-
type
-
-
Constructor Details
-
GraphEvent
Creates an instance with the specifiedsource
graph 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
-