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:
Serializable
Enclosing class:
DefaultListenableGraph<V,E>

private static class DefaultListenableGraph.FlyweightEdgeEvent<VV,EE> extends GraphEdgeChangeEvent<VV,EE>
A reuseable edge event.
  • Field Details

  • Constructor Details

  • Method Details

    • 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)
    • setEdgeWeight

      protected void setEdgeWeight(double weight)
    • setType

      protected void setType(int type)
      Set the event type of this event.
      Parameters:
      type - the type to be set.