Class EdgeShape.Line

  • All Implemented Interfaces:
    com.google.common.base.Function<E,​java.awt.Shape>, java.util.function.Function<E,​java.awt.Shape>
    Enclosing class:
    EdgeShape<V,​E>

    public class EdgeShape.Line
    extends java.lang.Object
    implements com.google.common.base.Function<E,​java.awt.Shape>
    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 apply​(E e)
      Get the shape for this edge, returning either the shared instance or, in the case of self-loop edges, the Loop shared instance.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface com.google.common.base.Function

        equals
      • Methods inherited from interface java.util.function.Function

        andThen, compose
    • Constructor Detail

      • Line

        public Line()
    • Method Detail

      • apply

        public java.awt.Shape apply​(E e)
        Get the shape for this edge, returning either the shared instance or, in the case of self-loop edges, the Loop shared instance.
        Specified by:
        apply in interface com.google.common.base.Function<E,​java.awt.Shape>
        Specified by:
        apply in interface java.util.function.Function<E,​java.awt.Shape>