Java 类org.jfree.chart.urls.XYURLGenerator 实例源码

项目:parabuild-ci    文件:XYStepAreaRenderer.java   
/**
 * 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;
}
项目:parabuild-ci    文件:XYStepAreaRenderer.java   
/**
 * 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;
}
项目:parabuild-ci    文件:XYAreaRenderer2.java   
/**
 * 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;
}
项目:ccu-historian    文件:XYStepAreaRenderer.java   
/**
 * 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;
}
项目:ccu-historian    文件:XYAreaRenderer2.java   
/**
 * 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;
}
项目:jfreechart    文件:StandardXYItemRenderer.java   
/**
 * 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;
}
项目:jfreechart    文件:XYStepAreaRenderer.java   
/**
 * 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;
}
项目:jfreechart    文件:XYAreaRenderer2.java   
/**
 * 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;
}
项目:aya-lang    文件:XYStepAreaRenderer.java   
/**
 * 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;
}
项目:aya-lang    文件:XYAreaRenderer2.java   
/**
 * 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;
}
项目:HTML5_WebSite    文件:XYStepAreaRenderer.java   
/**
 * 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;
}
项目:HTML5_WebSite    文件:XYAreaRenderer2.java   
/**
 * 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;
}
项目:populus    文件:XYStepAreaRenderer.java   
/**
 * 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;
}
项目:populus    文件:XYAreaRenderer2.java   
/**
 * 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;
}
项目:PI    文件:XYStepAreaRenderer.java   
/**
 * 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;
}
项目:PI    文件:XYAreaRenderer2.java   
/**
 * 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;
}
项目:gama    文件:StandardXYItemRenderer.java   
/**
 * 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;
}
项目:nabs    文件:XYStepAreaRenderer.java   
/**
 * 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;
}
项目:nabs    文件:XYAreaRenderer2.java   
/**
 * 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;
}
项目:ECG-Viewer    文件:XYStepAreaRenderer.java   
/**
 * 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;
}
项目:ECG-Viewer    文件:XYAreaRenderer2.java   
/**
 * 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;
}
项目:astor    文件:StandardXYItemRenderer.java   
/**
 * 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;
}
项目:astor    文件:XYStepAreaRenderer.java   
/**
 * 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;
}
项目:astor    文件:XYAreaRenderer2.java   
/**
 * 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;
}
项目:opensim-gui    文件:XYStepAreaRenderer.java   
/**
 * 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;
}
项目:group-five    文件:XYStepAreaRenderer.java   
/**
 * 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;
}
项目:group-five    文件:XYAreaRenderer2.java   
/**
 * 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;
}
项目:manydesigns.cn    文件:XYStepAreaRenderer.java   
/**
 * 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;
}
项目:manydesigns.cn    文件:XYAreaRenderer2.java   
/**
 * 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;
}
项目:parabuild-ci    文件:StandardXYItemRenderer.java   
/**
 * 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;

}
项目:parabuild-ci    文件:XYStepRenderer.java   
/**
 * 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);

}
项目:parabuild-ci    文件:XYAreaRenderer.java   
/**
 * Constructs a new renderer.
 * <p>
 * To specify the type of renderer, use one of the constants: SHAPES, LINES,
 * SHAPES_AND_LINES, AREA or AREA_AND_SHAPES.
 *
 * @param type  the type of renderer.
 * @param toolTipGenerator  the tool tip generator to use.  <code>null</code> is none.
 * @param urlGenerator  the URL generator (null permitted).
 */
public XYAreaRenderer(int type,
                      XYToolTipGenerator toolTipGenerator, XYURLGenerator urlGenerator) {

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

    if (type == SHAPES) {
        this.plotShapes = true;
    }
    if (type == LINES) {
        this.plotLines = true;
    }
    if (type == SHAPES_AND_LINES) {
        this.plotShapes = true;
        this.plotLines = true;
    }
    if (type == AREA) {
        this.plotArea = true;
    }
    if (type == AREA_AND_SHAPES) {
        this.plotArea = true;
        this.plotShapes = true;
    }
    this.showOutline = false;

}
项目:parabuild-ci    文件:XYAreaRenderer2.java   
/**
 * Constructs a new renderer.
 * <p>
 * To specify the type of renderer, use one of the constants: SHAPES, LINES,
 * SHAPES_AND_LINES, AREA or AREA_AND_SHAPES.
 *
 * @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.plotArea = true;
    this.plotLines = false;
    this.plotShapes = false;
    this.showOutline = false;
    setToolTipGenerator(labelGenerator);
    setURLGenerator(urlGenerator);
}
项目:parabuild-ci    文件:StandardXYItemRenderer.java   
/**
 * 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();
    setToolTipGenerator(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;
}
项目:parabuild-ci    文件:XYAreaRenderer.java   
/**
 * Constructs a new renderer.  To specify the type of renderer, use one of 
 * the constants: <code>SHAPES</code>, <code>LINES</code>,
 * <code>SHAPES_AND_LINES</code>, <code>AREA</code> or 
 * <code>AREA_AND_SHAPES</code>.
 *
 * @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 XYAreaRenderer(int type, XYToolTipGenerator toolTipGenerator, 
                      XYURLGenerator urlGenerator) {

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

    if (type == SHAPES) {
        this.plotShapes = true;
    }
    if (type == LINES) {
        this.plotLines = true;
    }
    if (type == SHAPES_AND_LINES) {
        this.plotShapes = true;
        this.plotLines = true;
    }
    if (type == AREA) {
        this.plotArea = true;
    }
    if (type == AREA_AND_SHAPES) {
        this.plotArea = true;
        this.plotShapes = true;
    }
    this.showOutline = false;
    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;

}
项目:ccu-historian    文件:StandardXYItemRenderer.java   
/**
 * 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);
    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;
}
项目:ccu-historian    文件:XYAreaRenderer.java   
/**
 * Constructs a new renderer.  To specify the type of renderer, use one of
 * the constants: <code>SHAPES</code>, <code>LINES</code>,
 * <code>SHAPES_AND_LINES</code>, <code>AREA</code> or
 * <code>AREA_AND_SHAPES</code>.
 *
 * @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 XYAreaRenderer(int type, XYToolTipGenerator toolTipGenerator,
                      XYURLGenerator urlGenerator) {

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

    if (type == SHAPES) {
        this.plotShapes = true;
    }
    if (type == LINES) {
        this.plotLines = true;
    }
    if (type == SHAPES_AND_LINES) {
        this.plotShapes = true;
        this.plotLines = true;
    }
    if (type == AREA) {
        this.plotArea = true;
    }
    if (type == AREA_AND_SHAPES) {
        this.plotArea = true;
        this.plotShapes = true;
    }
    this.showOutline = false;
    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;
    this.useFillPaint = false;
    this.gradientTransformer = new StandardGradientPaintTransformer();
}
项目:jfreechart    文件:XYAreaRenderer.java   
/**
 * Constructs a new renderer.  To specify the type of renderer, use one of
 * the constants: {@code SHAPES}, {@code LINES}, {@code SHAPES_AND_LINES}, 
 * {@code AREA} or {@code AREA_AND_SHAPES}.
 *
 * @param type  the type of renderer.
 * @param toolTipGenerator  the tool tip generator ({@code null} permitted).
 * @param urlGenerator  the URL generator ({@code null} permitted).
 */
public XYAreaRenderer(int type, XYToolTipGenerator toolTipGenerator,
                      XYURLGenerator urlGenerator) {

    super();
    setDefaultToolTipGenerator(toolTipGenerator);
    setURLGenerator(urlGenerator);

    if (type == SHAPES) {
        this.plotShapes = true;
    }
    if (type == LINES) {
        this.plotLines = true;
    }
    if (type == SHAPES_AND_LINES) {
        this.plotShapes = true;
        this.plotLines = true;
    }
    if (type == AREA) {
        this.plotArea = true;
    }
    if (type == AREA_AND_SHAPES) {
        this.plotArea = true;
        this.plotShapes = true;
    }
    this.showOutline = false;
    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;
    this.useFillPaint = false;
    this.gradientTransformer = new StandardGradientPaintTransformer();
}
项目:aya-lang    文件:StandardXYItemRenderer.java   
/**
 * 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);
    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;
}
项目:aya-lang    文件:XYAreaRenderer.java   
/**
 * Constructs a new renderer.  To specify the type of renderer, use one of
 * the constants: <code>SHAPES</code>, <code>LINES</code>,
 * <code>SHAPES_AND_LINES</code>, <code>AREA</code> or
 * <code>AREA_AND_SHAPES</code>.
 *
 * @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 XYAreaRenderer(int type, XYToolTipGenerator toolTipGenerator,
                      XYURLGenerator urlGenerator) {

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

    if (type == SHAPES) {
        this.plotShapes = true;
    }
    if (type == LINES) {
        this.plotLines = true;
    }
    if (type == SHAPES_AND_LINES) {
        this.plotShapes = true;
        this.plotLines = true;
    }
    if (type == AREA) {
        this.plotArea = true;
    }
    if (type == AREA_AND_SHAPES) {
        this.plotArea = true;
        this.plotShapes = true;
    }
    this.showOutline = false;
    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;
    this.useFillPaint = false;
    this.gradientTransformer = new StandardGradientPaintTransformer();
}