当前位置: 首页>>代码示例>>Java>>正文


Java BooleanUtilities类代码示例

本文整理汇总了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));
}
 
开发者ID:parabuild-ci,项目名称:parabuild-ci,代码行数:12,代码来源:AbstractRenderer.java

示例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()
    );
}
 
开发者ID:parabuild-ci,项目名称:parabuild-ci,代码行数:11,代码来源:DefaultPlotEditor.java

示例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()
    );
}
 
开发者ID:parabuild-ci,项目名称:parabuild-ci,代码行数:10,代码来源:DefaultPlotEditor.java

示例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());
}
 
开发者ID:mdzio,项目名称:ccu-historian,代码行数:9,代码来源:DefaultPlotEditor.java

示例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));
}
 
开发者ID:SOCR,项目名称:HTML5_WebSite,代码行数:16,代码来源:AbstractRenderer.java

示例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));
}
 
开发者ID:parabuild-ci,项目名称:parabuild-ci,代码行数:10,代码来源:AbstractRenderer.java

示例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));
}
 
开发者ID:parabuild-ci,项目名称:parabuild-ci,代码行数:9,代码来源:AbstractRenderer.java

示例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));
}
 
开发者ID:parabuild-ci,项目名称:parabuild-ci,代码行数:14,代码来源:XYLineAndShapeRenderer.java

示例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));
}
 
开发者ID:parabuild-ci,项目名称:parabuild-ci,代码行数:13,代码来源:XYLineAndShapeRenderer.java

示例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));
}
 
开发者ID:parabuild-ci,项目名称:parabuild-ci,代码行数:12,代码来源:XYLineAndShapeRenderer.java

示例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));
}
 
开发者ID:parabuild-ci,项目名称:parabuild-ci,代码行数:13,代码来源:XYLineAndShapeRenderer.java

示例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));
}
 
开发者ID:parabuild-ci,项目名称:parabuild-ci,代码行数:10,代码来源:XYLineAndShapeRenderer.java

示例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));
}
 
开发者ID:parabuild-ci,项目名称:parabuild-ci,代码行数:13,代码来源:XYLineAndShapeRenderer.java

示例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));
}
 
开发者ID:parabuild-ci,项目名称:parabuild-ci,代码行数:12,代码来源:StandardXYItemRenderer.java

示例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));
}
 
开发者ID:parabuild-ci,项目名称:parabuild-ci,代码行数:10,代码来源:DefaultPolarItemRenderer.java


注:本文中的org.jfree.util.BooleanUtilities类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。