亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來(lái)到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? xyarearenderer.java

?? jfreechart1.0.1 jsp繪制圖表的開發(fā)包
?? JAVA
?? 第 1 頁(yè) / 共 2 頁(yè)
字號(hào):
/* ===========================================================
 * JFreeChart : a free chart library for the Java(tm) platform
 * ===========================================================
 *
 * (C) Copyright 2000-2005, by Object Refinery Limited and Contributors.
 *
 * Project Info:  http://www.jfree.org/jfreechart/index.html
 *
 * This library is free software; you can redistribute it and/or modify it 
 * under the terms of the GNU Lesser General Public License as published by 
 * the Free Software Foundation; either version 2.1 of the License, or 
 * (at your option) any later version.
 *
 * This library is distributed in the hope that it will be useful, but 
 * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY 
 * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public 
 * License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with this library; if not, write to the Free Software
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, 
 * USA.  
 *
 * [Java is a trademark or registered trademark of Sun Microsystems, Inc. 
 * in the United States and other countries.]
 *
 * -------------------
 * XYAreaRenderer.java
 * -------------------
 * (C) Copyright 2002-2005, by Hari and Contributors.
 *
 * Original Author:  Hari (ourhari@hotmail.com);
 * Contributor(s):   David Gilbert (for Object Refinery Limited);
 *                   Richard Atkinson;
 *                   Christian W. Zuckschwerdt;
 *
 * $Id: XYAreaRenderer.java,v 1.12.2.5 2005/12/22 15:53:05 mungady Exp $
 *
 * Changes:
 * --------
 * 03-Apr-2002 : Version 1, contributed by Hari.  This class is based on the 
 *               StandardXYItemRenderer class (DG);
 * 09-Apr-2002 : Removed the translated zero from the drawItem method - 
 *               overridden the initialise() method to calculate it (DG);
 * 30-May-2002 : Added tool tip generator to constructor to match super 
 *               class (DG);
 * 25-Jun-2002 : Removed unnecessary local variable (DG);
 * 05-Aug-2002 : Small modification to drawItem method to support URLs for HTML
 *               image maps (RA);
 * 01-Oct-2002 : Fixed errors reported by Checkstyle (DG);
 * 07-Nov-2002 : Renamed AreaXYItemRenderer --> XYAreaRenderer (DG);
 * 25-Mar-2003 : Implemented Serializable (DG);
 * 01-May-2003 : Modified drawItem() method signature (DG);
 * 27-Jul-2003 : Made line and polygon properties protected rather than 
 *               private (RA);
 * 30-Jul-2003 : Modified entity constructor (CZ);
 * 20-Aug-2003 : Implemented Cloneable and PublicCloneable (DG);
 * 16-Sep-2003 : Changed ChartRenderingInfo --> PlotRenderingInfo (DG);
 * 07-Oct-2003 : Added renderer state (DG);
 * 08-Dec-2003 : Modified hotspot for chart entity (DG);
 * 10-Feb-2004 : Changed the drawItem() method to make cut-and-paste overriding
 *               easier.  Also moved state class into this class (DG);
 * 25-Feb-2004 : Replaced CrosshairInfo with CrosshairState.  Renamed 
 *               XYToolTipGenerator --> XYItemLabelGenerator (DG);
 * 15-Jul-2004 : Switched getX() with getXValue() and getY() with 
 *               getYValue() (DG);
 * 11-Nov-2004 : Now uses ShapeUtilities to translate shapes (DG);
 * 19-Jan-2005 : Now accesses primitives only from dataset (DG);
 * 21-Mar-2005 : Override getLegendItem() and equals() methods (DG);
 * 20-Apr-2005 : Use generators for legend tooltips and URLs (DG);
 * 
 */

package org.jfree.chart.renderer.xy;

import java.awt.Graphics2D;
import java.awt.Paint;
import java.awt.Polygon;
import java.awt.Shape;
import java.awt.Stroke;
import java.awt.geom.GeneralPath;
import java.awt.geom.Line2D;
import java.awt.geom.Rectangle2D;
import java.io.IOException;
import java.io.ObjectInputStream;
import java.io.ObjectOutputStream;
import java.io.Serializable;

import org.jfree.chart.LegendItem;
import org.jfree.chart.axis.ValueAxis;
import org.jfree.chart.entity.EntityCollection;
import org.jfree.chart.entity.XYItemEntity;
import org.jfree.chart.event.RendererChangeEvent;
import org.jfree.chart.labels.XYSeriesLabelGenerator;
import org.jfree.chart.labels.XYToolTipGenerator;
import org.jfree.chart.plot.CrosshairState;
import org.jfree.chart.plot.PlotOrientation;
import org.jfree.chart.plot.PlotRenderingInfo;
import org.jfree.chart.plot.XYPlot;
import org.jfree.chart.urls.XYURLGenerator;
import org.jfree.data.xy.XYDataset;
import org.jfree.io.SerialUtilities;
import org.jfree.util.PublicCloneable;
import org.jfree.util.ShapeUtilities;

/**
 * Area item renderer for an {@link XYPlot}.  This class can draw (a) shapes at
 * each point, or (b) lines between points, or (c) both shapes and lines, 
 * or (d) filled areas, or (e) filled areas and shapes.
 */
public class XYAreaRenderer extends AbstractXYItemRenderer 
                            implements XYItemRenderer, 
                                       Cloneable,
                                       PublicCloneable,
                                       Serializable {

    /** For serialization. */
    private static final long serialVersionUID = -4481971353973876747L;
    
    /**
     * A state object used by this renderer.
     */
    static class XYAreaRendererState extends XYItemRendererState {
        
        /** Working storage for the area under one series. */
        public Polygon area;
        
        /** Working line that can be recycled. */
        public Line2D line;
        
        /**
         * Creates a new state.
         * 
         * @param info  the plot rendering info.
         */
        public XYAreaRendererState(PlotRenderingInfo info) {
            super(info);
            this.area = new Polygon();
            this.line = new Line2D.Double();
        }
        
    }
    
    /** Useful constant for specifying the type of rendering (shapes only). */
    public static final int SHAPES = 1;

    /** Useful constant for specifying the type of rendering (lines only). */
    public static final int LINES = 2;

    /** 
     * Useful constant for specifying the type of rendering (shapes and lines).
     */
    public static final int SHAPES_AND_LINES = 3;

    /** Useful constant for specifying the type of rendering (area only). */
    public static final int AREA = 4;

    /** 
     * Useful constant for specifying the type of rendering (area and shapes). 
     */
    public static final int AREA_AND_SHAPES = 5;

    /** A flag indicating whether or not shapes are drawn at each XY point. */
    private boolean plotShapes;

    /** A flag indicating whether or not lines are drawn between XY points. */
    private boolean plotLines;

    /** A flag indicating whether or not Area are drawn at each XY point. */
    private boolean plotArea;

    /** A flag that controls whether or not the outline is shown. */
    private boolean showOutline;

    /** 
     * The shape used to represent an area in each legend item (this should 
     * never be <code>null</code>). 
     */
    private transient Shape legendArea;

    /**
     * Constructs a new renderer.
     */
    public XYAreaRenderer() {
        this(AREA);
    }

    /**
     * Constructs a new renderer.
     *
     * @param type  the type of the renderer.
     */
    public XYAreaRenderer(int type) {
        this(type, null, null);
    }

    /**
     * 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> 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;

    }

    /**
     * Returns a flag that controls whether or not outlines of the areas are 
     * drawn.
     *
     * @return The flag.
     */
    public boolean isOutline() {
        return this.showOutline;
    }

    /**
     * Sets a flag that controls whether or not outlines of the areas are drawn.
     *
     * @param show  the flag.
     */
    public void setOutline(boolean show) {
        this.showOutline = show;
    }

    /**
     * Returns true if shapes are being plotted by the renderer.
     *
     * @return <code>true</code> if shapes are being plotted by the renderer.
     */
    public boolean getPlotShapes() {
        return this.plotShapes;
    }

    /**
     * Returns true if lines are being plotted by the renderer.
     *
     * @return <code>true</code> if lines are being plotted by the renderer.
     */
    public boolean getPlotLines() {
        return this.plotLines;
    }

    /**
     * Returns true if Area is being plotted by the renderer.
     *
     * @return <code>true</code> if Area is being plotted by the renderer.
     */
    public boolean getPlotArea() {
        return this.plotArea;
    }

    /**
     * Returns the shape used to represent an area in the legend.
     * 
     * @return The legend area (never <code>null</code>).
     */
    public Shape getLegendArea() {
        return this.legendArea;   
    }
    
    /**
     * Sets the shape used as an area in each legend item and sends a 
     * {@link RendererChangeEvent} to all registered listeners.
     * 
     * @param area  the area (<code>null</code> not permitted).
     */
    public void setLegendArea(Shape area) {
        if (area == null) {
            throw new IllegalArgumentException("Null 'area' argument.");   
        }
        this.legendArea = area;
        notifyListeners(new RendererChangeEvent(this));
    }

    /**
     * Initialises the renderer and returns a state object that should be 
     * passed to all subsequent calls to the drawItem() method.
     *

?? 快捷鍵說(shuō)明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
日韩一区二区三区视频在线观看| 久久久精品免费免费| 欧美日韩美少妇| 日韩一级黄色大片| 国产精品欧美一区喷水| 一区二区三区日韩欧美精品| 日韩成人一级大片| 国内成人自拍视频| 91麻豆精品视频| 91精品国产高清一区二区三区蜜臀 | 一本一本大道香蕉久在线精品| 精品视频在线免费观看| www精品美女久久久tv| 亚洲精品亚洲人成人网 | 日韩欧美国产小视频| 国产日韩欧美一区二区三区乱码| 亚洲乱码中文字幕| 极品少妇xxxx精品少妇偷拍| 91麻豆国产福利精品| 精品久久久久一区二区国产| 综合分类小说区另类春色亚洲小说欧美| 午夜伦欧美伦电影理论片| 国产精品一区二区三区乱码| 在线观看三级视频欧美| 久久久久久99久久久精品网站| 一区二区三区欧美视频| 国产一区二区三区免费看| 在线观看视频一区二区| 国产欧美一区视频| 午夜在线电影亚洲一区| 成人午夜在线播放| 欧美大胆一级视频| 一区二区激情小说| 成人永久看片免费视频天堂| 欧美一级高清片| 亚洲精品一二三区| 成人性生交大合| 91精品国产综合久久精品性色| 亚洲天天做日日做天天谢日日欢 | 欧美一区二区三区系列电影| 国产精品灌醉下药二区| 精品一二线国产| 欧美乱熟臀69xxxxxx| 亚洲欧洲韩国日本视频| 久久99国产精品麻豆| 欧美日韩亚洲综合| 亚洲天堂中文字幕| 高清国产午夜精品久久久久久| 欧美一二三四区在线| 亚洲国产精品一区二区www| 成人免费看的视频| 精品国产露脸精彩对白| 日韩精品一区第一页| 在线视频国内自拍亚洲视频| 中文字幕av一区二区三区免费看| 美女网站视频久久| 欧美一区二区三区四区五区 | 欧美系列亚洲系列| 自拍偷拍亚洲综合| 国产精品自拍网站| 精品电影一区二区三区| 久久精品国产精品亚洲红杏| 欧美精品在线观看一区二区| 亚洲一区二区不卡免费| 色88888久久久久久影院按摩| 久久精品人人做人人综合 | 久久久一区二区三区捆绑**| 日本欧美在线观看| 5858s免费视频成人| 亚洲亚洲精品在线观看| 欧美在线一区二区三区| 亚洲综合无码一区二区| 日本福利一区二区| 一区二区欧美视频| 欧美亚洲动漫另类| 亚洲成人免费在线观看| 欧美日韩一区三区四区| 亚洲成人激情自拍| 在线观看91av| 蜜臂av日日欢夜夜爽一区| 91精品在线免费观看| 琪琪久久久久日韩精品| 欧美不卡一二三| 国产在线一区二区综合免费视频| 精品国精品国产尤物美女| 国内精品久久久久影院色| 久久久久久免费| 成人午夜电影网站| 亚洲欧洲日本在线| 在线观看网站黄不卡| 亚洲妇熟xx妇色黄| 91麻豆精品国产无毒不卡在线观看 | 成人a级免费电影| 亚洲欧美一区二区久久| 91老司机福利 在线| 亚洲自拍偷拍图区| 欧美久久久一区| 精品一区二区久久| 日韩一区中文字幕| 欧美日韩中文字幕一区| 日韩精品福利网| 日韩久久久精品| 国产福利一区二区三区| 欧美激情综合五月色丁香| 一本高清dvd不卡在线观看| 亚洲高清视频在线| 久久综合久久综合久久综合| 成人看片黄a免费看在线| 一区二区三区中文字幕精品精品| 在线观看91av| 另类小说色综合网站| 欧美国产视频在线| 欧美日韩在线一区二区| 麻豆精品视频在线观看| 国产精品视频线看| 欧美日韩高清一区二区三区| 激情图片小说一区| 亚洲色图欧洲色图婷婷| 欧美日韩www| 福利91精品一区二区三区| 亚洲综合丝袜美腿| 欧美第一区第二区| 一本到不卡精品视频在线观看| 日本视频中文字幕一区二区三区| 中文字幕免费观看一区| 欧美亚洲国产bt| 国产精品一区二区在线看| 亚洲精品美国一| 精品国产91洋老外米糕| 色综合久久中文字幕综合网 | 日本韩国一区二区三区视频| 九色|91porny| 中文字幕综合网| 日韩精品一区二区三区在线 | 国产欧美精品区一区二区三区| 色999日韩国产欧美一区二区| 国内成人免费视频| 午夜久久久久久久久久一区二区| 国产喷白浆一区二区三区| 欧美日韩一区三区四区| av一二三不卡影片| 精品午夜久久福利影院| 亚洲一区二区五区| 国产精品天美传媒| 日韩欧美国产午夜精品| 一本久道久久综合中文字幕| 国产ts人妖一区二区| 蜜桃av噜噜一区| 亚洲一二三专区| 国产女主播在线一区二区| 欧美巨大另类极品videosbest| av在线这里只有精品| 国产在线播放一区二区三区| 亚洲一区二区三区美女| 国产精品久久看| 久久久亚洲欧洲日产国码αv| 7878成人国产在线观看| 在线中文字幕一区| 99久久久久久| 懂色中文一区二区在线播放| 久久99精品国产.久久久久久| 亚洲成人综合在线| 亚洲第一二三四区| 亚洲九九爱视频| 中文字幕精品三区| 久久精品免视看| 精品免费日韩av| 日韩三级电影网址| 欧美高清你懂得| 欧美日韩亚洲综合在线| 欧美亚洲愉拍一区二区| 91久久精品一区二区三区| 成人免费毛片嘿嘿连载视频| 国产精品456露脸| 国产一区二区三区不卡在线观看 | 久久久久一区二区三区四区| 欧美一区二区三区四区五区 | 五月天一区二区| 一区二区三区在线视频播放| 亚洲激情图片小说视频| 亚洲精选一二三| 亚洲成人一区二区在线观看| 亚洲6080在线| 亚洲一区二区欧美| 五月激情六月综合| 午夜精品爽啪视频| 香蕉成人伊视频在线观看| 日本一不卡视频| 久久精品噜噜噜成人88aⅴ| 免费人成黄页网站在线一区二区| 亚洲va中文字幕| 日韩中文字幕亚洲一区二区va在线| 亚洲第一成人在线| 日韩激情一区二区| 久久av中文字幕片| 国产成人免费视频一区| 成人性生交大片免费| 91久久精品午夜一区二区| 欧美日韩黄视频| 日韩精品在线一区二区|