本文整理汇总了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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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);
}