protected class EdgeController.EdgeTarget extends PerimeterTarget
Modifier | Constructor and Description |
---|---|
protected |
EdgeTarget() |
Modifier and Type | Method and Description |
---|---|
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.
|
Site |
getHeadSite(Figure f,
double x,
double y)
If we have any terminals, then return the connection
site of the terminal instead of a new perimeter site.
|
getHeadSite, getHeadSite, getHeadSite, getTailSite, getTailSite, getTailSite, getTailSite
public boolean acceptHead(Connector c, Figure f)
AbstractConnectorTarget
acceptHead
in class AbstractConnectorTarget
public boolean acceptTail(Connector c, Figure f)
AbstractConnectorTarget
acceptTail
in class AbstractConnectorTarget
public Site getHeadSite(Figure f, double x, double y)
getHeadSite
in interface ConnectorTarget
getHeadSite
in class PerimeterTarget
Copyright © 2024 Central Laboratory of the Research Councils. All Rights Reserved.