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


Java XYURLGenerator类代码示例

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


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

示例1: XYStepAreaRenderer

import org.jfree.chart.urls.XYURLGenerator; //导入依赖的package包/类
/**
 * Constructs a new renderer.
 * <p>
 * To specify the type of renderer, use one of the constants:
 * AREA, SHAPES or AREA_AND_SHAPES.
 *
 * @param type  the type of renderer.
 * @param toolTipGenerator  the tool tip generator to use (<code>null</code> permitted).
 * @param urlGenerator  the URL generator (<code>null</code> permitted).
 */
public XYStepAreaRenderer(int type,
                          XYToolTipGenerator toolTipGenerator, XYURLGenerator urlGenerator) {

    super();
    setToolTipGenerator(toolTipGenerator);
    setURLGenerator(urlGenerator);

    if (type == AREA) {
        this.plotArea = true;
    }
    else if (type == SHAPES) {
        this.plotShapes = true;
    }
    else if (type == AREA_AND_SHAPES) {
        this.plotArea = true;
        this.plotShapes = true;
    }
    this.showOutline = false;
}
 
开发者ID:parabuild-ci,项目名称:parabuild-ci,代码行数:30,代码来源:XYStepAreaRenderer.java

示例2: XYStepAreaRenderer

import org.jfree.chart.urls.XYURLGenerator; //导入依赖的package包/类
/**
 * Constructs a new renderer.
 * <p>
 * To specify the type of renderer, use one of the constants:
 * AREA, SHAPES or AREA_AND_SHAPES.
 *
 * @param type  the type of renderer.
 * @param toolTipGenerator  the tool tip generator to use 
 *                          (<code>null</code> permitted).
 * @param urlGenerator  the URL generator (<code>null</code> permitted).
 */
public XYStepAreaRenderer(int type,
                          XYToolTipGenerator toolTipGenerator, 
                          XYURLGenerator urlGenerator) {

    super();
    setBaseToolTipGenerator(toolTipGenerator);
    setURLGenerator(urlGenerator);

    if (type == AREA) {
        this.plotArea = true;
    }
    else if (type == SHAPES) {
        this.shapesVisible = true;
    }
    else if (type == AREA_AND_SHAPES) {
        this.plotArea = true;
        this.shapesVisible = true;
    }
    this.showOutline = false;
}
 
开发者ID:parabuild-ci,项目名称:parabuild-ci,代码行数:32,代码来源:XYStepAreaRenderer.java

示例3: XYAreaRenderer2

import org.jfree.chart.urls.XYURLGenerator; //导入依赖的package包/类
/**
 * Constructs a new renderer.
 *
 * @param labelGenerator  the tool tip generator to use.  <code>null</code> 
 *                        is none.
 * @param urlGenerator  the URL generator (null permitted).
 */
public XYAreaRenderer2(XYToolTipGenerator labelGenerator, 
                       XYURLGenerator urlGenerator) {
    super();
    this.showOutline = false;
    setBaseToolTipGenerator(labelGenerator);
    setURLGenerator(urlGenerator);
    GeneralPath area = new GeneralPath();
    area.moveTo(0.0f, -4.0f);
    area.lineTo(3.0f, -2.0f);
    area.lineTo(4.0f, 4.0f);
    area.lineTo(-4.0f, 4.0f);
    area.lineTo(-3.0f, -2.0f);
    area.closePath();
    this.legendArea = area;
}
 
开发者ID:parabuild-ci,项目名称:parabuild-ci,代码行数:23,代码来源:XYAreaRenderer2.java

示例4: XYStepAreaRenderer

import org.jfree.chart.urls.XYURLGenerator; //导入依赖的package包/类
/**
 * Constructs a new renderer.
 * <p>
 * To specify the type of renderer, use one of the constants:
 * AREA, SHAPES or AREA_AND_SHAPES.
 *
 * @param type  the type of renderer.
 * @param toolTipGenerator  the tool tip generator to use
 *                          (<code>null</code> permitted).
 * @param urlGenerator  the URL generator (<code>null</code> permitted).
 */
public XYStepAreaRenderer(int type, XYToolTipGenerator toolTipGenerator,
        XYURLGenerator urlGenerator) {
    super();
    setBaseToolTipGenerator(toolTipGenerator);
    setURLGenerator(urlGenerator);

    if (type == AREA) {
        this.plotArea = true;
    }
    else if (type == SHAPES) {
        this.shapesVisible = true;
    }
    else if (type == AREA_AND_SHAPES) {
        this.plotArea = true;
        this.shapesVisible = true;
    }
    this.showOutline = false;
    this.stepPoint = 1.0;
}
 
开发者ID:mdzio,项目名称:ccu-historian,代码行数:31,代码来源:XYStepAreaRenderer.java

示例5: XYAreaRenderer2

import org.jfree.chart.urls.XYURLGenerator; //导入依赖的package包/类
/**
 * Constructs a new renderer.
 *
 * @param labelGenerator  the tool tip generator to use.  <code>null</code>
 *                        is none.
 * @param urlGenerator  the URL generator (null permitted).
 */
public XYAreaRenderer2(XYToolTipGenerator labelGenerator,
                       XYURLGenerator urlGenerator) {
    super();
    this.showOutline = false;
    setBaseToolTipGenerator(labelGenerator);
    setURLGenerator(urlGenerator);
    GeneralPath area = new GeneralPath();
    area.moveTo(0.0f, -4.0f);
    area.lineTo(3.0f, -2.0f);
    area.lineTo(4.0f, 4.0f);
    area.lineTo(-4.0f, 4.0f);
    area.lineTo(-3.0f, -2.0f);
    area.closePath();
    this.legendArea = area;
}
 
开发者ID:mdzio,项目名称:ccu-historian,代码行数:23,代码来源:XYAreaRenderer2.java

示例6: StandardXYItemRenderer

import org.jfree.chart.urls.XYURLGenerator; //导入依赖的package包/类
/**
 * Constructs a new renderer.  To specify the type of renderer, use one of
 * the constants: {@link #SHAPES}, {@link #LINES} or
 * {@link #SHAPES_AND_LINES}.
 *
 * @param type  the type of renderer.
 * @param toolTipGenerator  the item label generator ({@code null}
 *                          permitted).
 * @param urlGenerator  the URL generator.
 */
public StandardXYItemRenderer(int type, XYToolTipGenerator toolTipGenerator,
       XYURLGenerator urlGenerator) {

    super();
    setDefaultToolTipGenerator(toolTipGenerator);
    setURLGenerator(urlGenerator);
    if ((type & SHAPES) != 0) {
        this.baseShapesVisible = true;
    }
    if ((type & LINES) != 0) {
        this.plotLines = true;
    }
    if ((type & IMAGES) != 0) {
        this.plotImages = true;
    }
    if ((type & DISCONTINUOUS) != 0) {
        this.plotDiscontinuous = true;
    }

    this.seriesShapesFilled = new BooleanList();
    this.baseShapesFilled = true;
    this.legendLine = new Line2D.Double(-7.0, 0.0, 7.0, 0.0);
    this.drawSeriesLineAsPath = false;
}
 
开发者ID:jfree,项目名称:jfreechart,代码行数:35,代码来源:StandardXYItemRenderer.java

示例7: XYStepAreaRenderer

import org.jfree.chart.urls.XYURLGenerator; //导入依赖的package包/类
/**
 * Constructs a new renderer.
 * <p>
 * To specify the type of renderer, use one of the constants:
 * AREA, SHAPES or AREA_AND_SHAPES.
 *
 * @param type  the type of renderer.
 * @param toolTipGenerator  the tool tip generator to use
 *                          ({@code null} permitted).
 * @param urlGenerator  the URL generator ({@code null} permitted).
 */
public XYStepAreaRenderer(int type, XYToolTipGenerator toolTipGenerator,
        XYURLGenerator urlGenerator) {
    super();
    setDefaultToolTipGenerator(toolTipGenerator);
    setURLGenerator(urlGenerator);

    if (type == AREA) {
        this.plotArea = true;
    }
    else if (type == SHAPES) {
        this.shapesVisible = true;
    }
    else if (type == AREA_AND_SHAPES) {
        this.plotArea = true;
        this.shapesVisible = true;
    }
    this.showOutline = false;
    this.stepPoint = 1.0;
}
 
开发者ID:jfree,项目名称:jfreechart,代码行数:31,代码来源:XYStepAreaRenderer.java

示例8: XYAreaRenderer2

import org.jfree.chart.urls.XYURLGenerator; //导入依赖的package包/类
/**
 * Constructs a new renderer.
 *
 * @param labelGenerator  the tool tip generator to use ({@code null} 
 *     permitted).
 * @param urlGenerator  the URL generator ({@code null} permitted).
 */
public XYAreaRenderer2(XYToolTipGenerator labelGenerator,
                       XYURLGenerator urlGenerator) {
    super();
    this.showOutline = false;
    setDefaultToolTipGenerator(labelGenerator);
    setURLGenerator(urlGenerator);
    GeneralPath area = new GeneralPath();
    area.moveTo(0.0f, -4.0f);
    area.lineTo(3.0f, -2.0f);
    area.lineTo(4.0f, 4.0f);
    area.lineTo(-4.0f, 4.0f);
    area.lineTo(-3.0f, -2.0f);
    area.closePath();
    this.legendArea = area;
}
 
开发者ID:jfree,项目名称:jfreechart,代码行数:23,代码来源:XYAreaRenderer2.java

示例9: XYStepAreaRenderer

import org.jfree.chart.urls.XYURLGenerator; //导入依赖的package包/类
/**
 * Constructs a new renderer.
 * <p>
 * To specify the type of renderer, use one of the constants:
 * AREA, SHAPES or AREA_AND_SHAPES.
 *
 * @param type  the type of renderer.
 * @param toolTipGenerator  the tool tip generator to use
 *                          (<code>null</code> permitted).
 * @param urlGenerator  the URL generator (<code>null</code> permitted).
 */
public XYStepAreaRenderer(int type,
                          XYToolTipGenerator toolTipGenerator,
                          XYURLGenerator urlGenerator) {

    super();
    setBaseToolTipGenerator(toolTipGenerator);
    setURLGenerator(urlGenerator);

    if (type == AREA) {
        this.plotArea = true;
    }
    else if (type == SHAPES) {
        this.shapesVisible = true;
    }
    else if (type == AREA_AND_SHAPES) {
        this.plotArea = true;
        this.shapesVisible = true;
    }
    this.showOutline = false;
}
 
开发者ID:SOCR,项目名称:HTML5_WebSite,代码行数:32,代码来源:XYStepAreaRenderer.java

示例10: StandardXYItemRenderer

import org.jfree.chart.urls.XYURLGenerator; //导入依赖的package包/类
/**
 * Constructs a new renderer. To specify the type of renderer, use one of the constants: {@link #SHAPES},
 * {@link #LINES} or {@link #SHAPES_AND_LINES}.
 *
 * @param type
 *            the type of renderer.
 * @param toolTipGenerator
 *            the item label generator (<code>null</code> permitted).
 * @param urlGenerator
 *            the URL generator.
 */
public StandardXYItemRenderer(final int type, final XYToolTipGenerator toolTipGenerator,
		final XYURLGenerator urlGenerator) {

	super();
	setBaseToolTipGenerator(toolTipGenerator);
	setURLGenerator(urlGenerator);
	if ((type & SHAPES) != 0) {
		this.baseShapesVisible = true;
	}
	if ((type & LINES) != 0) {
		this.plotLines = true;
	}
	if ((type & IMAGES) != 0) {
		this.plotImages = true;
	}
	if ((type & DISCONTINUOUS) != 0) {
		this.plotDiscontinuous = true;
	}

	this.shapesFilled = null;
	this.seriesShapesFilled = new BooleanList();
	this.baseShapesFilled = true;
	this.legendLine = new Line2D.Double(-7.0, 0.0, 7.0, 0.0);
	this.drawSeriesLineAsPath = false;
}
 
开发者ID:gama-platform,项目名称:gama,代码行数:37,代码来源:StandardXYItemRenderer.java

示例11: StandardXYItemRenderer

import org.jfree.chart.urls.XYURLGenerator; //导入依赖的package包/类
/**
 * Constructs a new renderer.  To specify the type of renderer, use one of
 * the constants: {@link #SHAPES}, {@link #LINES} or
 * {@link #SHAPES_AND_LINES}.
 *
 * @param type  the type of renderer.
 * @param toolTipGenerator  the item label generator (<code>null</code>
 *                          permitted).
 * @param urlGenerator  the URL generator.
 */
public StandardXYItemRenderer(int type,
                              XYToolTipGenerator toolTipGenerator,
                              XYURLGenerator urlGenerator) {

    super();
    setBaseToolTipGenerator(toolTipGenerator);
    setBaseURLGenerator(urlGenerator);
    if ((type & SHAPES) != 0) {
        this.baseShapesVisible = true;
    }
    if ((type & LINES) != 0) {
        this.plotLines = true;
    }
    if ((type & IMAGES) != 0) {
        this.plotImages = true;
    }
    if ((type & DISCONTINUOUS) != 0) {
        this.plotDiscontinuous = true;
    }

    this.seriesShapesFilled = new BooleanList();
    this.baseShapesFilled = true;
    this.legendLine = new Line2D.Double(-7.0, 0.0, 7.0, 0.0);
    this.drawSeriesLineAsPath = false;
}
 
开发者ID:SpoonLabs,项目名称:astor,代码行数:36,代码来源:StandardXYItemRenderer.java

示例12: XYStepAreaRenderer

import org.jfree.chart.urls.XYURLGenerator; //导入依赖的package包/类
/**
 * Constructs a new renderer.
 * <p>
 * To specify the type of renderer, use one of the constants:
 * AREA, SHAPES or AREA_AND_SHAPES.
 *
 * @param type  the type of renderer.
 * @param toolTipGenerator  the tool tip generator to use
 *                          (<code>null</code> permitted).
 * @param urlGenerator  the URL generator (<code>null</code> permitted).
 */
public XYStepAreaRenderer(int type,
                          XYToolTipGenerator toolTipGenerator,
                          XYURLGenerator urlGenerator) {

    super();
    setBaseToolTipGenerator(toolTipGenerator);
    setBaseURLGenerator(urlGenerator);

    if (type == AREA) {
        this.plotArea = true;
    }
    else if (type == SHAPES) {
        this.shapesVisible = true;
    }
    else if (type == AREA_AND_SHAPES) {
        this.plotArea = true;
        this.shapesVisible = true;
    }
    this.showOutline = false;
}
 
开发者ID:SpoonLabs,项目名称:astor,代码行数:32,代码来源:XYStepAreaRenderer.java

示例13: XYAreaRenderer2

import org.jfree.chart.urls.XYURLGenerator; //导入依赖的package包/类
/**
 * Constructs a new renderer.
 *
 * @param labelGenerator  the tool tip generator to use.  <code>null</code>
 *                        is none.
 * @param urlGenerator  the URL generator (null permitted).
 */
public XYAreaRenderer2(XYToolTipGenerator labelGenerator,
                       XYURLGenerator urlGenerator) {
    super();
    this.showOutline = false;
    setBaseToolTipGenerator(labelGenerator);
    setBaseURLGenerator(urlGenerator);
    GeneralPath area = new GeneralPath();
    area.moveTo(0.0f, -4.0f);
    area.lineTo(3.0f, -2.0f);
    area.lineTo(4.0f, 4.0f);
    area.lineTo(-4.0f, 4.0f);
    area.lineTo(-3.0f, -2.0f);
    area.closePath();
    this.legendArea = area;
}
 
开发者ID:SpoonLabs,项目名称:astor,代码行数:23,代码来源:XYAreaRenderer2.java

示例14: StandardXYItemRenderer

import org.jfree.chart.urls.XYURLGenerator; //导入依赖的package包/类
/**
 * Constructs a new renderer.
 * <p>
 * To specify the type of renderer, use one of the constants: SHAPES, LINES or SHAPES_AND_LINES.
 *
 * @param type  the type of renderer.
 * @param toolTipGenerator  the item label generator (<code>null</code> permitted).
 * @param urlGenerator  the URL generator.
 */
public StandardXYItemRenderer(int type,
                              XYToolTipGenerator toolTipGenerator,
                              XYURLGenerator urlGenerator) {

    super();
    setToolTipGenerator(toolTipGenerator);
    setURLGenerator(urlGenerator);
    if ((type & SHAPES) != 0) {
        this.plotShapes = true;
    }
    if ((type & LINES) != 0) {
        this.plotLines = true;
    }
    if ((type & IMAGES) != 0) {
        this.plotImages = true;
    }
    if ((type & DISCONTINUOUS) != 0) {
        this.plotDiscontinuous = true;
    }
    //this.line = new Line2D.Double(0.0, 0.0, 0.0, 0.0);

    this.shapesFilled = null;
    this.seriesShapesFilled = new BooleanList();
    this.defaultShapesFilled = Boolean.TRUE;

}
 
开发者ID:parabuild-ci,项目名称:parabuild-ci,代码行数:36,代码来源:StandardXYItemRenderer.java

示例15: XYStepRenderer

import org.jfree.chart.urls.XYURLGenerator; //导入依赖的package包/类
/**
 * Constructs a new renderer.
 *
 * @param toolTipGenerator  the item label generator.
 * @param urlGenerator  the URL generator.
 */
public XYStepRenderer(XYToolTipGenerator toolTipGenerator,
                      XYURLGenerator urlGenerator) {

    super();
    setToolTipGenerator(toolTipGenerator);
    setURLGenerator(urlGenerator);

}
 
开发者ID:parabuild-ci,项目名称:parabuild-ci,代码行数:15,代码来源:XYStepRenderer.java


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