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

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

?? pieplottests.java

?? 制作圖表的好工具
?? 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

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
免费在线观看成人| 亚洲欧美日韩一区| 国模大尺度一区二区三区| 精品乱人伦小说| 国产成人综合自拍| 亚洲视频香蕉人妖| 欧美亚洲精品一区| 久久精品国产免费看久久精品| 欧美va亚洲va在线观看蝴蝶网| 韩国v欧美v亚洲v日本v| 国产欧美日韩在线视频| 91美女在线观看| 午夜久久久久久| 久久久久久久久久久久久久久99| 成人激情图片网| 亚洲一二三四久久| 精品国产亚洲在线| 色婷婷av一区二区三区大白胸| 日本人妖一区二区| 国产午夜精品福利| 欧美性大战久久久久久久蜜臀| 蜜臀av一区二区在线观看| 中文在线资源观看网站视频免费不卡| 一本大道久久a久久综合婷婷| 午夜电影网亚洲视频| 欧美国产欧美综合| 欧美美女视频在线观看| 国产精品91一区二区| 亚洲在线视频一区| 国产欧美va欧美不卡在线| 欧美色老头old∨ideo| 国产乱码精品一区二区三| 亚洲乱码日产精品bd| 性久久久久久久久久久久| 国产乱码精品一区二区三区忘忧草 | 日韩综合小视频| 久久综合久久鬼色| av电影天堂一区二区在线| 麻豆精品在线播放| 亚洲精品欧美综合四区| 久久久久久99精品| 欧美日韩久久久久久| 成人午夜激情影院| 五月天网站亚洲| 17c精品麻豆一区二区免费| 欧美v日韩v国产v| 欧美亚洲自拍偷拍| 91在线免费播放| 国产精品性做久久久久久| 亚洲成av人**亚洲成av**| 国产精品亲子伦对白| 欧美tk—视频vk| 欧美日韩国产大片| 欧美综合色免费| 99久久99久久精品国产片果冻| 久久狠狠亚洲综合| 亚洲国产综合色| 一区二区三区在线视频免费观看| 国产亚洲一区字幕| 久久老女人爱爱| 精品国产人成亚洲区| 69堂国产成人免费视频| 欧美日本视频在线| 欧美日韩免费一区二区三区视频| 色哟哟国产精品| 99国产精品久久久久久久久久 | 国产成人在线免费| 精品一区二区三区av| 婷婷亚洲久悠悠色悠在线播放| 一二三区精品视频| 亚洲综合清纯丝袜自拍| 一区二区成人在线| 亚洲国产视频在线| 天堂影院一区二区| 亚洲韩国一区二区三区| 亚洲人成7777| 一区二区视频在线| 亚洲美女在线国产| 亚洲一二三四久久| 青青草伊人久久| 免费高清视频精品| 国产一区二区三区在线看麻豆| 国产在线观看免费一区| 狠狠色丁香婷婷综合| 国产一区二区三区日韩| 国产成人免费视频精品含羞草妖精| 国产福利91精品一区二区三区| 国产精一区二区三区| 国产成人免费视频网站高清观看视频| 国产高清精品网站| 成人av片在线观看| 在线免费不卡电影| 777欧美精品| 欧美中文字幕久久| 欧美放荡的少妇| 精品国产污污免费网站入口| 欧美国产一区在线| 一个色在线综合| 免费高清在线视频一区·| 麻豆91免费看| 国产91精品入口| 欧美性三三影院| 欧美大肚乱孕交hd孕妇| 中文字幕国产一区二区| 亚洲影院在线观看| 狠狠色丁香久久婷婷综| 国产成人av电影在线| 95精品视频在线| 在线成人高清不卡| 国产精品免费久久| 五月婷婷激情综合| 岛国精品在线播放| 69p69国产精品| 亚洲国产成人私人影院tom| 一区二区三区丝袜| 国产麻豆精品一区二区| 在线观看视频一区二区| 欧美一级午夜免费电影| 国产精品丝袜久久久久久app| 午夜精品久久久久| 丁香天五香天堂综合| 欧美视频中文字幕| 中文字幕免费观看一区| 热久久免费视频| 91美女片黄在线观看91美女| 日韩一区二区免费视频| 国产精品久久久久久久蜜臀| 日日欢夜夜爽一区| 91视频com| 日韩免费视频一区| 亚洲国产一二三| 99久久精品情趣| 国产日产欧产精品推荐色| 日日夜夜精品视频免费| 色综合久久中文综合久久97| 亚洲精品一区二区三区99| 亚洲风情在线资源站| 99久久久国产精品免费蜜臀| www亚洲一区| 人禽交欧美网站| 欧美另类videos死尸| 亚洲四区在线观看| 国产成人午夜视频| 久久伊99综合婷婷久久伊| 热久久免费视频| 欧美精品乱码久久久久久| 一区二区三区在线观看网站| 成人av网站在线观看| 国产女主播在线一区二区| 精品无人码麻豆乱码1区2区| 3d成人动漫网站| 丝袜脚交一区二区| 欧美精品乱码久久久久久按摩| 亚洲美女偷拍久久| 91网站黄www| 国产精品久久久久精k8| 风流少妇一区二区| 久久精品水蜜桃av综合天堂| 韩国女主播成人在线| 欧美成人性战久久| 麻豆精品久久精品色综合| 欧美丰满美乳xxx高潮www| 亚洲一二三四区| 欧美午夜片在线看| 亚洲大片在线观看| 欧美裸体一区二区三区| 天天影视涩香欲综合网| 欧美人狂配大交3d怪物一区| 日日摸夜夜添夜夜添国产精品| 69p69国产精品| 免费观看在线综合| 精品国产a毛片| 国产福利一区二区三区| 中文字幕av资源一区| 99精品久久99久久久久| 成人免费一区二区三区视频| 一本色道a无线码一区v| 亚洲午夜在线电影| 欧美日本在线观看| 精品一区二区三区久久久| 国产精品女上位| 欧美怡红院视频| 日韩经典一区二区| 2024国产精品视频| 成人爱爱电影网址| 亚洲精品高清视频在线观看| 欧洲在线/亚洲| 青青草国产精品亚洲专区无| 精品三级在线观看| 99久久精品免费精品国产| 亚洲一区免费观看| 精品久久久久久久久久久久久久久久久 | 亚洲h动漫在线| 日韩小视频在线观看专区| 国内国产精品久久| 国产精品午夜在线| 欧美日本国产视频| 国产福利精品导航| 亚洲国产aⅴ成人精品无吗| 精品女同一区二区|