• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

Java ObjectList类代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了Java中org.jfree.util.ObjectList的典型用法代码示例。如果您正苦于以下问题:Java ObjectList类的具体用法?Java ObjectList怎么用?Java ObjectList使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。



ObjectList类属于org.jfree.util包,在下文中一共展示了ObjectList类的16个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Java代码示例。

示例1: DefaultPolarItemRenderer

import org.jfree.util.ObjectList; //导入依赖的package包/类
/**
 * Creates a new instance of DefaultPolarItemRenderer
 */
public DefaultPolarItemRenderer() {
    this.seriesFilled = new BooleanList();
    this.drawOutlineWhenFilled = true;
    this.fillComposite = AlphaComposite.getInstance(
            AlphaComposite.SRC_OVER, 0.3f);
    this.useFillPaint = false;     // use item paint for fills by default
    this.legendLine = new Line2D.Double(-7.0, 0.0, 7.0, 0.0);
    this.shapesVisible = true;
    this.connectFirstAndLastPoint = true;
    
    this.toolTipGeneratorList = new ObjectList();
    this.urlGenerator = null;
    this.legendItemToolTipGenerator = null;
    this.legendItemURLGenerator = null;
}
 
开发者ID:mdzio,项目名称:ccu-historian,代码行数:19,代码来源:DefaultPolarItemRenderer.java


示例2: DialPlot

import org.jfree.util.ObjectList; //导入依赖的package包/类
/**
 * Creates a new instance of <code>DialPlot</code>.
 *
 * @param dataset  the dataset (<code>null</code> permitted).
 */
public DialPlot(ValueDataset dataset) {
    this.background = null;
    this.cap = null;
    this.dialFrame = new ArcDialFrame();
    this.datasets = new ObjectList();
    if (dataset != null) {
        setDataset(dataset);
    }
    this.scales = new ObjectList();
    this.datasetToScaleMap = new ObjectList();
    this.layers = new java.util.ArrayList();
    this.pointers = new java.util.ArrayList();
    this.viewX = 0.0;
    this.viewY = 0.0;
    this.viewW = 1.0;
    this.viewH = 1.0;
}
 
开发者ID:mdzio,项目名称:ccu-historian,代码行数:23,代码来源:DialPlot.java


示例3: AbstractXYItemRenderer

import org.jfree.util.ObjectList; //导入依赖的package包/类
/**
 * Creates a renderer where the tooltip generator and the URL generator are both
 * <code>null</code>.
 */
protected AbstractXYItemRenderer() {
    this.itemLabelGenerator = null;
    this.itemLabelGeneratorList = new ObjectList();
    this.toolTipGenerator = null;
    this.toolTipGeneratorList = new ObjectList();
    this.urlGenerator = null;
    this.defaultEntityRadius = 3;
}
 
开发者ID:parabuild-ci,项目名称:parabuild-ci,代码行数:13,代码来源:AbstractXYItemRenderer.java


示例4: AbstractCategoryItemRenderer

import org.jfree.util.ObjectList; //导入依赖的package包/类
/**
 * Creates a new renderer with no tool tip generator and no URL generator.
 * <P>
 * The defaults (no tool tip or URL generators) have been chosen to minimise the processing
 * required to generate a default chart.  If you require tool tips or URLs, then you can
 * easily add the required generators.
 */
protected AbstractCategoryItemRenderer() {
    this.labelGenerator = null;
    this.labelGeneratorList = new ObjectList();
    this.toolTipGenerator = null;
    this.toolTipGeneratorList = new ObjectList();
    this.itemURLGenerator = null;
    this.itemURLGeneratorList = new ObjectList();
}
 
开发者ID:parabuild-ci,项目名称:parabuild-ci,代码行数:16,代码来源:AbstractCategoryItemRenderer.java


示例5: PiePlot

import org.jfree.util.ObjectList; //导入依赖的package包/类
/**
 * Creates a plot that will draw a pie chart for the specified dataset.
 *
 * @param dataset  the dataset (<code>null</code> permitted).
 */
public PiePlot(PieDataset dataset) {
    super();
    this.dataset = dataset;
    if (dataset != null) {
        dataset.addChangeListener(this);
    }
    this.pieIndex = 0;
    
    this.interiorGap = DEFAULT_INTERIOR_GAP;
    this.circular = true;
    this.startAngle = DEFAULT_START_ANGLE;
    this.direction = Rotation.CLOCKWISE;
    this.minimumArcAngleToDraw = DEFAULT_MINIMUM_ARC_ANGLE_TO_DRAW;
    
    this.sectionPaint = null;
    this.sectionPaintList = new PaintList();
    this.baseSectionPaint = null;

    this.sectionOutlinePaint = null;
    this.sectionOutlinePaintList = new PaintList();
    this.baseSectionOutlinePaint = DEFAULT_OUTLINE_PAINT;

    this.sectionOutlineStroke = null;
    this.sectionOutlineStrokeList = new StrokeList();
    this.baseSectionOutlineStroke = DEFAULT_OUTLINE_STROKE;
    
    this.explodePercentages = new ObjectList();

    this.labelGenerator = new StandardPieItemLabelGenerator();
    this.labelFont = DEFAULT_LABEL_FONT;
    this.labelPaint = DEFAULT_LABEL_PAINT;
    this.labelBackgroundPaint = DEFAULT_LABEL_BACKGROUND_PAINT;
    this.labelOutlinePaint = DEFAULT_LABEL_OUTLINE_PAINT;
    this.labelOutlineStroke = DEFAULT_LABEL_OUTLINE_STROKE;
    this.labelShadowPaint = DEFAULT_LABEL_SHADOW_PAINT;
    
    this.toolTipGenerator = null;
    this.urlGenerator = null;
}
 
开发者ID:parabuild-ci,项目名称:parabuild-ci,代码行数:45,代码来源:PiePlot.java


示例6: setExplodePercent

import org.jfree.util.ObjectList; //导入依赖的package包/类
/**
 * Sets the amount that a pie section should be exploded and sends a {@link PlotChangeEvent}
 * to all registered listeners.
 *
 * @param section  the section index.
 * @param percent  the explode percentage (0.30 = 30 percent).
 */
public void setExplodePercent(int section, double percent) {
    if (this.explodePercentages == null) {
        this.explodePercentages = new ObjectList();
    }
    this.explodePercentages.set(section, new Double(percent));
    notifyListeners(new PlotChangeEvent(this));
}
 
开发者ID:parabuild-ci,项目名称:parabuild-ci,代码行数:15,代码来源:PiePlot.java


示例7: DialPlot

import org.jfree.util.ObjectList; //导入依赖的package包/类
/** 
 * Creates a new instance of <code>DialPlot</code>.
 */
public DialPlot() {
    this.background = null;
    this.cap = null;
    this.dialFrame = new StandardDialFrame();
    this.datasets = new ObjectList();
    this.scales = new ObjectList();
    this.datasetToScaleMap = new ObjectList();
    this.layers = new java.util.ArrayList();
    this.viewX = 0.0;
    this.viewY = 0.0;
    this.viewW = 1.0;
    this.viewH = 1.0;
}
 
开发者ID:parabuild-ci,项目名称:parabuild-ci,代码行数:17,代码来源:DialPlot.java


示例8: AbstractXYItemRenderer

import org.jfree.util.ObjectList; //导入依赖的package包/类
/**
 * Creates a renderer where the tooltip generator and the URL generator are
 * both <code>null</code>.
 */
protected AbstractXYItemRenderer() {
    this.itemLabelGenerator = null;
    this.itemLabelGeneratorList = new ObjectList();
    this.toolTipGenerator = null;
    this.toolTipGeneratorList = new ObjectList();
    this.urlGenerator = null;
    this.backgroundAnnotations = new java.util.ArrayList();
    this.foregroundAnnotations = new java.util.ArrayList();
    this.defaultEntityRadius = 3;
    this.legendItemLabelGenerator = new StandardXYSeriesLabelGenerator(
            "{0}");
}
 
开发者ID:parabuild-ci,项目名称:parabuild-ci,代码行数:17,代码来源:AbstractXYItemRenderer.java


示例9: AbstractCategoryItemRenderer

import org.jfree.util.ObjectList; //导入依赖的package包/类
/**
 * Creates a new renderer with no tool tip generator and no URL generator.
 * The defaults (no tool tip or URL generators) have been chosen to
 * minimise the processing required to generate a default chart.  If you
 * require tool tips or URLs, then you can easily add the required
 * generators.
 */
protected AbstractCategoryItemRenderer() {
    this.itemLabelGenerator = null;
    this.itemLabelGeneratorList = new ObjectList();
    this.toolTipGenerator = null;
    this.toolTipGeneratorList = new ObjectList();
    this.itemURLGenerator = null;
    this.itemURLGeneratorList = new ObjectList();
    this.legendItemLabelGenerator
        = new StandardCategorySeriesLabelGenerator();
}
 
开发者ID:parabuild-ci,项目名称:parabuild-ci,代码行数:18,代码来源:AbstractCategoryItemRenderer.java


示例10: MotionBubbleRenderer

import org.jfree.util.ObjectList; //导入依赖的package包/类
/**
 * Constructs a new MotionBubbleRenderer with the specified type of scaling.
 *
 * @param dataset   the dataset that the renderer will use
 * @param scaleType the type of scaling (must be one of:
 *                  {@link #SCALE_ON_BOTH_AXES}, {@link #SCALE_ON_DOMAIN_AXIS},
 *                  {@link #SCALE_ON_RANGE_AXIS}).
 */
public MotionBubbleRenderer(MotionDataSet dataset, int scaleType)
{
    super(scaleType);
    this.dataset = dataset;
    dataset.addChangeListener(this);
    this.selectedItems = new ObjectList();
    this.selectedCategories = new HashMap<Object,Boolean>();
    this.setBaseSeriesVisible(false, false);
}
 
开发者ID:SOCR,项目名称:HTML5_WebSite,代码行数:18,代码来源:MotionBubbleRenderer.java


示例11: AbstractXYItemRenderer

import org.jfree.util.ObjectList; //导入依赖的package包/类
/**
 * Creates a renderer where the tooltip generator and the URL generator are
 * both <code>null</code>.
 */
protected AbstractXYItemRenderer() {
    super();
    this.itemLabelGenerator = null;
    this.itemLabelGeneratorList = new ObjectList();
    this.toolTipGenerator = null;
    this.toolTipGeneratorList = new ObjectList();
    this.urlGenerator = null;
    this.backgroundAnnotations = new java.util.ArrayList();
    this.foregroundAnnotations = new java.util.ArrayList();
    this.defaultEntityRadius = 3;
    this.legendItemLabelGenerator = new StandardXYSeriesLabelGenerator(
            "{0}");
}
 
开发者ID:SOCR,项目名称:HTML5_WebSite,代码行数:18,代码来源:AbstractXYItemRenderer.java


示例12: AbstractXYItemRenderer

import org.jfree.util.ObjectList; //导入依赖的package包/类
/**
 * Creates a renderer where the tooltip generator and the URL generator are
 * both <code>null</code>.
 */
protected AbstractXYItemRenderer() {
    super();
    this.itemLabelGenerator = null;
    this.itemLabelGeneratorList = new ObjectList();
    this.toolTipGenerator = null;
    this.toolTipGeneratorList = new ObjectList();
    this.urlGenerator = null;
    this.backgroundAnnotations = new java.util.ArrayList();
    this.foregroundAnnotations = new java.util.ArrayList();
    this.legendItemLabelGenerator = new StandardXYSeriesLabelGenerator(
            "{0}");
}
 
开发者ID:lulab,项目名称:PI,代码行数:17,代码来源:AbstractXYItemRenderer.java


示例13: AbstractCategoryItemRenderer

import org.jfree.util.ObjectList; //导入依赖的package包/类
/**
 * Creates a new renderer with no tool tip generator and no URL generator.
 * The defaults (no tool tip or URL generators) have been chosen to
 * minimise the processing required to generate a default chart.  If you
 * require tool tips or URLs, then you can easily add the required
 * generators.
 */
protected AbstractCategoryItemRenderer() {
    this.itemLabelGenerator = null;
    this.itemLabelGeneratorList = new ObjectList();
    this.toolTipGenerator = null;
    this.toolTipGeneratorList = new ObjectList();
    this.itemURLGenerator = null;
    this.itemURLGeneratorList = new ObjectList();
    this.legendItemLabelGenerator
            = new StandardCategorySeriesLabelGenerator();
}
 
开发者ID:lulab,项目名称:PI,代码行数:18,代码来源:AbstractCategoryItemRenderer.java


示例14: testEquals

import org.jfree.util.ObjectList; //导入依赖的package包/类
/**
 * Tests the equals() method.
 */
public void testEquals() {
    
    final ObjectList l1 = new ObjectList();
    l1.set(0, Color.blue);
    l1.set(1, Color.red);
    
    final ObjectList l2 = new ObjectList();
    l2.set(0, Color.blue);
    l2.set(1, Color.red);
    
    assertTrue(l1.equals(l2));
    assertTrue(l2.equals(l2));
    
}
 
开发者ID:nologic,项目名称:nabs,代码行数:18,代码来源:ObjectListTests.java


示例15: testEquals2

import org.jfree.util.ObjectList; //导入依赖的package包/类
/**
 * Another test of the equals method.  The capacity of the internal list shouldn't
 * be a factor.
 */
public void testEquals2() {
    
    final ObjectList l1 = new ObjectList(20);
    l1.set(0, Color.blue);
    l1.set(1, Color.red);
    
    final ObjectList l2 = new ObjectList();
    l2.set(0, Color.blue);
    l2.set(1, Color.red);
    
    assertTrue(l1.equals(l2));
    assertTrue(l2.equals(l2));
    
}
 
开发者ID:nologic,项目名称:nabs,代码行数:19,代码来源:ObjectListTests.java


示例16: testExpand

import org.jfree.util.ObjectList; //导入依赖的package包/类
/**
 * Tests the expand method.  This test reproduces a bug where the list was not expanded beyond
 * the initial default size of 8.  This bug is now fixed.
 */
public void testExpand() {
    final ObjectList l1 = new ObjectList();
    l1.set(10, Color.blue);
    final Color c = (Color) l1.get(10);
    assertTrue(c.equals(Color.blue));
}
 
开发者ID:nologic,项目名称:nabs,代码行数:11,代码来源:ObjectListTests.java



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


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
Java CastExpr类代码示例发布时间:2022-05-21
下一篇:
Java FrameCallback类代码示例发布时间:2022-05-21
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap