/** Gets the display box of the connector. */ @Override public Rectangle2D.Double getBounds() { Point2D.Double p = locator.locate(getOwner()); return new Rectangle2D.Double(p.x - SIZE / 2, p.y - SIZE / 2, SIZE, SIZE); }
protected Point2D.Double locate(ConnectionFigure connection) { return locator.locate(getOwner()); }