/** * Arranges the content for this title assuming no bounds on the width * or the height, and returns the required size. * * @param g2 the graphics target. * * @return The content size. */ protected Size2D arrangeNN(Graphics2D g2) { Range max = new Range(0.0, Float.MAX_VALUE); return arrangeRR(g2, max, max); }
/** * Arranges the content for this title assuming no bounds on the width * or the height, and returns the required size. * * @param g2 the graphics target. * * @return The content size. */ @Override protected Size2D arrangeNN(Graphics2D g2) { Range max = new Range(0.0, Float.MAX_VALUE); return arrangeRR(g2, max, max); }
contentSize = arrangeRR(g2, cc.getWidthRange(), cc.getHeightRange());
contentSize = arrangeRR(g2, cc.getWidthRange(), cc.getHeightRange());