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

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

?? timeperiodvaluescollection.java

?? jfreechart1.0.1 jsp繪制圖表的開發(fā)包
?? 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.]
 *
 * -------------------------------
 * TimePeriodValuesCollection.java
 * -------------------------------
 * (C) Copyright 2003-2005, by Object Refinery Limited.
 *
 * Original Author:  David Gilbert (for Object Refinery Limited);
 * Contributor(s):   -;
 *
 * $Id: TimePeriodValuesCollection.java,v 1.10.2.1 2005/10/25 21:35:24 mungady Exp $
 *
 * Changes
 * -------
 * 22-Apr-2003 : Version 1 (DG);
 * 05-May-2004 : Now extends AbstractIntervalXYDataset (DG);
 * 15-Jul-2004 : Switched getX() with getXValue() and getY() with 
 *               getYValue() (DG);
 * 06-Oct-2004 : Updated for changes in DomainInfo interface (DG);
 * 11-Jan-2005 : Removed deprecated code in preparation for 1.0.0 release (DG);
 *
 */

package org.jfree.data.time;

import java.io.Serializable;
import java.util.Iterator;
import java.util.List;

import org.jfree.data.DomainInfo;
import org.jfree.data.Range;
import org.jfree.data.xy.AbstractIntervalXYDataset;
import org.jfree.data.xy.IntervalXYDataset;
import org.jfree.util.ObjectUtilities;

/**
 * A collection of {@link TimePeriodValues} objects.
 * <P>
 * This class implements the {@link org.jfree.data.xy.XYDataset} interface, as 
 * well as the extended {@link IntervalXYDataset} interface.  This makes it a 
 * convenient dataset for use with the {@link org.jfree.chart.plot.XYPlot} 
 * class.
 */
public class TimePeriodValuesCollection extends AbstractIntervalXYDataset
                                        implements IntervalXYDataset,
                                                   DomainInfo,
                                                   Serializable {

    /** For serialization. */
    private static final long serialVersionUID = -3077934065236454199L;
    
    /** Storage for the time series. */
    private List data;

    /** 
     * The position within a time period to return as the x-value (START, 
     * MIDDLE or END). 
     */
    private TimePeriodAnchor xPosition;
    
    /**
     * A flag that indicates that the domain is 'points in time'.  If this 
     * flag is true, only the x-value is used to determine the range of values 
     * in the domain, the start and end x-values are ignored.
     */
    private boolean domainIsPointsInTime;

    /**
     * Constructs an empty dataset.
     */
    public TimePeriodValuesCollection() {
        this((TimePeriodValues) null);
    }

    /**
     * Constructs a dataset containing a single series.  Additional series can 
     * be added.
     *
     * @param series  the series.
     */
    public TimePeriodValuesCollection(TimePeriodValues series) {
        this.data = new java.util.ArrayList();
        this.xPosition = TimePeriodAnchor.MIDDLE;
        this.domainIsPointsInTime = true;
        if (series != null) {
            this.data.add(series);
            series.addChangeListener(this);
        }
    }

    /**
     * Returns the position of the X value within each time period.
     * 
     * @return The position (never <code>null</code>).
     */
    public TimePeriodAnchor getXPosition() {
        return this.xPosition;
    }

    /**
     * Sets the position of the x axis within each time period.
     * 
     * @param position  the position (<code>null</code> not permitted).
     */
    public void setXPosition(TimePeriodAnchor position) {
        if (position == null) {
            throw new IllegalArgumentException("Null 'position' argument.");
        }
        this.xPosition = position;
    }
    
    /**
     * Returns a flag that controls whether the domain is treated as 'points 
     * in time'.  This flag is used when determining the max and min values for 
     * the domain.  If true, then only the x-values are considered for the max 
     * and min values.  If false, then the start and end x-values will also be 
     * taken into consideration
     *
     * @return The flag.
     */
    public boolean getDomainIsPointsInTime() {
        return this.domainIsPointsInTime;
    }

    /**
     * Sets a flag that controls whether the domain is treated as 'points in 
     * time', or time periods.
     *
     * @param flag  the new value of the flag.
     */
    public void setDomainIsPointsInTime(boolean flag) {
        this.domainIsPointsInTime = flag;
    }

    /**
     * Returns the number of series in the collection.
     *
     * @return The series count.
     */
    public int getSeriesCount() {
        return this.data.size();
    }

    /**
     * Returns a series.
     *
     * @param series  the index of the series (zero-based).
     *
     * @return The series.
     */
    public TimePeriodValues getSeries(int series) {

        if ((series < 0) || (series > getSeriesCount())) {
            throw new IllegalArgumentException("Index 'series' out of range.");
        }

        return (TimePeriodValues) this.data.get(series);

    }

    /**
     * Returns the key for a series.
     *
     * @param series  the index of the series (zero-based).
     *
     * @return The key for a series.
     */
    public Comparable getSeriesKey(int series) {
        // defer argument checking
        return getSeries(series).getKey();
    }

    /**
     * Adds a series to the collection.  A 
     * {@link org.jfree.data.general.DatasetChangeEvent} is sent to all 
     * registered listeners.
     *
     * @param series  the time series.
     */
    public void addSeries(TimePeriodValues series) {

        if (series == null) {
            throw new IllegalArgumentException("Null 'series' argument.");
        }

        this.data.add(series);
        series.addChangeListener(this);
        fireDatasetChanged();

    }

    /**
     * Removes the specified series from the collection.
     *
     * @param series  the series to remove (<code>null</code> not permitted).
     */
    public void removeSeries(TimePeriodValues series) {

        if (series == null) {
            throw new IllegalArgumentException("Null 'series' argument.");
        }
        this.data.remove(series);
        series.removeChangeListener(this);
        fireDatasetChanged();

    }

    /**
     * Removes a series from the collection.
     *
     * @param index  the series index (zero-based).
     */
    public void removeSeries(int index) {
        TimePeriodValues series = getSeries(index);
        if (series != null) {
            removeSeries(series);
        }
    }

    /**
     * Returns the number of items in the specified series.

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
一区二区三区高清在线| 天天色综合天天| 麻豆久久一区二区| 欧美午夜精品一区二区三区| 国产精品素人一区二区| 国产美女娇喘av呻吟久久| 欧美一级高清大全免费观看| 亚洲综合一二三区| 国产成人精品亚洲日本在线桃色| 日韩欧美国产一区二区在线播放| 一二三四社区欧美黄| 色中色一区二区| 国产精品热久久久久夜色精品三区| 国产在线视视频有精品| 日韩精品综合一本久道在线视频| 丝袜a∨在线一区二区三区不卡| 91蝌蚪porny| 欧美国产一区二区在线观看| 国产精品一区二区在线观看不卡| 2020国产精品久久精品美国| 国产精一区二区三区| 久久这里只有精品视频网| 国产乱码精品一品二品| 中文字幕中文字幕在线一区| 国产成人免费9x9x人网站视频| 日韩一区二区三区免费观看| 极品少妇xxxx精品少妇偷拍| 欧美r级电影在线观看| 国产成人在线色| 日韩一区有码在线| 成人av电影在线网| 最新国产成人在线观看| 欧美午夜影院一区| 麻豆专区一区二区三区四区五区| 久久免费看少妇高潮| 老司机午夜精品99久久| 国产欧美日韩另类视频免费观看| 成人免费高清在线观看| 亚洲卡通动漫在线| 欧美福利一区二区| 国产成人自拍在线| 一区二区高清视频在线观看| 91精品久久久久久久91蜜桃| 国产电影一区在线| 亚洲精品免费一二三区| 日韩一区二区三免费高清| 国产一区二区女| 亚洲综合自拍偷拍| 精品日韩欧美在线| 99国产精品视频免费观看| 亚洲午夜久久久久久久久久久 | 天天免费综合色| 日韩欧美国产三级| 成人精品小蝌蚪| 一区二区三区产品免费精品久久75| 欧美亚男人的天堂| 国产成人啪免费观看软件| 亚洲一区二区视频在线| 欧美日韩久久久久久| 韩国欧美国产1区| 亚洲精品视频免费看| 精品久久久久久久久久久院品网| 成人av影视在线观看| 琪琪久久久久日韩精品| 亚洲三级在线看| 欧美精品在线一区二区| 国产精品一二三四五| 天天综合天天做天天综合| 国产精品系列在线| 欧美偷拍一区二区| 经典三级一区二区| 亚洲成a人v欧美综合天堂 | 欧美亚男人的天堂| 九色|91porny| 亚洲乱码国产乱码精品精可以看| 日韩视频免费观看高清完整版 | 波多野结衣一区二区三区| 午夜精品在线视频一区| 国产精品全国免费观看高清 | 97精品视频在线观看自产线路二| 奇米影视在线99精品| 一区二区免费在线| 亚洲精品午夜久久久| 国产精品久久久一区麻豆最新章节| 5月丁香婷婷综合| 精品国产乱码久久久久久图片| 欧美大肚乱孕交hd孕妇| 精品日韩在线观看| 久久久99免费| 国产精品无人区| 亚洲精品欧美激情| 亚洲一区二区av电影| 首页综合国产亚洲丝袜| 秋霞影院一区二区| 国产在线一区二区| 成人h动漫精品| 91啪亚洲精品| 欧美福利视频导航| 久久毛片高清国产| √…a在线天堂一区| 亚洲午夜免费视频| 经典一区二区三区| 成人a区在线观看| 欧洲人成人精品| 日韩欧美中文一区| 久久精品一区二区三区av| 亚洲欧洲另类国产综合| 亚洲视频电影在线| 亚洲成人福利片| 久久精品免费观看| 国产乱码一区二区三区| 91一区一区三区| 91精品国产品国语在线不卡| 2020国产成人综合网| 亚洲人亚洲人成电影网站色| 五月天一区二区| 风流少妇一区二区| 7777精品伊人久久久大香线蕉的| 久久综合给合久久狠狠狠97色69| 成人免费在线视频| 麻豆精品国产91久久久久久| 国产福利不卡视频| 欧美日韩免费电影| 国产拍欧美日韩视频二区| 亚洲国产综合91精品麻豆| 国产一区二区电影| 欧美精品乱码久久久久久按摩| 国产午夜精品一区二区三区四区| 亚洲一区中文在线| 成人黄色免费短视频| 欧美性感一区二区三区| 国产午夜精品美女毛片视频| 天天综合色天天| 不卡区在线中文字幕| 日韩久久精品一区| 图片区小说区国产精品视频| 成人午夜在线播放| 欧美大白屁股肥臀xxxxxx| 亚洲免费观看高清完整版在线观看熊| 麻豆91在线播放免费| 91丨porny丨国产| 国产午夜精品一区二区三区视频 | 欧美午夜寂寞影院| 欧美国产视频在线| 国产最新精品免费| 欧美精品vⅰdeose4hd| 亚洲老司机在线| 成人av在线一区二区三区| 337p粉嫩大胆噜噜噜噜噜91av | 日韩欧美区一区二| 亚洲成人久久影院| 在线观看免费成人| 中文字幕中文字幕在线一区 | 欧美一区二区播放| 亚洲一本大道在线| 91网站最新地址| 中文字幕第一区综合| 国产盗摄视频一区二区三区| 欧美电影免费观看高清完整版在| 亚洲图片欧美色图| 91久久精品日日躁夜夜躁欧美| 中文av一区二区| 成人美女视频在线观看| 国产欧美一区二区三区沐欲| 麻豆91免费观看| 精品蜜桃在线看| 精彩视频一区二区三区| 在线观看91精品国产麻豆| 亚洲一区二区在线观看视频| 一本色道a无线码一区v| 中文字幕一区免费在线观看| 成人国产电影网| 综合中文字幕亚洲| 欧亚一区二区三区| 一区二区成人在线| 日韩美女主播在线视频一区二区三区| 粉嫩av亚洲一区二区图片| 欧美国产综合色视频| 91女厕偷拍女厕偷拍高清| 亚洲乱码中文字幕| 欧美日韩国产综合一区二区| 亚洲成人www| 91精品国产aⅴ一区二区| 日本网站在线观看一区二区三区| 欧美日韩高清不卡| 狠狠色综合色综合网络| 久久精品亚洲乱码伦伦中文| 99久久久国产精品| 亚洲激情五月婷婷| 欧美精品777| 激情五月播播久久久精品| 26uuu欧美日本| 成人黄色小视频| 亚洲午夜在线电影| 日韩女同互慰一区二区| 岛国av在线一区| 亚洲福利视频一区| 久久影院午夜论| 91欧美一区二区| 精品在线播放免费|