Class LinkController.LinkTarget

    • Constructor Detail

      • LinkTarget

        public LinkTarget()
    • Method Detail

      • acceptHead

        public boolean acceptHead​(Connector c,
                                  Figure f)
        Accept the head of the connector.
        Overrides:
        acceptHead in class AbstractConnectorTarget
        Parameters:
        c - The connector.
        f - The figure.
        Returns:
        True if the object is a Port, a Vertex or a Locatable contained by a Port and the super class accepts the head. Otherwise, return false.
      • acceptTail

        public boolean acceptTail​(Connector c,
                                  Figure f)
        Accept the tail of the connector.
        Overrides:
        acceptTail in class AbstractConnectorTarget
        Parameters:
        c - The connector.
        f - The figure.
        Returns:
        True if the object is a Port, a Vertex or a Locatable contained by a Port and the super class accepts the tail Otherwise, return false.