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

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

?? plotrenderinginfo.java

?? 制作圖表的好工具
?? JAVA
字號:
/* ===========================================================
 * 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.]
 *
 * ----------------------
 * PlotRenderingInfo.java
 * ----------------------
 * (C) Copyright 2003-2005, by Object Refinery Limited.
 *
 * Original Author:  David Gilbert (for Object Refinery Limited);
 * Contributor(s):   -;
 *
 * $Id: PlotRenderingInfo.java,v 1.5.2.2 2005/11/02 12:56:10 mungady Exp $
 *
 * Changes
 * -------
 * 16-Sep-2003 : Version 1 (DG);
 * 23-Sep-2003 : Added Javadocs (DG);
 * 12-Nov-2004 : Added getSubplotCount() and findSubplot() methods (DG);
 * 01-Nov-2005 : Made 'owner' non-transient to fix bug 1344048 (DG);
 *
 */
 
package org.jfree.chart.plot;

import java.awt.geom.Point2D;
import java.awt.geom.Rectangle2D;
import java.io.IOException;
import java.io.ObjectInputStream;
import java.io.ObjectOutputStream;
import java.io.Serializable;
import java.util.List;

import org.jfree.chart.ChartRenderingInfo;
import org.jfree.io.SerialUtilities;
import org.jfree.util.ObjectUtilities;

/**
 * Stores information about the dimensions of a plot and its subplots.
 */
public class PlotRenderingInfo implements Cloneable, Serializable {

    /** For serialization. */
    private static final long serialVersionUID = 8446720134379617220L;
    
    /** The owner of this info. */
    private ChartRenderingInfo owner;
    
    /** The plot area. */
    private transient Rectangle2D plotArea;
    
    /** The data area. */
    private transient Rectangle2D dataArea;
    
    /**
     * Storage for the plot rendering info objects belonging to the subplots. 
     */
    private List subplotInfo;
      
    /**
     * Default constructor.
     * 
     * @param owner  the owner.
     */
    public PlotRenderingInfo(ChartRenderingInfo owner) {
        this.owner = owner;        
        this.dataArea = new Rectangle2D.Double();
        this.subplotInfo = new java.util.ArrayList();    
    }
    
    /**
     * Returns the owner.
     * 
     * @return The owner.
     */
    public ChartRenderingInfo getOwner() {
        return this.owner;
    }
    
    /**
     * Returns the plot area (in Java2D space).
     * 
     * @return The plot area.
     */
    public Rectangle2D getPlotArea() {
        return this.plotArea;
    }
    
    /**
     * Sets the plot area.
     * 
     * @param area  the plot area (in Java2D space)
     */
    public void setPlotArea(Rectangle2D area) {
        this.plotArea = area;
    }
    
    /**
     * Returns the plot's data area (in Java2D space).
     * 
     * @return The data area.
     */
    public Rectangle2D getDataArea() {
        return this.dataArea;
    }
    
    /**
     * Sets the data area.
     * 
     * @param area  the data area (in Java2D space).
     */
    public void setDataArea(Rectangle2D area) {
        this.dataArea = area;
    }
    
    /**
     * Returns the number of subplots.
     * 
     * @return The subplot count.
     */
    public int getSubplotCount() {
        return this.subplotInfo.size();
    }
    
    /**
     * Adds the info for a subplot.
     * 
     * @param info  the subplot info.
     */
    public void addSubplotInfo(PlotRenderingInfo info) {
        this.subplotInfo.add(info);    
    }
    
    /**
     * Returns the info for a subplot.
     * 
     * @param index  the subplot index.
     * 
     * @return The info.
     */
    public PlotRenderingInfo getSubplotInfo(int index) {
        return (PlotRenderingInfo) this.subplotInfo.get(index);
    }
    
    /**
     * Returns the index of the subplot that contains the specified
     * (x, y) point (the "source" point).  The source point will usually
     * come from a mouse click on a {@link org.jfree.chart.ChartPanel},
     * and this method is then used to determine the subplot that 
     * contains the source point.
     * 
     * @param source  the source point (in Java2D space).
     * 
     * @return The subplot index (or -1 if no subplot contains the point).
     */
    public int getSubplotIndex(Point2D source) {
        int subplotCount = getSubplotCount();
        for (int i = 0; i < subplotCount; i++) {
            PlotRenderingInfo info = getSubplotInfo(i);
            Rectangle2D area = info.getDataArea();
            if (area.contains(source)) {
                return i;
            }
        }
        return -1;
    }
    
    /**
     * Tests this instance for equality against an arbitrary object.
     * 
     * @param obj  the object (<code>null</code> permitted).
     * 
     * @return A boolean.
     */
    public boolean equals(Object obj) {
        if (this == obj) {
            return true;   
        }
        if (!(obj instanceof PlotRenderingInfo)) {
            return false;
        }
        PlotRenderingInfo that = (PlotRenderingInfo) obj;
        if (!ObjectUtilities.equal(this.dataArea, that.dataArea)) {
            return false;   
        }
        if (!ObjectUtilities.equal(this.plotArea, that.plotArea)) {
            return false;   
        }
        if (!ObjectUtilities.equal(this.subplotInfo, that.subplotInfo)) {
            return false;   
        }
        return true;   
    }
    
    /**
     * Returns a clone of this object.
     * 
     * @return A clone.
     * 
     * @throws CloneNotSupportedException if there is a problem cloning.
     */
    public Object clone() throws CloneNotSupportedException {
        return super.clone();
    }
    
    /**
     * Provides serialization support.
     *
     * @param stream  the output stream.
     *
     * @throws IOException  if there is an I/O error.
     */
    private void writeObject(ObjectOutputStream stream) throws IOException {
        stream.defaultWriteObject();
        SerialUtilities.writeShape(this.dataArea, stream);
        SerialUtilities.writeShape(this.plotArea, stream);
    }

    /**
     * Provides serialization support.
     *
     * @param stream  the input stream.
     *
     * @throws IOException  if there is an I/O error.
     * @throws ClassNotFoundException  if there is a classpath problem.
     */
    private void readObject(ObjectInputStream stream) 
            throws IOException, ClassNotFoundException {
        stream.defaultReadObject();
        this.dataArea = (Rectangle2D) SerialUtilities.readShape(stream);
        this.plotArea = (Rectangle2D) SerialUtilities.readShape(stream);
    }

}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
色哟哟在线观看一区二区三区| 国产视频视频一区| 久久久国产午夜精品| 一区二区三区日本| 韩日精品视频一区| 91精品啪在线观看国产60岁| 亚洲欧洲在线观看av| 精彩视频一区二区| 欧美老女人在线| 一区二区免费在线播放| 国产v综合v亚洲欧| 欧美岛国在线观看| 奇米影视一区二区三区| 欧美在线观看视频一区二区三区| 国产精品高清亚洲| 丁香桃色午夜亚洲一区二区三区| 欧美日本一区二区三区| 一区二区免费视频| 欧美中文一区二区三区| 综合久久久久久| 成年人午夜久久久| 中文字幕不卡一区| 国产成人三级在线观看| 久久久久久一级片| 国内外成人在线视频| 精品日韩欧美在线| 精品亚洲欧美一区| 久久品道一品道久久精品| 久久精品国内一区二区三区 | 一区二区成人在线视频| av在线一区二区三区| 国产日韩三级在线| 国产91精品一区二区麻豆亚洲| 日韩精品一区二区三区四区| 久久精品久久久精品美女| 欧美mv日韩mv| 国产馆精品极品| 精品国产一区二区精华| 国产成人综合视频| 国产精品的网站| 在线亚洲一区二区| 亚洲国产一区二区视频| 欧美日韩国产另类不卡| 亚洲日本青草视频在线怡红院| 国产成人综合亚洲网站| 欧美国产精品一区| 91视频www| 亚洲成av人片在线| 91麻豆精品国产91久久久更新时间| 亚洲国产日韩a在线播放性色| 色综合久久久久久久久| 亚洲成人自拍一区| 欧美一区二区视频观看视频| 久久精品72免费观看| 中文av一区二区| 色婷婷精品大在线视频| 日韩精品电影在线| 久久久av毛片精品| av不卡免费电影| 日韩中文字幕区一区有砖一区| 日韩一区二区高清| 成人永久免费视频| 亚洲1区2区3区视频| 2014亚洲片线观看视频免费| 99国产欧美另类久久久精品| 一区二区三区高清| 2欧美一区二区三区在线观看视频| 国产99一区视频免费| 一区二区激情视频| 久久蜜臀精品av| 欧美在线视频日韩| 国产精品99久久久久久似苏梦涵| 国产精品久久看| 欧美一区二区三级| caoporn国产精品| 蜜乳av一区二区| 亚洲欧洲精品一区二区三区| 欧美片网站yy| 波多野结衣精品在线| 奇米一区二区三区av| 国产精品成人免费在线| 欧美一区二区三区小说| 99精品视频在线免费观看| 日本不卡视频在线| 亚洲综合在线免费观看| www国产精品av| 91精品国产乱| 色噜噜狠狠一区二区三区果冻| 久久国产麻豆精品| 亚洲与欧洲av电影| 国产精品久久久久久久久搜平片| 欧美一区二区视频观看视频| 在线亚洲高清视频| 不卡一区二区中文字幕| 久久99精品久久久久久动态图| 亚洲成国产人片在线观看| 亚洲欧美综合另类在线卡通| 久久天堂av综合合色蜜桃网| 欧美一级在线视频| 欧美视频一区二区| 91国偷自产一区二区三区成为亚洲经典| 国产精一区二区三区| 韩国精品免费视频| 老司机精品视频在线| 亚洲va国产天堂va久久en| 亚洲黄色在线视频| 亚洲素人一区二区| 中文字幕亚洲不卡| 国产精品高潮呻吟| 中文字幕一区二区日韩精品绯色| 国产视频一区在线播放| 国产午夜精品理论片a级大结局| 欧美一级一区二区| 日韩一级片在线播放| 欧美人与z0zoxxxx视频| 欧美日韩一区成人| 69p69国产精品| 91精品国产91综合久久蜜臀| 91精品国产综合久久精品图片 | 粉嫩久久99精品久久久久久夜| 免费不卡在线视频| 九九久久精品视频| 国产精品影视天天线| 高清日韩电视剧大全免费| 国产成人综合网站| 97se亚洲国产综合自在线| 99久久伊人久久99| 欧洲一区在线电影| 欧美日韩亚洲综合一区| 欧美日韩国产高清一区二区三区| 欧美猛男超大videosgay| 日韩美女在线视频| 久久精品视频免费| 国产精品久久久久久久久免费桃花| 国产精品久久久一区麻豆最新章节| 亚洲欧洲成人av每日更新| 日韩理论在线观看| 亚洲成人av电影在线| 免费观看久久久4p| 国产jizzjizz一区二区| 91亚洲精品一区二区乱码| 色婷婷综合久久久中文字幕| 欧美日韩黄视频| 国产亚洲成aⅴ人片在线观看 | 久久久久高清精品| 国产精品萝li| 亚洲大片在线观看| 国产精品亚洲一区二区三区在线| 国产iv一区二区三区| 欧美三级视频在线观看 | 91精品国产综合久久久久久| 精品国产91久久久久久久妲己| 欧美激情综合在线| 午夜日韩在线电影| 国产成人精品在线看| 91激情在线视频| 精品日本一线二线三线不卡| 亚洲欧美自拍偷拍| 免费在线看成人av| 91在线播放网址| 欧美成人aa大片| 一区二区三区鲁丝不卡| 久久成人av少妇免费| 在线视频欧美精品| 一区二区三区国产| 国产精品一级在线| 欧美最新大片在线看| 国产无遮挡一区二区三区毛片日本| 一区二区三区国产豹纹内裤在线| 激情综合色播五月| 欧美日韩精品一区二区三区蜜桃| 国产精品色眯眯| 九九久久精品视频| 欧美精品aⅴ在线视频| 一区在线观看免费| 国产激情视频一区二区三区欧美| 欧美日韩一级二级三级| **欧美大码日韩| 成人av在线资源网| 国产亚洲精品久| 另类小说色综合网站| 欧美视频一区二区三区四区 | 国产欧美日韩卡一| 毛片一区二区三区| 69堂成人精品免费视频| 亚洲高清免费在线| 91小视频在线免费看| 国产性天天综合网| 国产精品一区二区三区四区| 欧美一级二级三级乱码| 香蕉久久一区二区不卡无毒影院| 91在线高清观看| 中文字幕视频一区| 99精品一区二区三区| 欧美激情一区二区在线| 国产精品亚洲成人| 久久久青草青青国产亚洲免观| 蜜臀99久久精品久久久久久软件| 欧美日韩精品一区二区在线播放 | 麻豆91免费观看|