= this.getCategoryLabelPositions().getLabelPosition(edge); double x0 = 0.0; double x1 = 0.0;
/** * Returns a new instance based on an existing instance but with the bottom * position changed. * * @param base the base (<code>null</code> not permitted). * @param bottom the bottom position (<code>null</code> not permitted). * * @return A new instance (never <code>null</code>). */ public static CategoryLabelPositions replaceBottomPosition( CategoryLabelPositions base, CategoryLabelPosition bottom) { if (base == null) { throw new IllegalArgumentException("Null 'base' argument."); } if (bottom == null) { throw new IllegalArgumentException("Null 'bottom' argument."); } return new CategoryLabelPositions( base.getLabelPosition(RectangleEdge.TOP), bottom, base.getLabelPosition(RectangleEdge.LEFT), base.getLabelPosition(RectangleEdge.RIGHT) ); }
/** * Returns a new instance based on an existing instance but with the left * position changed. * * @param base the base (<code>null</code> not permitted). * @param left the left position (<code>null</code> not permitted). * * @return A new instance (never <code>null</code>). */ public static CategoryLabelPositions replaceLeftPosition( CategoryLabelPositions base, CategoryLabelPosition left) { if (base == null) { throw new IllegalArgumentException("Null 'base' argument."); } if (left == null) { throw new IllegalArgumentException("Null 'left' argument."); } return new CategoryLabelPositions( base.getLabelPosition(RectangleEdge.TOP), base.getLabelPosition(RectangleEdge.BOTTOM), left, base.getLabelPosition(RectangleEdge.RIGHT) ); }
/** * Returns a new instance based on an existing instance but with the top * position changed. * * @param base the base (<code>null</code> not permitted). * @param top the top position (<code>null</code> not permitted). * * @return A new instance (never <code>null</code>). */ public static CategoryLabelPositions replaceTopPosition( CategoryLabelPositions base, CategoryLabelPosition top) { if (base == null) { throw new IllegalArgumentException("Null 'base' argument."); } if (top == null) { throw new IllegalArgumentException("Null 'top' argument."); } return new CategoryLabelPositions( top, base.getLabelPosition(RectangleEdge.BOTTOM), base.getLabelPosition(RectangleEdge.LEFT), base.getLabelPosition(RectangleEdge.RIGHT) ); }
/** * Returns a new instance based on an existing instance but with the right * position changed. * * @param base the base (<code>null</code> not permitted). * @param right the right position (<code>null</code> not permitted). * * @return A new instance (never <code>null</code>). */ public static CategoryLabelPositions replaceRightPosition( CategoryLabelPositions base, CategoryLabelPosition right) { if (base == null) { throw new IllegalArgumentException("Null 'base' argument."); } if (right == null) { throw new IllegalArgumentException("Null 'right' argument."); } return new CategoryLabelPositions( base.getLabelPosition(RectangleEdge.TOP), base.getLabelPosition(RectangleEdge.BOTTOM), base.getLabelPosition(RectangleEdge.LEFT), right ); }
/** * Returns a new instance based on an existing instance but with the top * position changed. * * @param base the base ({@code null} not permitted). * @param top the top position ({@code null} not permitted). * * @return A new instance (never {@code null}). */ public static CategoryLabelPositions replaceTopPosition( CategoryLabelPositions base, CategoryLabelPosition top) { Args.nullNotPermitted(base, "base"); Args.nullNotPermitted(top, "top"); return new CategoryLabelPositions(top, base.getLabelPosition(RectangleEdge.BOTTOM), base.getLabelPosition(RectangleEdge.LEFT), base.getLabelPosition(RectangleEdge.RIGHT)); }
/** * Returns a new instance based on an existing instance but with the left * position changed. * * @param base the base ({@code null} not permitted). * @param left the left position ({@code null} not permitted). * * @return A new instance (never {@code null}). */ public static CategoryLabelPositions replaceLeftPosition( CategoryLabelPositions base, CategoryLabelPosition left) { Args.nullNotPermitted(base, "base"); Args.nullNotPermitted(left, "left"); return new CategoryLabelPositions( base.getLabelPosition(RectangleEdge.TOP), base.getLabelPosition(RectangleEdge.BOTTOM), left, base.getLabelPosition(RectangleEdge.RIGHT)); }
/** * Returns a new instance based on an existing instance but with the right * position changed. * * @param base the base ({@code null} not permitted). * @param right the right position ({@code null} not permitted). * * @return A new instance (never {@code null}). */ public static CategoryLabelPositions replaceRightPosition( CategoryLabelPositions base, CategoryLabelPosition right) { Args.nullNotPermitted(base, "base"); Args.nullNotPermitted(right, "right"); return new CategoryLabelPositions( base.getLabelPosition(RectangleEdge.TOP), base.getLabelPosition(RectangleEdge.BOTTOM), base.getLabelPosition(RectangleEdge.LEFT), right); }
/** * Returns a new instance based on an existing instance but with the bottom * position changed. * * @param base the base ({@code null} not permitted). * @param bottom the bottom position ({@code null} not permitted). * * @return A new instance (never {@code null}). */ public static CategoryLabelPositions replaceBottomPosition( CategoryLabelPositions base, CategoryLabelPosition bottom) { Args.nullNotPermitted(base, "base"); Args.nullNotPermitted(bottom, "bottom"); return new CategoryLabelPositions( base.getLabelPosition(RectangleEdge.TOP), bottom, base.getLabelPosition(RectangleEdge.LEFT), base.getLabelPosition(RectangleEdge.RIGHT)); }
= this.categoryLabelPositions.getLabelPosition(edge); float r = this.maximumCategoryLabelWidthRatio; if (r <= 0.0) {
= this.categoryLabelPositions.getLabelPosition(edge); float r = this.maximumCategoryLabelWidthRatio; if (r <= 0.0) {
= getCategoryLabelPositions().getLabelPosition(edge); float r = getMaximumCategoryLabelWidthRatio(); if (r <= 0.0) {
= getCategoryLabelPositions().getLabelPosition(edge); float r = getMaximumCategoryLabelWidthRatio(); if (r <= 0.0) {
CategoryLabelPosition position = usedCategoryLabelPositions.getLabelPosition(edge); r = getMaximumCategoryLabelWidthRatio(); if(r <= 0.0)
= this.getCategoryLabelPositions().getLabelPosition(edge); double x0 = 0.0; double x1 = 0.0;
= this.categoryLabelPositions.getLabelPosition(edge); double x0 = 0.0; double x1 = 0.0;
= this.categoryLabelPositions.getLabelPosition(edge); double x0 = 0.0; double x1 = 0.0;
= this.getCategoryLabelPositions().getLabelPosition(edge); double x0 = 0.0; double x1 = 0.0;
= this.getCategoryLabelPositions().getLabelPosition(edge); double x0 = 0.0; double x1 = 0.0;
= this.getCategoryLabelPositions().getLabelPosition(edge); double x0 = 0.0; double x1 = 0.0;