Class TransitionController.LinkTarget

    • Constructor Detail

      • LinkTarget

        public LinkTarget()
    • Method Detail

      • acceptHead

        public boolean acceptHead​(Connector c,
                                  Figure f)
        Description copied from class: AbstractConnectorTarget
        Return true if the given connector can be connected to the given figure. In this base class return true if the tail of the connector is not attached to the same figure.
        Overrides:
        acceptHead in class AbstractConnectorTarget
        Parameters:
        c - The connector
        f - The figure
        Returns:
        true if the tail of the connector can be connected to the figure
      • acceptTail

        public boolean acceptTail​(Connector c,
                                  Figure f)
        Description copied from class: AbstractConnectorTarget
        Return true if the given connector can be connected to the given figure. In this base class return true if the head of the connector is not attached to the same figure.
        Overrides:
        acceptTail in class AbstractConnectorTarget
        Parameters:
        c - The connector
        f - The figure
        Returns:
        true if the head of the connector can be connected to the figure