ptolemy.vergil.fsm
Class TransitionController.LinkTarget

java.lang.Object
  extended bydiva.canvas.connector.AbstractConnectorTarget
      extended bydiva.canvas.connector.PerimeterTarget
          extended byptolemy.vergil.fsm.TransitionController.LinkTarget
All Implemented Interfaces:
ConnectorTarget
Enclosing class:
TransitionController

public class TransitionController.LinkTarget
extends PerimeterTarget


Constructor Summary
TransitionController.LinkTarget()
           
 
Method Summary
 boolean acceptHead(Connector c, Figure f)
          Return true if the given connector can be connected to the given figure.
 boolean acceptTail(Connector c, Figure f)
          Return true if the given connector can be connected to the given figure.
 
Methods inherited from class diva.canvas.connector.PerimeterTarget
getHeadSite
 
Methods inherited from class diva.canvas.connector.AbstractConnectorTarget
getHeadSite, getHeadSite, getHeadSite, getTailSite, getTailSite, getTailSite, getTailSite
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TransitionController.LinkTarget

public TransitionController.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

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