/** * Sets the outside length of the tick marks and sends * an {@link AxisChangeEvent} to all registered listeners. * * @param length the new length. * * @see #getTickMarkInsideLength() */ public void setTickMarkOutsideLength(float length) { this.tickMarkOutsideLength = length; fireChangeEvent(); }
/** * Sets the inside length of the tick marks and sends * an {@link AxisChangeEvent} to all registered listeners. * * @param length the new length. * * @see #getTickMarkInsideLength() */ public void setTickMarkInsideLength(float length) { this.tickMarkInsideLength = length; fireChangeEvent(); }
/** * Sets the inside length of the tick marks and sends * an {@link AxisChangeEvent} to all registered listeners. * * @param length the new length. * * @see #getTickMarkInsideLength() */ public void setTickMarkInsideLength(float length) { this.tickMarkInsideLength = length; fireChangeEvent(); }
/** * Sets the angle for the label and sends an {@link AxisChangeEvent} to all * registered listeners. * * @param angle the angle (in radians). * * @see #getLabelAngle() */ public void setLabelAngle(double angle) { this.labelAngle = angle; fireChangeEvent(); }
/** * Sets the angle for the label and sends an {@link AxisChangeEvent} to all * registered listeners. * * @param angle the angle (in radians). * * @see #getLabelAngle() */ public void setLabelAngle(double angle) { this.labelAngle = angle; fireChangeEvent(); }
/** * Sets a flag that controls whether or not the axis line is visible and * sends an {@link AxisChangeEvent} to all registered listeners. * * @param visible the flag. * * @see #isAxisLineVisible() * @see #setAxisLinePaint(Paint) * @see #setAxisLineStroke(Stroke) */ public void setAxisLineVisible(boolean visible) { this.axisLineVisible = visible; fireChangeEvent(); }
/** * Sets the outside length of the tick marks and sends * an {@link AxisChangeEvent} to all registered listeners. * * @param length the new length. * * @see #getTickMarkInsideLength() */ public void setTickMarkOutsideLength(float length) { this.tickMarkOutsideLength = length; fireChangeEvent(); }
/** * Sets a flag that controls whether or not the axis is visible and sends * an {@link AxisChangeEvent} to all registered listeners. * * @param flag the flag. * * @see #isVisible() */ public void setVisible(boolean flag) { if (flag != this.visible) { this.visible = flag; fireChangeEvent(); } }
/** * Sets the outside length of the minor tick marks and sends * an {@link AxisChangeEvent} to all registered listeners. * * @param length the new length. * * @see #getMinorTickMarkInsideLength() * * @since 1.0.12 */ public void setMinorTickMarkOutsideLength(float length) { this.minorTickMarkOutsideLength = length; fireChangeEvent(); }
/** * Sets a flag that controls whether or not the axis is visible and sends * an {@link AxisChangeEvent} to all registered listeners. * * @param flag the flag. * * @see #isVisible() */ public void setVisible(boolean flag) { if (flag != this.visible) { this.visible = flag; fireChangeEvent(); } }
/** * Sets the label for the axis and sends an {@link AxisChangeEvent} to all * registered listeners. * * @param label the new label ({@code null} permitted). * * @see #getLabel() * @see #setLabelFont(Font) * @see #setLabelPaint(Paint) */ public void setLabel(String label) { this.label = label; fireChangeEvent(); }
/** * Sets the flag that indicates whether or not the tick marks are showing * and sends an {@link AxisChangeEvent} to all registered listeners. * * @param flag the flag. * * @see #isTickMarksVisible() */ public void setTickMarksVisible(boolean flag) { if (flag != this.tickMarksVisible) { this.tickMarksVisible = flag; fireChangeEvent(); } }
/** * Sets the inside length of the minor tick marks and sends * an {@link AxisChangeEvent} to all registered listeners. * * @param length the new length. * * @see #getMinorTickMarkInsideLength() * * @since 1.0.12 */ public void setMinorTickMarkInsideLength(float length) { this.minorTickMarkInsideLength = length; fireChangeEvent(); }
/** * Sets the paint used to draw the axis line and sends an * {@link AxisChangeEvent} to all registered listeners. * * @param paint the paint ({@code null} not permitted). * * @see #getAxisLinePaint() */ public void setAxisLinePaint(Paint paint) { Args.nullNotPermitted(paint, "paint"); this.axisLinePaint = paint; fireChangeEvent(); }
/** * Sets the stroke used to draw the axis line and sends an * {@link AxisChangeEvent} to all registered listeners. * * @param stroke the stroke ({@code null} not permitted). * * @see #getAxisLineStroke() */ public void setAxisLineStroke(Stroke stroke) { Args.nullNotPermitted(stroke, "stroke"); this.axisLineStroke = stroke; fireChangeEvent(); }
/** * Sets the paint used to draw tick marks and sends an * {@link AxisChangeEvent} to all registered listeners. * * @param paint the paint ({@code null} not permitted). * * @see #getTickMarkPaint() */ public void setTickMarkPaint(Paint paint) { Args.nullNotPermitted(paint, "paint"); this.tickMarkPaint = paint; fireChangeEvent(); }
/** * Sets the paint used to draw the axis label and sends an * {@link AxisChangeEvent} to all registered listeners. * * @param paint the paint ({@code null} not permitted). * * @see #getLabelPaint() */ public void setLabelPaint(Paint paint) { Args.nullNotPermitted(paint, "paint"); this.labelPaint = paint; fireChangeEvent(); }
/** * Sets the axis label location and sends an {@link AxisChangeEvent} to * all registered listeners. * * @param location the new location ({@code null} not permitted). * * @since 1.0.16 */ public void setLabelLocation(AxisLabelLocation location) { Args.nullNotPermitted(location, "location"); this.labelLocation = location; fireChangeEvent(); }
/** * Sets the paint used to draw tick labels (if they are showing) and * sends an {@link AxisChangeEvent} to all registered listeners. * * @param paint the paint ({@code null} not permitted). * * @see #getTickLabelPaint() */ public void setTickLabelPaint(Paint paint) { Args.nullNotPermitted(paint, "paint"); this.tickLabelPaint = paint; fireChangeEvent(); }
/** * Sets the font for the tick labels and sends an {@link AxisChangeEvent} * to all registered listeners. * * @param font the font ({@code null} not allowed). * * @see #getTickLabelFont() */ public void setTickLabelFont(Font font) { Args.nullNotPermitted(font, "font"); if (!this.tickLabelFont.equals(font)) { this.tickLabelFont = font; fireChangeEvent(); } }