JHotDraw 6.0b1

org.jhotdraw.contrib
Class ChopPolygonConnector

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

public class ChopPolygonConnector
extends ChopBoxConnector

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

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.jhotdraw.standard.AbstractConnector
fOwner
 
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
connectorMovedTo, connectorVisibility, containsPoint, displayBox, draw, finalizeConnector, 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

JHotDraw 6.0b1