Interface Connector

    • Method Detail

      • getHeadSite

        Site getHeadSite()
        Get the site that marks the "head" of the connector.
        Returns:
        the "head" site.
      • getTailSite

        Site getTailSite()
        Get the site that marks the "tail" of the connector.
        Returns:
        The "tail" site
      • headMoved

        void headMoved()
        Inform the connector that the head site has moved. The connector is expected to reroute itself using an efficient means as is available. Repaint the figure.
      • reroute

        void reroute()
        Tell the connector to re-route itself. In general, implementations of this method should be more efficient than route(). Repaint the figure.
      • route

        void route()
        Tell the connector to route itself completely, using all available information. Repaint the figure.
      • setHeadSite

        void setHeadSite​(Site s)
        Set the site that marks the "head" of the connector.
        Parameters:
        s - The "head" site
      • setTailSite

        void setTailSite​(Site s)
        Set the site that marks the "tail" of the connector.
        Parameters:
        s - The "tail" site
      • tailMoved

        void tailMoved()
        Inform the connector that the tail site has moved. The connector is expected to reroute itself using an efficient means as is available. Repaint the figure.