JHotDraw 6.0b1

org.jhotdraw.figures
Class PolyLineConnector

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

public class PolyLineConnector
extends ChopBoxConnector

PolyLineConnector finds connection points on a PolyLineFigure.

See Also:
PolyLineFigure, Serialized Form

Field Summary
 
Fields inherited from class org.jhotdraw.standard.AbstractConnector
fOwner
 
Constructor Summary
PolyLineConnector()
           
PolyLineConnector(Figure owner)
          Constructs a connector with the given owner figure.
 
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

PolyLineConnector

public PolyLineConnector()

PolyLineConnector

public PolyLineConnector(Figure owner)
Constructs a connector with the given owner figure.

Method Detail

chop

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

JHotDraw 6.0b1