|
JHotDraw 7.0.6 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jhotdraw.draw.AbstractConnector
org.jhotdraw.draw.ChopBoxConnector
org.jhotdraw.draw.ChopDiamondConnector
public class ChopDiamondConnector
A ChopDiamondConnector locates connection points by choping the connection between the centers of the two figures at the edge of a diamond figure.
| Constructor Summary | |
|---|---|
ChopDiamondConnector()
|
|
ChopDiamondConnector(Figure owner)
|
|
| Method Summary | |
|---|---|
protected java.awt.geom.Point2D.Double |
chop(Figure target,
java.awt.geom.Point2D.Double from)
Return an appropriate connection point on the edge of a diamond figure |
| Methods inherited from class org.jhotdraw.draw.ChopBoxConnector |
|---|
findEnd, findStart |
| Methods inherited from class org.jhotdraw.draw.AbstractConnector |
|---|
clone, contains, draw, findPoint, getAnchor, getBounds, getConnectorTarget, getOwner, isConnectToDecorator, isVisible, read, setConnectToDecorator, setOwner, setVisible, updateAnchor, updateEndLocation, updateStartLocation, write |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ChopDiamondConnector()
public ChopDiamondConnector(Figure owner)
| Method Detail |
|---|
protected java.awt.geom.Point2D.Double chop(Figure target,
java.awt.geom.Point2D.Double from)
chop in class ChopBoxConnector
|
Copyright 1996-2006 © JHotDraw.org | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||