/** * Sets the gap threshold for discontinuous lines and sends a * {@link RendererChangeEvent} to all registered listeners. * * @param t the threshold. * * @see #getGapThreshold() */ public void setGapThreshold(double t) { this.gapThreshold = t; fireChangeEvent(); }
/** * Sets the flag that controls whether or not a shape is plotted at each * data point. * * @param flag the flag. * * @see #getBaseShapesVisible */ public void setBaseShapesVisible(boolean flag) { if (this.baseShapesVisible != flag) { this.baseShapesVisible = flag; fireChangeEvent(); } }
/** * Sets the gap threshold for discontinuous lines and sends a * {@link RendererChangeEvent} to all registered listeners. * * @param t the threshold. * * @see #getGapThreshold() */ public void setGapThreshold(double t) { this.gapThreshold = t; fireChangeEvent(); }
/** * Sets the flag that controls whether or not a shape is plotted at each * data point. * * @param flag the flag. * * @see #getBaseShapesVisible */ public void setBaseShapesVisible(boolean flag) { if (this.baseShapesVisible != flag) { this.baseShapesVisible = flag; fireChangeEvent(); } }
/** * Sets the flag that controls whether or not the renderer shows * discontinuous lines, and sends a {@link RendererChangeEvent} to all * registered listeners. * * @param flag the new flag value. * * @since 1.0.5 */ public void setPlotDiscontinuous(boolean flag) { if (this.plotDiscontinuous != flag) { this.plotDiscontinuous = flag; fireChangeEvent(); } }
/** * Sets the flag that controls whether or not a line is plotted between * each data point and sends a {@link RendererChangeEvent} to all * registered listeners. * * @param flag the flag. * * @see #getPlotLines() */ public void setPlotLines(boolean flag) { if (this.plotLines != flag) { this.plotLines = flag; fireChangeEvent(); } }
/** * Sets the flag that controls whether or not an image is drawn at each * data point and sends a {@link RendererChangeEvent} to all registered * listeners. * * @param flag the flag. * * @see #getPlotImages() */ public void setPlotImages(boolean flag) { if (this.plotImages != flag) { this.plotImages = flag; fireChangeEvent(); } }
/** * Sets the flag that controls whether or not an image is drawn at each * data point and sends a {@link RendererChangeEvent} to all registered * listeners. * * @param flag the flag. * * @see #getPlotImages() */ public void setPlotImages(boolean flag) { if (this.plotImages != flag) { this.plotImages = flag; fireChangeEvent(); } }
/** * Sets the flag that controls whether or not a line is plotted between * each data point and sends a {@link RendererChangeEvent} to all * registered listeners. * * @param flag the flag. * * @see #getPlotLines() */ public void setPlotLines(boolean flag) { if (this.plotLines != flag) { this.plotLines = flag; fireChangeEvent(); } }
/** * Sets the flag that controls whether or not the renderer shows * discontinuous lines, and sends a {@link RendererChangeEvent} to all * registered listeners. * * @param flag the new flag value. * * @since 1.0.5 */ public void setPlotDiscontinuous(boolean flag) { if (this.plotDiscontinuous != flag) { this.plotDiscontinuous = flag; fireChangeEvent(); } }
/** * Sets the override flag that controls whether or not shapes are filled * for ALL series and sends a {@link RendererChangeEvent} to all registered * listeners. * * @param filled the flag (<code>null</code> permitted). * * @see #setShapesFilled(boolean) * * @deprecated As of 1.0.8, you should avoid using this method and rely * on just the per-series ({@link #setSeriesShapesFilled(int, * Boolean)}) and base-level ({@link #setBaseShapesVisible( * boolean)}) settings. */ public void setShapesFilled(Boolean filled) { this.shapesFilled = filled; fireChangeEvent(); }
/** * Sets the shape used as a line in each legend item and sends a * {@link RendererChangeEvent} to all registered listeners. * * @param line the line (<code>null</code> not permitted). * * @see #getLegendLine() */ public void setLegendLine(Shape line) { if (line == null) { throw new IllegalArgumentException("Null 'line' argument."); } this.legendLine = line; fireChangeEvent(); }
/** * Sets the gap threshold type and sends a {@link RendererChangeEvent} to * all registered listeners. * * @param thresholdType the type (<code>null</code> not permitted). * * @see #getGapThresholdType() */ public void setGapThresholdType(UnitType thresholdType) { if (thresholdType == null) { throw new IllegalArgumentException( "Null 'thresholdType' argument."); } this.gapThresholdType = thresholdType; fireChangeEvent(); }
/** * Sets the shape used as a line in each legend item and sends a * {@link RendererChangeEvent} to all registered listeners. * * @param line the line ({@code null} not permitted). * * @see #getLegendLine() */ public void setLegendLine(Shape line) { Args.nullNotPermitted(line, "line"); this.legendLine = line; fireChangeEvent(); }
/** * Sets the 'shapes filled' flag for a series and sends a * {@link RendererChangeEvent} to all registered listeners. * * @param series the series index (zero-based). * @param flag the flag. * * @see #getSeriesShapesFilled(int) */ public void setSeriesShapesFilled(int series, Boolean flag) { this.seriesShapesFilled.setBoolean(series, flag); fireChangeEvent(); }
/** * Sets the gap threshold type and sends a {@link RendererChangeEvent} to * all registered listeners. * * @param thresholdType the type ({@code null} not permitted). * * @see #getGapThresholdType() */ public void setGapThresholdType(UnitType thresholdType) { Args.nullNotPermitted(thresholdType, "thresholdType"); this.gapThresholdType = thresholdType; fireChangeEvent(); }
/** * Sets the 'shapes filled' flag for a series and sends a * {@link RendererChangeEvent} to all registered listeners. * * @param series the series index (zero-based). * @param flag the flag. * * @see #getSeriesShapesFilled(int) */ public void setSeriesShapesFilled(int series, Boolean flag) { this.seriesShapesFilled.setBoolean(series, flag); fireChangeEvent(); }