CH.ifa.draw.standard
Class ChopBoxConnector
- java.lang.Object
-
- CH.ifa.draw.standard.AbstractConnector
-
- CH.ifa.draw.standard.ChopBoxConnector
-
- 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
-
-
Constructor Summary
Constructors Constructor and Description ChopBoxConnector()ChopBoxConnector(Figure owner)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description java.awt.PointfindEnd(ConnectionFigure connection)Finds the end point for the connection.java.awt.PointfindStart(ConnectionFigure connection)Finds the start point for the connection.-
Methods inherited from class CH.ifa.draw.standard.AbstractConnector
containsPoint, displayBox, draw, owner, read, write
-
-
-
-
Constructor Detail
-
ChopBoxConnector
public ChopBoxConnector()
-
ChopBoxConnector
public ChopBoxConnector(Figure owner)
-
-
Method Detail
-
findStart
public java.awt.Point findStart(ConnectionFigure connection)
Description copied from interface:ConnectorFinds the start point for the connection.- Specified by:
findStartin interfaceConnector- Overrides:
findStartin classAbstractConnector
-
findEnd
public java.awt.Point findEnd(ConnectionFigure connection)
Description copied from interface:ConnectorFinds the end point for the connection.- Specified by:
findEndin interfaceConnector- Overrides:
findEndin classAbstractConnector
-
-
DataMelt 3.0 © DataMelt by jWork.ORG