JHotDraw 7.1

org.jhotdraw.draw
Class ChopEllipseConnector

java.lang.Object
  extended by org.jhotdraw.draw.AbstractConnector
      extended by org.jhotdraw.draw.ChopRectangleConnector
          extended by org.jhotdraw.draw.ChopEllipseConnector
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, Connector, DOMStorable

public class ChopEllipseConnector
extends ChopRectangleConnector

A ChopEllipseConnector locates a connection Point2D.Double by chopping the connection at the ellipse defined by the figure's display box.

Version:
2.1 2006-05-18 Reworked.
2.0 2006-01-14 Changed to support double precison coordinates.
1.0 2003-12-01 Derived from JHotDraw 5.4b1.
Author:
Werner Randelshofer
See Also:
Serialized Form

Constructor Summary
ChopEllipseConnector()
          Only used for DOMStorable input.
ChopEllipseConnector(Figure owner)
           
 
Method Summary
protected  java.awt.geom.Point2D.Double chop(Figure target, java.awt.geom.Point2D.Double from)
           
 
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

ChopEllipseConnector

public ChopEllipseConnector()
Only used for DOMStorable input.


ChopEllipseConnector

public ChopEllipseConnector(Figure owner)
Method Detail

chop

protected java.awt.geom.Point2D.Double chop(Figure target,
                                            java.awt.geom.Point2D.Double from)
Overrides:
chop in class ChopRectangleConnector

Copyright 1996-2007 (c) JHotDraw.org.
Some rights reserved.