Interface EdgeShape

All Superinterfaces:
GraffitiShape, GraphElementShape, Shape
All Known Implementing Classes:
LineEdgeShape, PolyLineEdgeShape, QuadCurveEdgeShape, SmoothLineEdgeShape, StraightLineEdgeShape

public interface EdgeShape
extends GraphElementShape
DOCUMENT ME!
Version:
$Revision: 1.5 $
Author:
$Author: klukas $
  • Field Details

    • CLICK_TOLERANCE

      static final double CLICK_TOLERANCE
      The allowed distance of a mouse click from an edge where the edge is still selected.
      See Also:
      Constant Field Values
  • Method Details

    • getHeadArrow

      Shape getHeadArrow()
      Returns the shape representing the arrow at the target node.
      Returns:
      the shape representing the arrow at the target node.
    • getTailArrow

      Shape getTailArrow()
      Returns the shape representing the arrow at the source node.
      Returns:
      the shape representing the arrow at the source node.
    • buildShape

      void buildShape​(EdgeGraphicAttribute graphics, NodeShape source, NodeShape target) throws ShapeNotFoundException
      Called when one of the nodes belonging to this edge has changed.
      Parameters:
      graphics -
      source -
      target -
      Throws:
      ShapeNotFoundException