本文整理汇总了Java中org.jfree.util.BooleanUtilities类的典型用法代码示例。如果您正苦于以下问题:Java BooleanUtilities类的具体用法?Java BooleanUtilities怎么用?Java BooleanUtilities使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
BooleanUtilities类属于org.jfree.util包,在下文中一共展示了BooleanUtilities类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: setItemLabelsVisible
import org.jfree.util.BooleanUtilities; //导入依赖的package包/类
/**
* Sets the visibility of the item labels for ALL series.
*
* @param visible the flag.
*/
public void setItemLabelsVisible(boolean visible) {
setItemLabelsVisible(BooleanUtilities.valueOf(visible));
// The following alternative is only supported in JDK 1.4 - we support
// JDK 1.2.2
// setItemLabelsVisible(Boolean.valueOf(visible));
}
示例2: attemptDrawLinesSelection
import org.jfree.util.BooleanUtilities; //导入依赖的package包/类
/**
* 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()
);
}
示例3: attemptDrawShapesSelection
import org.jfree.util.BooleanUtilities; //导入依赖的package包/类
/**
* 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()
);
}
示例4: attemptDrawShapesSelection
import org.jfree.util.BooleanUtilities; //导入依赖的package包/类
/**
* 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());
}
示例5: setItemLabelsVisible
import org.jfree.util.BooleanUtilities; //导入依赖的package包/类
/**
* 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));
}
示例6: setSeriesItemLabelsVisible
import org.jfree.util.BooleanUtilities; //导入依赖的package包/类
/**
* Sets a flag that controls the visibility of the item labels for a series.
*
* @param series the series index (zero-based).
* @param visible the flag.
*/
public void setSeriesItemLabelsVisible(int series, boolean visible) {
setSeriesItemLabelsVisible(series, BooleanUtilities.valueOf(visible));
}
示例7: setBaseItemLabelsVisible
import org.jfree.util.BooleanUtilities; //导入依赖的package包/类
/**
* Sets the base flag that controls whether or not item labels are visible.
*
* @param visible the flag.
*/
public void setBaseItemLabelsVisible(boolean visible) {
setBaseItemLabelsVisible(BooleanUtilities.valueOf(visible));
}
示例8: setLinesVisible
import org.jfree.util.BooleanUtilities; //导入依赖的package包/类
/**
* 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()
*/
public void setLinesVisible(boolean visible) {
// we use BooleanUtilities here to preserve JRE 1.3.1 compatibility
setLinesVisible(BooleanUtilities.valueOf(visible));
}
示例9: setSeriesLinesVisible
import org.jfree.util.BooleanUtilities; //导入依赖的package包/类
/**
* 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));
}
示例10: setShapesVisible
import org.jfree.util.BooleanUtilities; //导入依赖的package包/类
/**
* Sets the 'shapes visible' for ALL series and sends a
* {@link RendererChangeEvent} to all registered listeners.
*
* @param visible the flag.
*
* @see #getShapesVisible()
*/
public void setShapesVisible(boolean visible) {
setShapesVisible(BooleanUtilities.valueOf(visible));
}
示例11: setSeriesShapesVisible
import org.jfree.util.BooleanUtilities; //导入依赖的package包/类
/**
* 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));
}
示例12: setShapesFilled
import org.jfree.util.BooleanUtilities; //导入依赖的package包/类
/**
* Sets the 'shapes filled' for ALL series and sends a
* {@link RendererChangeEvent} to all registered listeners.
*
* @param filled the flag.
*/
public void setShapesFilled(boolean filled) {
setShapesFilled(BooleanUtilities.valueOf(filled));
}
示例13: setSeriesShapesFilled
import org.jfree.util.BooleanUtilities; //导入依赖的package包/类
/**
* 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));
}
示例14: setShapesFilled
import org.jfree.util.BooleanUtilities; //导入依赖的package包/类
/**
* Sets the 'shapes filled' for ALL series.
*
* @param filled the flag.
*
* @see #setShapesFilled(Boolean)
*/
public void setShapesFilled(boolean filled) {
// here we use BooleanUtilities to remain compatible with JDKs < 1.4
setShapesFilled(BooleanUtilities.valueOf(filled));
}
示例15: setSeriesFilled
import org.jfree.util.BooleanUtilities; //导入依赖的package包/类
/**
* 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));
}