/** * Sets the position of the start of the progress indicator, as a * percentage of the bar width, and sends a {@link RendererChangeEvent} to * all registered listeners. * * @param percent the percent. * * @see #getStartPercent() */ public void setStartPercent(double percent) { this.startPercent = percent; fireChangeEvent(); }
/** * Sets the position of the end of the progress indicator, as a percentage * of the bar width, and sends a {@link RendererChangeEvent} to all * registered listeners. * * @param percent the percent. * * @see #getEndPercent() */ public void setEndPercent(double percent) { this.endPercent = percent; fireChangeEvent(); }
/** * Sets the position of the start of the progress indicator, as a * percentage of the bar width, and sends a {@link RendererChangeEvent} to * all registered listeners. * * @param percent the percent. * * @see #getStartPercent() */ public void setStartPercent(double percent) { this.startPercent = percent; fireChangeEvent(); }
/** * Sets the position of the end of the progress indicator, as a percentage * of the bar width, and sends a {@link RendererChangeEvent} to all * registered listeners. * * @param percent the percent. * * @see #getEndPercent() */ public void setEndPercent(double percent) { this.endPercent = percent; fireChangeEvent(); }
/** * Sets the paint used to show the percentage complete and sends a * {@link RendererChangeEvent} to all registered listeners. * * @param paint the paint (<code>null</code> not permitted). * * @see #getCompletePaint() */ public void setCompletePaint(Paint paint) { if (paint == null) { throw new IllegalArgumentException("Null 'paint' argument."); } this.completePaint = paint; fireChangeEvent(); }
/** * Sets the paint used to show the percentage incomplete and sends a * {@link RendererChangeEvent} to all registered listeners. * * @param paint the paint (<code>null</code> not permitted). * * @see #getIncompletePaint() */ public void setIncompletePaint(Paint paint) { if (paint == null) { throw new IllegalArgumentException("Null 'paint' argument."); } this.incompletePaint = paint; fireChangeEvent(); }
/** * Sets the paint used to show the percentage incomplete and sends a * {@link RendererChangeEvent} to all registered listeners. * * @param paint the paint ({@code null} not permitted). * * @see #getIncompletePaint() */ public void setIncompletePaint(Paint paint) { Args.nullNotPermitted(paint, "paint"); this.incompletePaint = paint; fireChangeEvent(); }
/** * Sets the paint used to show the percentage complete and sends a * {@link RendererChangeEvent} to all registered listeners. * * @param paint the paint ({@code null} not permitted). * * @see #getCompletePaint() */ public void setCompletePaint(Paint paint) { Args.nullNotPermitted(paint, "paint"); this.completePaint = paint; fireChangeEvent(); }