org.jhotdraw.contrib
Class ChopPolygonConnector

java.lang.Object
  extended byorg.jhotdraw.standard.AbstractConnector
      extended byorg.jhotdraw.standard.ChopBoxConnector
          extended byorg.jhotdraw.contrib.ChopPolygonConnector
All Implemented Interfaces:
Connector, java.io.Serializable, Storable

public class ChopPolygonConnector
extends ChopBoxConnector

A ChopPolygonConnector locates a connection point by chopping the connection at the polygon boundary.

Version:
<$CURRENT_VERSION$>
See Also:
Serialized Form

Constructor Summary
ChopPolygonConnector()
           
ChopPolygonConnector(Figure owner)
           
 
Method Summary
protected  java.awt.Point chop(Figure target, java.awt.Point from)
           
 
Methods inherited from class org.jhotdraw.standard.ChopBoxConnector
findEnd, findStart
 
Methods inherited from class org.jhotdraw.standard.AbstractConnector
connectorVisibility, containsPoint, displayBox, draw, findPoint, owner, read, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChopPolygonConnector

public ChopPolygonConnector()

ChopPolygonConnector

public ChopPolygonConnector(Figure owner)
Method Detail

chop

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