Interface ConnectingFigure

All Superinterfaces:
Figure, PropertyBean, StyleableBean, StyleablePropertyBean, TreeNode<Figure>
All Known Subinterfaces:
LineConnectingFigure
All Known Implementing Classes:
AbstractElbowLineConnectionWithMarkersFigure, AbstractLabelConnectionFigure, AbstractLineConnectionFigure, AbstractPathConnectionWithMarkersFigure, AbstractStraightLineConnectionWithMarkersFigure, LineConnectionFigure, LineConnectionWithMarkersFigure, SimpleLabelConnectionFigure

public interface ConnectingFigure extends Figure
ConnectingFigure.
Author:
Werner Randelshofer
  • Method Details

    • canConnect

      default boolean canConnect(Figure figure, Connector connector)
      Returns true if this figure can connect to the specified figure with the specified connector.
      Parameters:
      figure - The figure to which we want connect
      connector - The connector that we want to use
      Returns:
      true if the connection is supported