|
JHotDraw 7.1 | ||||||||
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.ChopRectangleConnector
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.ChopRectangleConnector |
---|
findEnd, findStart |
Methods inherited from class org.jhotdraw.draw.AbstractConnector |
---|
clone, contains, draw, findPoint, getAnchor, getBounds, getConnectorTarget, getDrawingArea, getOwner, isConnectToDecorator, read, setConnectToDecorator, setOwner, 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 ChopRectangleConnector
|
Copyright 1996-2007 (c) JHotDraw.org. Some rights reserved. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |