|
JHotDraw 7.5.1 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jhotdraw.draw.connector.AbstractConnector
org.jhotdraw.draw.connector.ChopRectangleConnector
org.jhotdraw.draw.connector.ChopDiamondConnector
public class ChopDiamondConnector
A Connector which locates a connection point at the bounds
of any figure which has a diamond shape, such as DiamondFigure.
| 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.connector.ChopRectangleConnector |
|---|
findEnd, findStart |
| Methods inherited from class org.jhotdraw.draw.connector.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-2010 (c) by the authors and contributors of the JHotDraw project. Some rights reserved. |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||