JHotDraw 7.0.6

org.jhotdraw.draw
Class ChopRoundRectConnector

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

public class ChopRoundRectConnector
extends ChopBoxConnector

A ChopRoundRectConnector locates a connection Point2D.Double by chopping the connection at the horizontal and vertica lines defined by the display box of a RoundRectangleFigure.

See Also:
Serialized Form

Constructor Summary
ChopRoundRectConnector()
          Only used for DOMStorable input.
ChopRoundRectConnector(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.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

ChopRoundRectConnector

public ChopRoundRectConnector()
Only used for DOMStorable input.


ChopRoundRectConnector

public ChopRoundRectConnector(Figure owner)
Method Detail

chop

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

Copyright 1996-2006 © JHotDraw.org