|
||||||||||
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
public class ChopBoxConnector
A ChopBoxConnector locates connection points by choping the connection between the centers of the two figures at the display box.
Connector
,
Serialized FormConstructor Summary | |
---|---|
ChopBoxConnector()
|
|
ChopBoxConnector(Figure owner)
|
Method Summary | |
---|---|
java.awt.Point |
findEnd(ConnectionFigure connection)
Finds the end point for the connection. |
java.awt.Point |
findStart(ConnectionFigure connection)
Finds the start point for the connection. |
Methods inherited from class org.jhotdraw.standard.AbstractConnector |
---|
connectorVisibility, containsPoint, displayBox, draw, owner, read, write |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ChopBoxConnector()
public ChopBoxConnector(Figure owner)
Method Detail |
---|
public java.awt.Point findStart(ConnectionFigure connection)
Connector
findStart
in interface Connector
findStart
in class AbstractConnector
public java.awt.Point findEnd(ConnectionFigure connection)
Connector
findEnd
in interface Connector
findEnd
in class AbstractConnector
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |