|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jhotdraw.standard.AbstractConnector
org.jhotdraw.standard.ChopBoxConnector
org.jhotdraw.contrib.ChopDiamondConnector
A ChopDiamondConnector locates connection points by choping the connection between the centers of the two figures at the edge of a diamond figure.
Connector
,
Serialized FormConstructor Summary | |
ChopDiamondConnector()
|
|
ChopDiamondConnector(Figure owner)
|
Method Summary | |
protected java.awt.Point |
chop(Figure target,
java.awt.Point from)
Return an appropriate connection point on the edge of a diamond figure |
Methods inherited from class org.jhotdraw.standard.ChopBoxConnector |
findEnd, findStart |
Methods inherited from class org.jhotdraw.standard.AbstractConnector |
connectorVisibility, containsPoint, displayBox, draw, findPoint, owner, read, write |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ChopDiamondConnector()
public ChopDiamondConnector(Figure owner)
Method Detail |
protected java.awt.Point chop(Figure target, java.awt.Point from)
chop
in class ChopBoxConnector
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |