|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectdiva.canvas.connector.AbstractConnectorTarget
diva.canvas.connector.PerimeterTarget
A connector target that returns sites on the perimeter of a figure.
| Constructor Summary | |
PerimeterTarget()
|
|
| Method Summary | |
Site |
getHeadSite(Figure f,
double x,
double y)
Return the nearest site on the figure if the figure is not a connector |
| Methods inherited from class diva.canvas.connector.AbstractConnectorTarget |
acceptHead, acceptTail, 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 |
public PerimeterTarget()
| Method Detail |
public Site getHeadSite(Figure f,
double x,
double y)
getHeadSite in interface ConnectorTargetgetHeadSite in class AbstractConnectorTarget
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||