/** * Allow the user to modify whether or not shapes are drawn at data points * by <tt>LineAndShapeRenderer</tt>s and <tt>StandardXYItemRenderer</tt>s. */ private void attemptDrawShapesSelection() { this.drawShapes = BooleanUtilities.valueOf( this.drawShapesCheckBox.isSelected()); }
/** * Allow the user to modify whether or not lines are drawn between data * points by <tt>LineAndShapeRenderer</tt>s and * <tt>StandardXYItemRenderer</tt>s. */ private void attemptDrawLinesSelection() { this.drawLines = BooleanUtilities.valueOf( this.drawLinesCheckBox.isSelected()); }
/** * Sets the 'shapes filled' for ALL series and sends a * {@link RendererChangeEvent} to all registered listeners. * * @param filled the flag. * * @deprecated As of 1.0.7, use the per-series and base level settings. */ public void setShapesFilled(boolean filled) { setShapesFilled(BooleanUtilities.valueOf(filled)); }
/** * Sets a flag that controls the visibility of the item labels for a series, * and sends a {@link RendererChangeEvent} to all registered listeners. * * @param series the series index (zero-based). * @param visible the flag. */ public void setSeriesItemLabelsVisible(int series, boolean visible) { setSeriesItemLabelsVisible(series, BooleanUtilities.valueOf(visible)); }
/** * Sets the 'shapes visible' flag for a series and sends a * {@link RendererChangeEvent} to all registered listeners. * * @param series the series index (zero-based). * @param visible the flag. * * @see #getSeriesShapesVisible(int) */ public void setSeriesShapesVisible(int series, boolean visible) { setSeriesShapesVisible(series, BooleanUtilities.valueOf(visible)); }
/** * Sets a flag that controls whether or not a series is filled. * * @param series the series index. * @param filled the flag. */ public void setSeriesFilled(int series, boolean filled) { this.seriesFilled.setBoolean(series, BooleanUtilities.valueOf(filled)); }
/** * 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) { setSeriesShapesFilled(series, BooleanUtilities.valueOf(flag)); }
/** * Sets the 'lines visible' flag for a series and sends a * {@link RendererChangeEvent} to all registered listeners. * * @param series the series index (zero-based). * @param visible the flag. * * @see #getSeriesLinesVisible(int) */ public void setSeriesLinesVisible(int series, boolean visible) { setSeriesLinesVisible(series, BooleanUtilities.valueOf(visible)); }
/** * Sets the 'lines visible' flag for a series and sends a * {@link RendererChangeEvent} to all registered listeners. * * @param series the series index (zero-based). * @param visible the flag. * * @see #getSeriesLinesVisible(int) */ public void setSeriesLinesVisible(int series, boolean visible) { setSeriesLinesVisible(series, BooleanUtilities.valueOf(visible)); }
/** * Sets the 'shapes visible' flag for a series and sends a * {@link RendererChangeEvent} to all registered listeners. * * @param series the series index (zero-based). * @param visible the flag. * * @see #getSeriesShapesVisible(int) */ public void setSeriesShapesVisible(int series, boolean visible) { setSeriesShapesVisible(series, BooleanUtilities.valueOf(visible)); }
/** * Sets the base flag that controls whether or not item labels are visible, * and sends a {@link RendererChangeEvent} to all registered listeners. * * @param visible the flag. * * @see #getBaseItemLabelsVisible() */ public void setBaseItemLabelsVisible(boolean visible) { setBaseItemLabelsVisible(BooleanUtilities.valueOf(visible)); }
/** * Sets the 'shapes visible' for ALL series and sends a * {@link RendererChangeEvent} to all registered listeners. * * @param visible the flag. * * @see #getShapesVisible() * * @deprecated As of 1.0.7, use the per-series and base level settings. */ public void setShapesVisible(boolean visible) { setShapesVisible(BooleanUtilities.valueOf(visible)); }
/** * 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 filled the flag. * * @see #getSeriesShapesFilled(int) */ public void setSeriesShapesFilled(int series, boolean filled) { // delegate setSeriesShapesFilled(series, BooleanUtilities.valueOf(filled)); }
/** * Sets the 'shapes visible' for ALL series and sends a * {@link RendererChangeEvent} to all registered listeners. * * @param visible the flag. * * @see #getShapesVisible() * * @deprecated As of 1.0.7 (the override facility is unnecessary, just * use the per-series and base (default) settings). */ public void setShapesVisible(boolean visible) { setShapesVisible(BooleanUtilities.valueOf(visible)); }
/** * Sets a flag that controls whether or not lines are drawn between the * items in ALL series, and sends a {@link RendererChangeEvent} to all * registered listeners. * * @param visible the flag. * * @see #getLinesVisible() * * @deprecated As of 1.0.7 (the override facility is unnecessary, just * use the per-series and base (default) settings). */ public void setLinesVisible(boolean visible) { setLinesVisible(BooleanUtilities.valueOf(visible)); }
/** * Sets a flag that controls whether or not lines are drawn between the * items in ALL series, and sends a {@link RendererChangeEvent} to all * registered listeners. * * @param visible the flag. * * @see #getLinesVisible() * * @deprecated As of 1.0.7, use the per-series and base level settings. */ public void setLinesVisible(boolean visible) { // we use BooleanUtilities here to preserve JRE 1.3.1 compatibility setLinesVisible(BooleanUtilities.valueOf(visible)); }
/** * Sets the visibility of the item labels for ALL series. * * @param visible the flag. * * @deprecated This method should no longer be used (as of version 1.0.6). * It is sufficient to rely on {@link #setSeriesItemLabelsVisible(int, * Boolean)} and {@link #setBaseItemLabelsVisible(boolean)}. */ public void setItemLabelsVisible(boolean visible) { setItemLabelsVisible(BooleanUtilities.valueOf(visible)); // The following alternative is only supported in JDK 1.4 - we support // JDK 1.3.1 onwards // setItemLabelsVisible(Boolean.valueOf(visible)); }
/** * 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. * * @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) { // here we use BooleanUtilities to remain compatible with JDKs < 1.4 setShapesFilled(BooleanUtilities.valueOf(filled)); }
/** * 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 filled the flag. */ public void setSeriesShapesFilled(int series, boolean filled) { this.seriesShapesFilled.setBoolean(series, BooleanUtilities.valueOf(filled)); fireChangeEvent(); }
BooleanUtilities.valueOf(v0 < getBase())});