Class EdgeShape.Line<V,​E>

  • All Implemented Interfaces:
    org.apache.commons.collections4.Transformer<edu.uci.ics.jung.graph.util.Context<edu.uci.ics.jung.graph.Graph<V,​E>,​E>,​java.awt.Shape>
    Enclosing class:
    EdgeShape<V,​E>

    public static class EdgeShape.Line<V,​E>
    extends AbstractEdgeShapeTransformer<V,​E>
    An edge shape that renders as a straight line between the vertex endpoints.
    • Constructor Summary

      Constructors 
      Constructor Description
      Line()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.awt.Shape transform​(edu.uci.ics.jung.graph.util.Context<edu.uci.ics.jung.graph.Graph<V,​E>,​E> context)
      Get the shape for this edge, returning either the shared instance or, in the case of self-loop edges, the SimpleLoop shared instance.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Line

        public Line()
    • Method Detail

      • transform

        public java.awt.Shape transform​(edu.uci.ics.jung.graph.util.Context<edu.uci.ics.jung.graph.Graph<V,​E>,​E> context)
        Get the shape for this edge, returning either the shared instance or, in the case of self-loop edges, the SimpleLoop shared instance.