public static class ConnectorTutorial.SRTarget extends AbstractConnectorTarget
Constructor and Description |
---|
SRTarget() |
Modifier and Type | Method and Description |
---|---|
Site |
getHeadSite(Figure f,
double x,
double y)
Return the nearest site on the figure
|
acceptHead, acceptTail, getHeadSite, getHeadSite, getHeadSite, getTailSite, getTailSite, getTailSite, getTailSite
public Site getHeadSite(Figure f, double x, double y)
getHeadSite
in interface ConnectorTarget
getHeadSite
in class AbstractConnectorTarget