Class EdgeShape.Line

java.lang.Object
edu.uci.ics.jung.visualization.decorators.EdgeShape.Line
All Implemented Interfaces:
com.google.common.base.Function<E,Shape>, Function<E,Shape>
Enclosing class:
EdgeShape<V,E>

public class EdgeShape.Line extends Object implements com.google.common.base.Function<E,Shape>
An edge shape that renders as a straight line between the vertex endpoints.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    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 Details

    • Line

      public Line()
  • Method Details

    • apply

      public 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,Shape>
      Specified by:
      apply in interface Function<E,Shape>