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

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

?? polarplottests.java

?? jfreechart1.0.1 jsp繪制圖表的開發包
?? 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.]
 *
 * -------------------
 * PolarPlotTests.java
 * -------------------
 * (C) Copyright 2005, by Object Refinery Limited and Contributors.
 *
 * Original Author:  David Gilbert (for Object Refinery Limited);
 * Contributor(s):   -;
 *
 * $Id: PolarPlotTests.java,v 1.1.2.2 2005/10/25 20:52:35 mungady Exp $
 *
 * Changes
 * -------
 * 23-Feb-2005 : Version 1 (DG);
 * 08-Jun-2005 : Extended testEquals() (DG);
 *
 */

package org.jfree.chart.plot.junit;

import java.awt.BasicStroke;
import java.awt.Color;
import java.awt.Font;
import java.awt.GradientPaint;
import java.awt.Stroke;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.ObjectInput;
import java.io.ObjectInputStream;
import java.io.ObjectOutput;
import java.io.ObjectOutputStream;

import junit.framework.Test;
import junit.framework.TestCase;
import junit.framework.TestSuite;

import org.jfree.chart.axis.NumberAxis;
import org.jfree.chart.plot.PolarPlot;

/**
 * Some tests for the {@link PolarPlot} class.
 */
public class PolarPlotTests extends TestCase {

    /**
     * Returns the tests as a test suite.
     *
     * @return The test suite.
     */
    public static Test suite() {
        return new TestSuite(PolarPlotTests.class);
    }

    /**
     * Constructs a new set of tests.
     *
     * @param name  the name of the tests.
     */
    public PolarPlotTests(String name) {
        super(name);
    }

    /**
     * Some checks for the equals() method.
     */
    public void testEquals() {
        PolarPlot plot1 = new PolarPlot();
        PolarPlot plot2 = new PolarPlot();
        assertTrue(plot1.equals(plot2));
        assertTrue(plot2.equals(plot1));
        
        plot1.setAngleGridlinePaint(new GradientPaint(1.0f, 2.0f, Color.red,
                3.0f, 4.0f, Color.blue));
        assertFalse(plot1.equals(plot2));
        plot2.setAngleGridlinePaint(new GradientPaint(1.0f, 2.0f, Color.red,
                3.0f, 4.0f, Color.blue));
        assertTrue(plot1.equals(plot2));
        
        Stroke s = new BasicStroke(1.23f);
        plot1.setAngleGridlineStroke(s);
        assertFalse(plot1.equals(plot2));
        plot2.setAngleGridlineStroke(s);
        assertTrue(plot1.equals(plot2));
        
        plot1.setAngleGridlinesVisible(false);
        assertFalse(plot1.equals(plot2));
        plot2.setAngleGridlinesVisible(false);
        assertTrue(plot1.equals(plot2));
        
        plot1.setAngleLabelFont(new Font("Serif", Font.PLAIN, 9));
        assertFalse(plot1.equals(plot2));
        plot2.setAngleLabelFont(new Font("Serif", Font.PLAIN, 9));
        assertTrue(plot1.equals(plot2));
        
        plot1.setAngleLabelPaint(new GradientPaint(9.0f, 8.0f, Color.blue,
                7.0f, 6.0f, Color.red));
        assertFalse(plot1.equals(plot2));
        plot2.setAngleLabelPaint(new GradientPaint(9.0f, 8.0f, Color.blue,
                7.0f, 6.0f, Color.red));
        assertTrue(plot1.equals(plot2));
        
        plot1.setAngleLabelsVisible(false);
        assertFalse(plot1.equals(plot2));
        plot2.setAngleLabelsVisible(false);
        assertTrue(plot1.equals(plot2));
        
        plot1.setAxis(new NumberAxis("Test"));
        assertFalse(plot1.equals(plot2));
        plot2.setAxis(new NumberAxis("Test"));
        assertTrue(plot1.equals(plot2));
        
        plot1.setRadiusGridlinePaint(new GradientPaint(1.0f, 2.0f, Color.white,
                3.0f, 4.0f, Color.black));
        assertFalse(plot1.equals(plot2));
        plot2.setRadiusGridlinePaint(new GradientPaint(1.0f, 2.0f, Color.white,
                3.0f, 4.0f, Color.black));
        assertTrue(plot1.equals(plot2));
        
        plot1.setRadiusGridlineStroke(s);
        assertFalse(plot1.equals(plot2));
        plot2.setRadiusGridlineStroke(s);
        assertTrue(plot1.equals(plot2));
        
        plot1.setRadiusGridlinesVisible(false);
        assertFalse(plot1.equals(plot2));
        plot2.setRadiusGridlinesVisible(false);
        assertTrue(plot1.equals(plot2));
    }

    /**
     * Some basic checks for the clone() method.
     */
    public void testCloning() {
        PolarPlot p1 = new PolarPlot();
        PolarPlot p2 = null;
        try {
            p2 = (PolarPlot) p1.clone();
        }
        catch (CloneNotSupportedException e) {
            e.printStackTrace();
            System.err.println("Failed to clone.");
        }
        assertTrue(p1 != p2);
        assertTrue(p1.getClass() == p2.getClass());
        assertTrue(p1.equals(p2));
    }

    /**
     * Serialize an instance, restore it, and check for equality.
     */
    public void testSerialization() {

        PolarPlot p1 = new PolarPlot();
        PolarPlot p2 = null;

        try {
            ByteArrayOutputStream buffer = new ByteArrayOutputStream();
            ObjectOutput out = new ObjectOutputStream(buffer);
            out.writeObject(p1);
            out.close();

            ObjectInput in = new ObjectInputStream(
                new ByteArrayInputStream(buffer.toByteArray())
            );
            p2 = (PolarPlot) in.readObject();
            in.close();
        }
        catch (Exception e) {
            e.printStackTrace();
        }
        assertEquals(p1, p2);

    }

}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
美国十次综合导航| 日韩精品一区二区三区中文不卡 | 亚洲男人的天堂一区二区| 亚洲综合丁香婷婷六月香| 韩国一区二区在线观看| 欧美三级午夜理伦三级中视频| 久久久久久久久久电影| 日韩精品电影在线| 色欲综合视频天天天| 久久久久久免费网| 久久国产人妖系列| 欧美欧美欧美欧美首页| 一区二区三区 在线观看视频| 国产成人精品亚洲日本在线桃色| 91精品国产麻豆| 亚洲一区二区视频在线观看| 成人av在线播放网址| 26uuu亚洲综合色欧美| 日韩成人免费看| 精品视频1区2区3区| 亚洲精品成人在线| zzijzzij亚洲日本少妇熟睡| 久久美女艺术照精彩视频福利播放| 欧美a级理论片| 欧美精品一卡两卡| 日本视频免费一区| 欧美一区二区三区色| 香蕉乱码成人久久天堂爱免费| 99热这里都是精品| 亚洲图片激情小说| 91精品1区2区| 洋洋成人永久网站入口| 精品污污网站免费看| 亚洲狠狠爱一区二区三区| 欧美亚洲自拍偷拍| 亚洲国产精品一区二区久久| 欧美日韩一区二区三区高清| 亚洲国产视频一区二区| 日韩一区二区三区在线观看| 亚洲国产一区二区视频| 欧美日韩精品专区| 精品在线观看免费| 国产亚洲精品久| 91在线观看高清| 亚洲va欧美va国产va天堂影院| 欧美在线视频全部完| 天堂蜜桃一区二区三区 | 一本久道中文字幕精品亚洲嫩| 日韩毛片精品高清免费| 欧美日韩免费不卡视频一区二区三区| 亚洲成人资源网| 精品国产免费人成电影在线观看四季| 国产成人啪午夜精品网站男同| 国产精品国产自产拍在线| 欧美少妇一区二区| 激情综合五月婷婷| 国产精品毛片久久久久久| 91黄色免费看| 国产在线精品一区二区 | 久久久精品黄色| 色哟哟一区二区三区| 日本伊人精品一区二区三区观看方式| 精品伦理精品一区| 99久久99久久精品免费看蜜桃| 亚洲国产aⅴ成人精品无吗| 日韩欧美国产一区二区在线播放 | 国产一区三区三区| 亚洲人成人一区二区在线观看| 欧美日韩精品一区二区三区四区| 精品一区二区三区久久| 亚洲激情在线激情| 2022国产精品视频| 欧美午夜寂寞影院| 国产精品香蕉一区二区三区| 亚洲精品综合在线| 久久久亚洲综合| 欧美视频一区在线观看| 国产成人鲁色资源国产91色综| 香蕉成人伊视频在线观看| 久久午夜羞羞影院免费观看| 欧美在线免费观看亚洲| 国产福利91精品一区二区三区| 亚洲一区在线视频观看| 久久精品欧美日韩| 91精品国产手机| 91丨九色丨国产丨porny| 久久av资源站| 午夜av区久久| 久久99久国产精品黄毛片色诱| 欧美国产激情二区三区| 精品国产免费人成电影在线观看四季| 91亚洲精品久久久蜜桃网站| 国产成人综合亚洲网站| 久久精品久久综合| 日韩—二三区免费观看av| 亚洲免费资源在线播放| 亚洲国产精品传媒在线观看| 日韩欧美国产wwwww| 5月丁香婷婷综合| 欧美日韩精品一区视频| 欧美性色综合网| 色国产综合视频| 色综合天天狠狠| 91免费看`日韩一区二区| 成人免费的视频| 成人免费视频免费观看| 国产经典欧美精品| 国产成人午夜电影网| 国产suv一区二区三区88区| 国内国产精品久久| 国产综合色在线| 国产一区二区毛片| 国产一区二区三区高清播放| 国产一区二区三区蝌蚪| 国产最新精品免费| 狠狠色丁香久久婷婷综合_中| 久久av中文字幕片| 国产精品一二三四五| 国产成人精品一区二 | 国产一区二区三区精品视频 | 日本免费在线视频不卡一不卡二| 亚洲国产成人av网| 青青青爽久久午夜综合久久午夜| 午夜欧美视频在线观看 | 久久这里只有精品首页| 国产视频一区在线观看| 中文字幕在线观看一区二区| 亚洲精品视频自拍| 日韩一区精品视频| 麻豆精品新av中文字幕| 国产一区二区三区视频在线播放| 国产成人亚洲综合a∨猫咪| 91丨porny丨首页| 精品国产免费人成在线观看| 日本一区二区三区dvd视频在线| 国产精品国产精品国产专区不蜜| 亚洲欧美日韩中文字幕一区二区三区| 亚洲欧美乱综合| 日韩激情视频在线观看| 国产在线精品免费| aaa欧美色吧激情视频| 欧美色图片你懂的| 欧美v亚洲v综合ⅴ国产v| 国产精品久久久久影院色老大| 一区二区三区在线免费播放| 五月激情六月综合| 成人性视频免费网站| 在线观看视频一区二区欧美日韩| 欧美一区二区大片| 国产精品福利av| 日韩中文字幕麻豆| 成人aaaa免费全部观看| 在线电影欧美成精品| 中文字幕成人av| 天堂精品中文字幕在线| proumb性欧美在线观看| 欧美成人在线直播| 国产精品拍天天在线| 日本中文一区二区三区| 91丨九色丨黑人外教| 精品国产免费视频| 亚洲二区在线观看| 成人av电影在线网| 日韩精品一区二区三区四区视频| 成人欧美一区二区三区黑人麻豆| 人人狠狠综合久久亚洲| 色狠狠一区二区| 中文字幕在线播放不卡一区| 蜜桃久久av一区| 在线观看日韩国产| 国产精品伦理一区二区| 久久99国产精品成人| 欧美日韩亚州综合| 亚洲精品写真福利| 成人一级片在线观看| 欧美www视频| 强制捆绑调教一区二区| 欧美性欧美巨大黑白大战| 国产亚洲欧美激情| 国产美女在线观看一区| 欧美精品18+| 一区二区三区电影在线播| 成人性生交大片| 欧美极品aⅴ影院| 国产在线精品一区二区| 精品少妇一区二区三区在线视频| 亚洲第一成年网| 欧美性猛交xxxx乱大交退制版| 亚洲欧美视频在线观看| 91猫先生在线| 亚洲另类在线制服丝袜| 91在线观看污| 亚洲视频 欧洲视频| 成人黄色在线视频| 国产精品三级在线观看| 成人免费看黄yyy456| 欧美国产精品中文字幕| 成人黄页毛片网站| 亚洲免费av高清| 在线观看区一区二|