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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? minmaxcategoryrenderer.java

?? jfreechart1.0.1 jsp繪制圖表的開發包
?? JAVA
?? 第 1 頁 / 共 2 頁
字號:
/* ===========================================================
 * 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.]
 *
 * ---------------------------
 * MinMaxCategoryRenderer.java
 * ---------------------------
 * (C) Copyright 2002-2005, by Object Refinery Limited.
 *
 * Original Author:  Tomer Peretz;
 * Contributor(s):   David Gilbert (for Object Refinery Limited);
 *                   Christian W. Zuckschwerdt;
 *                   Nicolas Brodu (for Astrium and EADS Corporate Research 
 *                   Center);
 *
 * $Id: MinMaxCategoryRenderer.java,v 1.6.2.5 2005/12/02 10:05:57 mungady Exp $
 *
 * Changes:
 * --------
 * 29-May-2002 : Version 1 (TP);
 * 02-Oct-2002 : Fixed errors reported by Checkstyle (DG);
 * 24-Oct-2002 : Amendments for changes in CategoryDataset interface and 
 *               CategoryToolTipGenerator interface (DG);
 * 05-Nov-2002 : Base dataset is now TableDataset not CategoryDataset (DG);
 * 17-Jan-2003 : Moved plot classes to a separate package (DG);
 * 10-Apr-2003 : Changed CategoryDataset to KeyedValues2DDataset in drawItem() 
 *               method (DG);
 * 30-Jul-2003 : Modified entity constructor (CZ);
 * 08-Sep-2003 : Implemented Serializable (NB);
 * 29-Oct-2003 : Added workaround for font alignment in PDF output (DG);
 * 05-Nov-2004 : Modified drawItem() signature (DG);
 * 17-Nov-2005 : Added change events and argument checks (DG);
 * 
 */

package org.jfree.chart.renderer.category;

import java.awt.BasicStroke;
import java.awt.Color;
import java.awt.Component;
import java.awt.Graphics;
import java.awt.Graphics2D;
import java.awt.Paint;
import java.awt.Shape;
import java.awt.Stroke;
import java.awt.geom.AffineTransform;
import java.awt.geom.Arc2D;
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 javax.swing.Icon;

import org.jfree.chart.axis.CategoryAxis;
import org.jfree.chart.axis.ValueAxis;
import org.jfree.chart.entity.CategoryItemEntity;
import org.jfree.chart.entity.EntityCollection;
import org.jfree.chart.event.RendererChangeEvent;
import org.jfree.chart.labels.CategoryToolTipGenerator;
import org.jfree.chart.plot.CategoryPlot;
import org.jfree.data.category.CategoryDataset;
import org.jfree.io.SerialUtilities;

/**
 * Renderer for drawing min max plot. This renderer draws all the series under 
 * the same category in the same x position using <code>objectIcon</code> and 
 * a line from the maximum value to the minimum value.
 * <p>
 * For use with the {@link org.jfree.chart.plot.CategoryPlot} class.
 *
 * @author Tomer Peretz
 */
public class MinMaxCategoryRenderer extends AbstractCategoryItemRenderer {

    /** For serialization. */
    private static final long serialVersionUID = 2935615937671064911L;
    
    /** A flag indicating whether or not lines are drawn between XY points. */
    private boolean plotLines = false;

    /** 
     * The paint of the line between the minimum value and the maximum value.
     */
    private transient Paint groupPaint = Color.black;

    /** 
     * The stroke of the line between the minimum value and the maximum value.
     */
    private transient Stroke groupStroke = new BasicStroke(1.0f);

    /** The icon used to indicate the minimum value.*/
    private transient Icon minIcon = getIcon(new Arc2D.Double(-4, -4, 8, 8, 0,
            360, Arc2D.OPEN), null, Color.black);

    /** The icon used to indicate the maximum value.*/
    private transient Icon maxIcon = getIcon(new Arc2D.Double(-4, -4, 8, 8, 0,
            360, Arc2D.OPEN), null, Color.black);

    /** The icon used to indicate the values.*/
    private transient Icon objectIcon = getIcon(new Line2D.Double(-4, 0, 4, 0),
            false, true);

    /** The last category. */
    private int lastCategory = -1;

    /** The minimum. */
    private double min;

    /** The maximum. */
    private double max;

    /**
     * Default constructor.
     */
    public MinMaxCategoryRenderer() {
        super();
    }

    /**
     * Gets whether or not lines are drawn between category points.
     *
     * @return boolean true if line will be drawn between sequenced categories,
     *         otherwise false.
     *         
     * @see #setDrawLines(boolean)
     */
    public boolean isDrawLines() {
        return this.plotLines;
    }

    /**
     * Sets the flag that controls whether or not lines are drawn to connect
     * the items within a series and sends a {@link RendererChangeEvent} to 
     * all registered listeners.
     *
     * @param draw  the new value of the flag.
     * 
     * @see #isDrawLines()
     */
    public void setDrawLines(boolean draw) {
        if (this.plotLines != draw) {
            this.plotLines = draw;
            this.notifyListeners(new RendererChangeEvent(this));
        }
        
    }

    /**
     * Returns the paint used to draw the line between the minimum and maximum
     * value items in each category.
     *
     * @return The paint (never <code>null</code>).
     * 
     * @see #setGroupPaint(Paint)
     */
    public Paint getGroupPaint() {
        return this.groupPaint;
    }

    /**
     * Sets the paint used to draw the line between the minimum and maximum
     * value items in each category and sends a {@link RendererChangeEvent} to
     * all registered listeners.
     *
     * @param paint  the paint (<code>null</code> not permitted).
     * 
     * @see #getGroupPaint()
     */
    public void setGroupPaint(Paint paint) {
        if (paint == null) {
            throw new IllegalArgumentException("Null 'paint' argument.");
        }
        this.groupPaint = paint;
        notifyListeners(new RendererChangeEvent(this));
    }

    /**
     * Returns the stroke used to draw the line between the minimum and maximum
     * value items in each category.
     *
     * @return The stroke (never <code>null</code>).
     * 
     * @see #setGroupStroke(Stroke)
     */
    public Stroke getGroupStroke() {
        return this.groupStroke;
    }

    /**
     * Sets the stroke of the line between the minimum value and the maximum 
     * value.
     *
     * @param groupStroke The new stroke
     */
    public void setGroupStroke(Stroke groupStroke) {
        this.groupStroke = groupStroke;
    }

    /**
     * Returns the icon drawn for each data item.
     *
     * @return The icon (never <code>null</code>).
     * 
     * @see #setObjectIcon(Icon)
     */
    public Icon getObjectIcon() {
        return this.objectIcon;
    }

    /**
     * Sets the icon drawn for each data item.
     *
     * @param icon  the icon.
     * 
     * @see #getObjectIcon()
     */
    public void setObjectIcon(Icon icon) {
        if (icon == null) {
            throw new IllegalArgumentException("Null 'icon' argument.");
        }
        this.objectIcon = icon;
        notifyListeners(new RendererChangeEvent(this));
    }

    /**
     * Returns the icon displayed for the maximum value data item within each
     * category.
     *
     * @return The icon (never <code>null</code>).
     * 
     * @see #setMaxIcon(Icon)
     */
    public Icon getMaxIcon() {
        return this.maxIcon;

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美一区二区三区视频免费播放 | 欧美高清性hdvideosex| 久久99精品久久久| 国产真实乱子伦精品视频| 精品国产乱子伦一区| 国产99久久久国产精品| 欧美国产乱子伦| 成人中文字幕合集| 一区二区三区四区国产精品| 欧美三级韩国三级日本三斤| 日韩福利电影在线观看| 26uuu精品一区二区| 成人午夜激情片| 亚洲另类春色校园小说| 欧美日韩国产电影| 国内精品免费**视频| 中文av一区二区| 欧美性猛片aaaaaaa做受| 青娱乐精品在线视频| 久久久亚洲国产美女国产盗摄 | 国产成人午夜片在线观看高清观看| 国产精品美女久久久久久久网站| 色乱码一区二区三区88| 青青草国产精品亚洲专区无| 国产亚洲午夜高清国产拍精品| 99精品久久免费看蜜臀剧情介绍| 亚洲电影一区二区| 亚洲精品一区二区三区在线观看 | 亚洲色图一区二区三区| 欧美日韩情趣电影| 国产精品一区免费在线观看| 亚洲人妖av一区二区| 欧美猛男gaygay网站| 久久66热re国产| 亚洲欧美日韩在线播放| 欧美一区二区三区爱爱| 粉嫩嫩av羞羞动漫久久久 | 91首页免费视频| 亚洲国产精品久久不卡毛片 | 成人久久视频在线观看| 一区二区国产视频| 久久综合九色综合欧美亚洲| 一本一本大道香蕉久在线精品 | 国产在线视视频有精品| 亚洲欧美色图小说| 日韩一本二本av| 成人午夜精品在线| 日本伊人色综合网| 国产精品久久三| 欧美一区二区三区四区视频| 91亚洲大成网污www| 免费观看91视频大全| 亚洲欧美日韩一区二区三区在线观看| 日韩一区二区在线观看| 色综合天天在线| 国产一区二区成人久久免费影院| 亚洲一区中文日韩| 日本一区二区三区国色天香 | 99在线精品一区二区三区| 蜜桃视频免费观看一区| 亚洲欧美国产77777| 无吗不卡中文字幕| 欧美一二三区在线观看| 欧亚一区二区三区| 成人免费高清在线| 精品一区二区三区在线播放| 一区二区三区日韩精品视频| 国产女同性恋一区二区| 91精品国产入口| 91女神在线视频| 国产精品1区二区.| 秋霞电影一区二区| 亚洲国产毛片aaaaa无费看| 国产精品乱码人人做人人爱| 日韩午夜激情视频| 一本色道久久综合亚洲91| 国产精品白丝av| 久久超碰97人人做人人爱| 一区二区三区日韩在线观看| 国产精品福利一区二区三区| 精品久久久久久久久久久久久久久 | 麻豆视频观看网址久久| 午夜视频在线观看一区二区三区| 国产欧美日韩视频一区二区| 欧美sm极限捆绑bd| 欧美一区二区三区性视频| 欧美午夜精品久久久| 99久久精品国产麻豆演员表| 国产高清不卡一区| 国产一区二区三区精品视频| 久久精品国产一区二区| 日本va欧美va瓶| 亚洲aⅴ怡春院| 国产成人av一区二区| 一区免费观看视频| 中文字幕av一区二区三区高| 久久免费电影网| 欧美一区二区视频网站| 欧美精品黑人性xxxx| 欧美日韩一区视频| 欧美性xxxxx极品少妇| 色哟哟一区二区三区| 91蜜桃视频在线| 91丨porny丨最新| 色呦呦国产精品| 欧洲中文字幕精品| 欧美伊人久久久久久久久影院| 色哟哟欧美精品| 欧美体内she精高潮| 在线视频你懂得一区二区三区| 色激情天天射综合网| 色av成人天堂桃色av| 欧美性猛片aaaaaaa做受| 欧美性xxxxxx少妇| 在线不卡中文字幕播放| 欧美日韩国产高清一区二区三区| 欧美日韩视频在线一区二区| 欧美三电影在线| 欧美日韩不卡在线| 欧美一级二级三级乱码| 欧美一区二区三区免费在线看| 欧美人体做爰大胆视频| 欧美精品在线观看一区二区| 69堂国产成人免费视频| 欧美成人官网二区| 久久久久九九视频| 国产精品三级视频| 亚洲欧美日韩成人高清在线一区| 亚洲精品精品亚洲| 一区二区不卡在线播放 | 欧美成人猛片aaaaaaa| 26uuu国产在线精品一区二区| 国产乱码精品一品二品| 亚洲精选在线视频| 亚洲国产cao| 美女在线视频一区| 国产伦精一区二区三区| 成人美女在线观看| 在线视频中文字幕一区二区| 欧美一级一区二区| 久久久久久免费网| 中文字幕一区二区三区乱码在线 | 亚洲精选免费视频| 亚洲自拍偷拍图区| 日本不卡免费在线视频| 国产伦理精品不卡| 色一区在线观看| 3atv一区二区三区| 久久精品一区二区三区不卡牛牛 | aaa欧美色吧激情视频| 在线观看91精品国产入口| 日韩一区二区三区av| 国产欧美日产一区| 亚洲一区二区三区中文字幕在线 | 国产精品香蕉一区二区三区| 99久久99久久精品免费观看| 欧美日韩电影在线播放| 久久先锋影音av鲁色资源 | 国产精品天美传媒沈樵| 亚洲制服丝袜av| 激情文学综合丁香| av一区二区三区| 色久优优欧美色久优优| 精品国产精品网麻豆系列| 国产精品国产a| 午夜精品免费在线| 东方aⅴ免费观看久久av| 欧美亚洲自拍偷拍| 久久久久综合网| 亚洲国产精品久久久久婷婷884| 国产一区二区影院| 91视频在线看| 久久综合九色综合97婷婷| 一二三区精品视频| 国产专区综合网| 色88888久久久久久影院野外| 日韩一区二区三区视频| 亚洲国产精品99久久久久久久久 | 91国偷自产一区二区三区观看| 制服丝袜在线91| 一色屋精品亚洲香蕉网站| 爽好多水快深点欧美视频| 懂色av中文字幕一区二区三区| 3d成人动漫网站| 亚洲精品日产精品乱码不卡| 国产最新精品免费| 色综合中文综合网| 日本中文一区二区三区| 91在线视频在线| 久久久亚洲午夜电影| 午夜激情一区二区| 99re免费视频精品全部| 欧美mv日韩mv国产网站| 亚洲二区视频在线| 91麻豆国产香蕉久久精品| 久久久99精品久久| 久久黄色级2电影| 欧美喷水一区二区| 一区二区三区电影在线播| 福利一区福利二区|