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

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

?? pieplottests.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.]
 *
 * -----------------
 * PiePlotTests.java
 * -----------------
 * (C) Copyright 2003, 2004, by Object Refinery Limited and Contributors.
 *
 * Original Author:  David Gilbert (for Object Refinery Limited);
 * Contributor(s):   -;
 *
 * $Id: PiePlotTests.java,v 1.7.2.5 2005/10/25 20:52:35 mungady Exp $
 *
 * Changes
 * -------
 * 18-Mar-2003 : Version 1 (DG);
 * 10-May-2005 : Strengthened equals() test (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.awt.geom.Rectangle2D;
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.LegendItemCollection;
import org.jfree.chart.labels.StandardPieToolTipGenerator;
import org.jfree.chart.labels.StandardPieSectionLabelGenerator;
import org.jfree.chart.plot.PiePlot;
import org.jfree.chart.urls.StandardPieURLGenerator;
import org.jfree.data.general.DefaultPieDataset;
import org.jfree.util.Rotation;

/**
 * Tests for the {@link PiePlot} class.
 */
public class PiePlotTests extends TestCase {

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

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

    /**
     * Test the equals() method.
     */
    public void testEquals() {
        
        PiePlot plot1 = new PiePlot();
        PiePlot plot2 = new PiePlot();
        assertTrue(plot1.equals(plot2));
        assertTrue(plot2.equals(plot1));
                
        // pieIndex...
        plot1.setPieIndex(99);
        assertFalse(plot1.equals(plot2));
        plot2.setPieIndex(99);
        assertTrue(plot1.equals(plot2));
        
        // interiorGap...
        plot1.setInteriorGap(0.15);
        assertFalse(plot1.equals(plot2));
        plot2.setInteriorGap(0.15);
        assertTrue(plot1.equals(plot2));

        // circular
        plot1.setCircular(!plot1.isCircular());
        assertFalse(plot1.equals(plot2));
        plot2.setCircular(false);
        assertTrue(plot1.equals(plot2));
        
        // startAngle
        plot1.setStartAngle(Math.PI);
        assertFalse(plot1.equals(plot2));
        plot2.setStartAngle(Math.PI);
        assertTrue(plot1.equals(plot2));
        
        // direction
        plot1.setDirection(Rotation.ANTICLOCKWISE);
        assertFalse(plot1.equals(plot2));
        plot2.setDirection(Rotation.ANTICLOCKWISE);
        assertTrue(plot1.equals(plot2));
        
        // ignoreZeroValues
        plot1.setIgnoreZeroValues(true);
        plot2.setIgnoreZeroValues(false);
        assertFalse(plot1.equals(plot2));
        plot2.setIgnoreZeroValues(true);
        assertTrue(plot1.equals(plot2));
        
        // ignoreNullValues
        plot1.setIgnoreNullValues(true);
        plot2.setIgnoreNullValues(false);
        assertFalse(plot1.equals(plot2));
        plot2.setIgnoreNullValues(true);
        assertTrue(plot1.equals(plot2));
        
        // sectionPaint
        plot1.setSectionPaint(new GradientPaint(1.0f, 2.0f, Color.red, 
                3.0f, 4.0f, Color.white));
        assertFalse(plot1.equals(plot2));
        plot2.setSectionPaint(new GradientPaint(1.0f, 2.0f, Color.red, 
                3.0f, 4.0f, Color.white));
        assertTrue(plot1.equals(plot2));
        
        // sectionPaintList
        plot1.setSectionPaint(2, new GradientPaint(1.0f, 2.0f, Color.blue, 
                3.0f, 4.0f, Color.white));
        assertFalse(plot1.equals(plot2));
        plot2.setSectionPaint(2, new GradientPaint(1.0f, 2.0f, Color.blue, 
                3.0f, 4.0f, Color.white));
        assertTrue(plot1.equals(plot2));
        
        // baseSectionPaint
        plot1.setBaseSectionPaint(new GradientPaint(1.0f, 2.0f, Color.black, 
                3.0f, 4.0f, Color.white));
        assertFalse(plot1.equals(plot2));
        plot2.setBaseSectionPaint(new GradientPaint(1.0f, 2.0f, Color.black, 
                3.0f, 4.0f, Color.white));
        assertTrue(plot1.equals(plot2));
        
        // sectionOutlinesVisible
        plot1.setSectionOutlinesVisible(false);
        assertFalse(plot1.equals(plot2));
        plot2.setSectionOutlinesVisible(false);
        assertTrue(plot1.equals(plot2)); 
        
        // sectionOutlinePaint
        plot1.setSectionOutlinePaint(new GradientPaint(1.0f, 2.0f, Color.cyan, 
                3.0f, 4.0f, Color.white));
        assertFalse(plot1.equals(plot2));
        plot2.setSectionOutlinePaint(new GradientPaint(1.0f, 2.0f, Color.cyan, 
                3.0f, 4.0f, Color.white));
        assertTrue(plot1.equals(plot2));
        
        // sectionOutlinePaintList
        plot1.setSectionOutlinePaint(2, new GradientPaint(1.0f, 2.0f, Color.green, 
                3.0f, 4.0f, Color.white));
        assertFalse(plot1.equals(plot2));
        plot2.setSectionOutlinePaint(2, new GradientPaint(1.0f, 2.0f, Color.green, 
                3.0f, 4.0f, Color.white));
        assertTrue(plot1.equals(plot2));
        
        // baseSectionOutlinePaint
        plot1.setBaseSectionOutlinePaint(new GradientPaint(1.0f, 2.0f, Color.gray, 
                3.0f, 4.0f, Color.white));
        assertFalse(plot1.equals(plot2));
        plot2.setBaseSectionOutlinePaint(new GradientPaint(1.0f, 2.0f, Color.gray, 
                3.0f, 4.0f, Color.white));
        assertTrue(plot1.equals(plot2));
        
        // sectionOutlineStroke
        plot1.setSectionOutlineStroke(new BasicStroke(1.0f));
        assertFalse(plot1.equals(plot2));
        plot2.setSectionOutlineStroke(new BasicStroke(1.0f));
        assertTrue(plot1.equals(plot2));
        
        // sectionOutlineStrokeList
        plot1.setSectionOutlineStroke(2, new BasicStroke(1.0f));
        assertFalse(plot1.equals(plot2));
        plot2.setSectionOutlineStroke(2, new BasicStroke(1.0f));
        assertTrue(plot1.equals(plot2));
        
        // baseSectionOutlineStroke
        plot1.setBaseSectionOutlineStroke(new BasicStroke(1.0f));
        assertFalse(plot1.equals(plot2));
        plot2.setBaseSectionOutlineStroke(new BasicStroke(1.0f));
        assertTrue(plot1.equals(plot2));
        
        // shadowPaint
        plot1.setShadowPaint(new GradientPaint(1.0f, 2.0f, Color.orange, 
                3.0f, 4.0f, Color.white));
        assertFalse(plot1.equals(plot2));
        plot2.setShadowPaint(new GradientPaint(1.0f, 2.0f, Color.orange, 
                3.0f, 4.0f, Color.white));
        assertTrue(plot1.equals(plot2));

        // shadowXOffset

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
一区二区日韩电影| 国产精品视频观看| 久久99精品国产91久久来源| 欧美福利视频一区| 蜜桃91丨九色丨蝌蚪91桃色| 久久夜色精品国产噜噜av| 国产成人久久精品77777最新版本| 国产日韩欧美不卡| 色婷婷综合中文久久一本| 亚洲午夜久久久久中文字幕久| 欧美二区在线观看| 国产成人免费在线观看| 一区二区三区欧美视频| 91麻豆精品国产91久久久久久久久 | 最新成人av在线| 欧美亚洲高清一区| 久久aⅴ国产欧美74aaa| 国产精品三级久久久久三级| 欧美在线免费观看亚洲| 久久福利资源站| 亚洲欧美日韩小说| 欧美一二三区精品| 99re视频精品| 久久99久久久久| 亚洲色图制服诱惑 | 99精品久久久久久| 日韩中文字幕一区二区三区| 国产欧美一区二区精品性| 欧美视频三区在线播放| 国产福利91精品一区二区三区| 亚洲精品欧美在线| 久久久久久久av麻豆果冻| 欧美色图片你懂的| 成人h版在线观看| 麻豆精品国产传媒mv男同 | 久久夜色精品国产欧美乱极品| 91免费看`日韩一区二区| 麻豆freexxxx性91精品| 亚洲精品视频观看| 国产色一区二区| 欧美一区三区四区| 91色在线porny| 国产成人综合视频| 久久99精品国产.久久久久| 亚洲欧美另类小说视频| 久久久亚洲精品一区二区三区| 欧美日本乱大交xxxxx| 99久久99久久久精品齐齐| 久久精品999| 青草国产精品久久久久久| 亚洲精品亚洲人成人网在线播放| 久久久精品一品道一区| 日韩视频一区二区三区在线播放| 在线观看精品一区| 一本大道久久精品懂色aⅴ| 国产成人精品免费网站| 精品一区免费av| 日韩不卡一区二区三区 | 日韩精品电影在线| 夜夜精品视频一区二区| 综合在线观看色| 国产精品福利在线播放| 国产午夜精品美女毛片视频| 欧美videofree性高清杂交| 91精品国产91热久久久做人人| 色噜噜狠狠成人网p站| 色悠悠久久综合| 色婷婷久久久久swag精品 | 成人av在线播放网址| 国产一区二区免费视频| 久久电影国产免费久久电影| 日本aⅴ免费视频一区二区三区| 亚洲国产sm捆绑调教视频| 亚洲国产乱码最新视频| 亚洲国产精品影院| 日韩精品久久理论片| 欧美aⅴ一区二区三区视频| 日韩av一级电影| 久久se这里有精品| 韩国理伦片一区二区三区在线播放| 美女视频免费一区| 国产一区欧美日韩| 岛国精品在线播放| 91色在线porny| 欧美日韩一级片在线观看| 91精品国产91综合久久蜜臀| 日韩限制级电影在线观看| 欧美tickle裸体挠脚心vk| 久久午夜色播影院免费高清| 久久精品人人做人人爽人人| 国产日韩欧美在线一区| 亚洲天堂中文字幕| 婷婷夜色潮精品综合在线| 美国毛片一区二区| 成人午夜av电影| 欧美在线啊v一区| 日韩一区二区三区在线观看| 精品理论电影在线观看| 亚洲国产精品99久久久久久久久| 亚洲三级理论片| 日韩精品一卡二卡三卡四卡无卡| 美腿丝袜亚洲综合| 成人高清视频免费观看| 91久久精品一区二区三区| 欧美一级高清片| 国产精品久久久久久久久搜平片 | 欧美图区在线视频| 精品国产免费一区二区三区香蕉| 国产欧美精品国产国产专区| 一级中文字幕一区二区| 美女视频网站黄色亚洲| 97久久人人超碰| 欧美不卡一二三| 亚洲码国产岛国毛片在线| 免费日韩伦理电影| 色综合久久久久久久| 日韩手机在线导航| 亚洲日韩欧美一区二区在线| 日本sm残虐另类| 91久久一区二区| 久久久久99精品一区| 亚洲成人激情综合网| 成人av网站在线观看免费| 在线播放欧美女士性生活| 国产精品午夜在线| 麻豆精品在线视频| 欧美丝袜丝交足nylons图片| 国产性做久久久久久| 日本美女一区二区三区| aaa欧美大片| 久久伊人中文字幕| 日韩电影在线一区二区三区| 9人人澡人人爽人人精品| 精品免费日韩av| 午夜欧美在线一二页| 91影院在线观看| 国产人成一区二区三区影院| 日韩中文字幕一区二区三区| 91猫先生在线| 国产精品日产欧美久久久久| 老司机免费视频一区二区三区| 欧洲视频一区二区| 综合久久综合久久| 国产99久久久久久免费看农村| 日韩欧美一级二级| 天堂精品中文字幕在线| 欧美三级中文字幕在线观看| 亚洲视频小说图片| www.激情成人| 国产精品欧美极品| 国产资源精品在线观看| 欧美一区二区三区系列电影| 亚洲一区二区三区中文字幕| 97精品国产97久久久久久久久久久久| 久久久久久久综合狠狠综合| 国产专区欧美精品| 精品成a人在线观看| 麻豆成人av在线| 欧美tickle裸体挠脚心vk| 精品在线一区二区三区| 欧美本精品男人aⅴ天堂| 久久国产精品露脸对白| 精品久久久久香蕉网| 奇米色一区二区| 日韩一级大片在线| 美女视频一区在线观看| 日韩精品一区二| 韩国中文字幕2020精品| 久久久久久久久久看片| 国产a级毛片一区| 最新中文字幕一区二区三区| 99精品一区二区三区| 亚洲免费毛片网站| 欧美在线播放高清精品| 天堂av在线一区| 亚洲精品一线二线三线| 国产精品自拍在线| 国产精品美女一区二区| 97久久人人超碰| 亚洲成人动漫在线免费观看| 日韩一区二区三区电影在线观看 | 欧洲精品一区二区| 午夜精品爽啪视频| 日韩欧美一区二区视频| 国产精品一区二区果冻传媒| 国产精品白丝在线| 欧美伊人精品成人久久综合97| 日韩不卡在线观看日韩不卡视频| 欧美不卡激情三级在线观看| 成人午夜免费av| 亚洲成av人片在线| 亚洲精品一区二区三区四区高清| 国产高清不卡一区二区| 奇米一区二区三区av| 日本不卡在线视频| 日韩丝袜美女视频| 成人三级伦理片| 亚洲午夜一区二区三区| 精品国产成人系列| 一本一道波多野结衣一区二区|