All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class CH.ifa.draw.standard.ChopBoxConnector

java.lang.Object
   |
   +----CH.ifa.draw.standard.AbstractConnector
           |
           +----CH.ifa.draw.standard.ChopBoxConnector

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

Constructor Index

 o ChopBoxConnector()
 o ChopBoxConnector(Figure)

Method Index

 o chop(Figure, Point)
 o findEnd(ConnectionFigure)
 o findStart(ConnectionFigure)

Constructors

 o ChopBoxConnector
 public ChopBoxConnector()
 o ChopBoxConnector
 public ChopBoxConnector(Figure owner)

Methods

 o findStart
 public Point findStart(ConnectionFigure connection)
Overrides:
findStart in class AbstractConnector
 o findEnd
 public Point findEnd(ConnectionFigure connection)
Overrides:
findEnd in class AbstractConnector
 o chop
 protected Point chop(Figure target,
                      Point from)

All Packages  Class Hierarchy  This Package  Previous  Next  Index