Package org.jgrapht.graph
Class DefaultListenableGraph.FlyweightEdgeEvent<VV,EE>
- java.lang.Object
-
- java.util.EventObject
-
- org.jgrapht.event.GraphChangeEvent
-
- org.jgrapht.event.GraphEdgeChangeEvent<VV,EE>
-
- org.jgrapht.graph.DefaultListenableGraph.FlyweightEdgeEvent<VV,EE>
-
- All Implemented Interfaces:
java.io.Serializable
- Enclosing class:
- DefaultListenableGraph<V,E>
private static class DefaultListenableGraph.FlyweightEdgeEvent<VV,EE> extends GraphEdgeChangeEvent<VV,EE>
A reuseable edge event.- Since:
- Aug 10, 2003
-
-
Field Summary
Fields Modifier and Type Field Description private static long
serialVersionUID
-
Fields inherited from class org.jgrapht.event.GraphEdgeChangeEvent
BEFORE_EDGE_ADDED, BEFORE_EDGE_REMOVED, edge, EDGE_ADDED, EDGE_REMOVED, edgeSource, edgeTarget
-
Fields inherited from class org.jgrapht.event.GraphChangeEvent
type
-
-
Constructor Summary
Constructors Constructor Description FlyweightEdgeEvent(java.lang.Object eventSource, int type, EE e)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
setEdge(EE e)
Sets the edge of this event.protected void
setEdgeSource(VV v)
protected void
setEdgeTarget(VV v)
protected void
setType(int type)
Set the event type of this event.-
Methods inherited from class org.jgrapht.event.GraphEdgeChangeEvent
getEdge, getEdgeSource, getEdgeTarget
-
Methods inherited from class org.jgrapht.event.GraphChangeEvent
getType
-
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
FlyweightEdgeEvent
public FlyweightEdgeEvent(java.lang.Object eventSource, int type, EE e)
- See Also:
GraphEdgeChangeEvent
-
-
Method Detail
-
setEdge
protected void setEdge(EE e)
Sets the edge of this event.- Parameters:
e
- the edge to be set.
-
setEdgeSource
protected void setEdgeSource(VV v)
-
setEdgeTarget
protected void setEdgeTarget(VV v)
-
setType
protected void setType(int type)
Set the event type of this event.- Parameters:
type
- the type to be set.
-
-