CH.ifa.draw.standard
Class ChopBoxConnector
java.lang.Object
CH.ifa.draw.standard.AbstractConnector
CH.ifa.draw.standard.ChopBoxConnector
- All Implemented Interfaces:
- Connector, Storable, java.io.Serializable
- Direct Known Subclasses:
- ChopEllipseConnector, ChopPolygonConnector, PolyLineConnector
public class ChopBoxConnector
- extends AbstractConnector
A ChopBoxConnector locates connection points by
choping the connection between the centers of the
two figures at the display box.
- See Also:
Connector
,
Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ChopBoxConnector
public ChopBoxConnector()
ChopBoxConnector
public ChopBoxConnector(Figure owner)
findStart
public java.awt.Point findStart(ConnectionFigure connection)
- Description copied from interface:
Connector
- Finds the start point for the connection.
- Specified by:
findStart
in interface Connector
- Overrides:
findStart
in class AbstractConnector
findEnd
public java.awt.Point findEnd(ConnectionFigure connection)
- Description copied from interface:
Connector
- Finds the end point for the connection.
- Specified by:
findEnd
in interface Connector
- Overrides:
findEnd
in class AbstractConnector
chop
protected java.awt.Point chop(Figure target,
java.awt.Point from)