public static class LinkController.LinkTarget extends PerimeterTarget
Constructor and Description |
---|
LinkTarget() |
Modifier and Type | Method and Description |
---|---|
boolean |
acceptHead(Connector c,
Figure f)
Accept the head of the connector.
|
boolean |
acceptTail(Connector c,
Figure f)
Accept the tail of the connector.
|
Site |
getHeadSite(Figure f,
double x,
double y)
Get the head site.
|
getHeadSite, getHeadSite, getHeadSite, getTailSite, getTailSite, getTailSite, getTailSite
public boolean acceptHead(Connector c, Figure f)
acceptHead
in class AbstractConnectorTarget
c
- The connector.f
- The figure.public boolean acceptTail(Connector c, Figure f)
acceptTail
in class AbstractConnectorTarget
c
- The connector.f
- The figure.public Site getHeadSite(Figure f, double x, double y)
getHeadSite
in interface ConnectorTarget
getHeadSite
in class PerimeterTarget
f
- The figure.x
- The x location.y
- The y location.