Module org.jgrapht.core
Package org.jgrapht.graph
Class DefaultListenableGraph.FlyweightVertexEvent<VV>
- java.lang.Object
-
- java.util.EventObject
-
- org.jgrapht.event.GraphChangeEvent
-
- org.jgrapht.event.GraphVertexChangeEvent<VV>
-
- org.jgrapht.graph.DefaultListenableGraph.FlyweightVertexEvent<VV>
-
- All Implemented Interfaces:
java.io.Serializable
- Enclosing class:
- DefaultListenableGraph<V,E>
private static class DefaultListenableGraph.FlyweightVertexEvent<VV> extends GraphVertexChangeEvent<VV>
A reuseable vertex event.
-
-
Field Summary
Fields Modifier and Type Field Description private static longserialVersionUID-
Fields inherited from class org.jgrapht.event.GraphVertexChangeEvent
BEFORE_VERTEX_ADDED, BEFORE_VERTEX_REMOVED, vertex, VERTEX_ADDED, VERTEX_REMOVED
-
Fields inherited from class org.jgrapht.event.GraphChangeEvent
type
-
-
Constructor Summary
Constructors Constructor Description FlyweightVertexEvent(java.lang.Object eventSource, int type, VV vertex)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidsetType(int type)Set the event type of this event.protected voidsetVertex(VV vertex)Sets the vertex of this event.-
Methods inherited from class org.jgrapht.event.GraphVertexChangeEvent
getVertex
-
Methods inherited from class org.jgrapht.event.GraphChangeEvent
getType
-
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
FlyweightVertexEvent
public FlyweightVertexEvent(java.lang.Object eventSource, int type, VV vertex)
-
-
Method Detail
-
setType
protected void setType(int type)
Set the event type of this event.- Parameters:
type- type to be set.
-
setVertex
protected void setVertex(VV vertex)
Sets the vertex of this event.- Parameters:
vertex- the vertex to be set.
-
-