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

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

?? pielabelrecord.java

?? jfreechart1.0.1 jsp繪制圖表的開(kāi)發(fā)包
?? JAVA
字號(hào):
/* ===========================================================
 * 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.]
 *
 * -------------------
 * PieLabelRecord.java
 * -------------------
 * (C) Copyright 2004, by Object Refinery Limited and Contributors.
 *
 * Original Author:  David Gilbert (for Object Refinery Limited);
 * Contributor(s):   -;
 *
 * $Id: PieLabelRecord.java,v 1.2.2.1 2005/10/25 20:52:07 mungady Exp $
 *
 * Changes
 * -------
 * 08-Mar-2004 : Version 1 (DG);
 *
 */

package org.jfree.chart.plot;

import org.jfree.text.TextBox;

/**
 * A structure that retains information about the label for a section in a pie 
 * chart.
 */
public class PieLabelRecord implements Comparable {
    
    /** The key. */
    private Comparable key;
    
    /** The angle. */
    private double angle;
    
    /** The base y-coordinate. */
    private double baseY;
    
    /** The allocated y-coordinate. */
    private double allocatedY;

    /** The label. */
    private TextBox label;
    
    /** The label height. */
    private double labelHeight;
    
    /** The gap. */
    private double gap;
    
    /** The link percent. */
    private double linkPercent;
    
    /**
     * Creates a new record.
     * 
     * @param key  the key.
     * @param angle  the angle.
     * @param baseY  the base y-coordinate.
     * @param label  the label.
     * @param labelHeight  the label height (in Java2D units).
     * @param gap  the gap.
     * @param linkPercent  the link percent.
     */
    public PieLabelRecord(Comparable key, double angle, double baseY, 
                          TextBox label, double labelHeight, double gap, 
                          double linkPercent) {
        this.key = key;
        this.angle = angle;
        this.baseY = baseY;
        this.allocatedY = baseY;
        this.label = label;
        this.labelHeight = labelHeight;
        this.gap = gap;
        this.linkPercent = linkPercent;
    }
    
    /**
     * Returns the base y-coordinate.  This is where the label will appear if 
     * there is no overlapping of labels.
     * 
     * @return The base y-coordinate.
     */
    public double getBaseY() {
        return this.baseY;   
    }
    
    /**
     * Sets the base y-coordinate.
     * 
     * @param base  the base y-coordinate.
     */
    public void setBaseY(double base) {
        this.baseY = base;   
    }
    
    /**
     * Returns the lower bound of the label.
     * 
     * @return The lower bound.
     */
    public double getLowerY() {
        return this.allocatedY - this.labelHeight / 2.0;   
    }
    
    /**
     * Returns the upper bound of the label.
     * 
     * @return The upper bound.
     */
    public double getUpperY() {
        return this.allocatedY + this.labelHeight / 2.0;   
    }
    
    /**
     * Returns the angle.
     * 
     * @return The angle.
     */
    public double getAngle() {
        return this.angle;   
    }
    
    /**
     * Returns the key for the section that the label applies to.
     * 
     * @return The key.
     */
    public Comparable getKey() {
        return this.key;   
    }
    
    /**
     * Returns the label.
     * 
     * @return The label.
     */
    public TextBox getLabel() {
        return this.label;   
    }
    
    /**
     * Returns the label height.
     * 
     * @return The label height (in Java2D units).
     */
    public double getLabelHeight() {
        return this.labelHeight;   
    }
    
    /**
     * Returns the allocated y-coordinate.
     * 
     * @return The allocated y-coordinate.
     */
    public double getAllocatedY() {
        return this.allocatedY;   
    }
    
    /**
     * Sets the allocated y-coordinate.
     * 
     * @param y  the y-coordinate.
     */
    public void setAllocatedY(double y) {
        this.allocatedY = y;   
    }
    
    /**
     * Returns the gap.
     * 
     * @return The gap.
     */
    public double getGap() {
        return this.gap;   
    }
    
    /**
     * Returns the link percent.
     * 
     * @return The link percent.
     */
    public double getLinkPercent() {
        return this.linkPercent;   
    }
    /**
     * Compares this object to an arbitrary object.
     * 
     * @param obj  the object to compare against.
     * 
     * @return An integer that specifies the relative order of the two objects.
     */
    public int compareTo(Object obj) {
        int result = 0;
        if (obj instanceof PieLabelRecord) {
            PieLabelRecord plr = (PieLabelRecord) obj;
            if (this.baseY < plr.baseY) {
                result = -1;   
            }
            else if (this.baseY > plr.baseY) {
                result = 1;   
            }
        }
        return result;
    }
    
    /**
     * Returns a string describing the object.  This is used for debugging only.
     * 
     * @return A string.
     */
    public String toString() {
        return this.baseY + ", " + this.key.toString();   
    }
}

?? 快捷鍵說(shuō)明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产精品18久久久| 日韩黄色片在线观看| 欧美日韩精品免费观看视频| 精品一区二区国语对白| 亚洲欧洲精品成人久久奇米网| 欧美图区在线视频| 国产东北露脸精品视频| 日韩国产欧美在线观看| 国产精品入口麻豆原神| 欧美va日韩va| 欧美精品乱人伦久久久久久| 91在线观看美女| 狠狠色狠狠色综合| 日本欧美一区二区在线观看| 亚洲蜜臀av乱码久久精品蜜桃| 久久久99久久精品欧美| 日韩欧美综合一区| 欧美日本一区二区| 在线一区二区视频| 99久久精品国产观看| 国产精品资源站在线| 奇米色777欧美一区二区| 亚洲午夜激情网页| 亚洲精品视频一区| 亚洲色图都市小说| 国产精品久久久久aaaa樱花 | 在线播放日韩导航| 色av综合在线| 91欧美一区二区| 91视频观看免费| eeuss鲁片一区二区三区在线看| 黄色日韩三级电影| 国产综合成人久久大片91| 蜜臀国产一区二区三区在线播放 | 亚洲激情第一区| 亚洲人一二三区| 亚洲欧美另类小说视频| 日韩美女啊v在线免费观看| 国产精品入口麻豆九色| 中文字幕一区二区三区不卡在线| 国产片一区二区| 欧美激情艳妇裸体舞| 久久精品亚洲乱码伦伦中文| 久久久国产一区二区三区四区小说| 欧美videofree性高清杂交| 日韩欧美成人午夜| 久久综合成人精品亚洲另类欧美| 国产视频一区不卡| 国产精品国产三级国产aⅴ无密码 国产精品国产三级国产aⅴ原创 | 中文字幕在线不卡| 亚洲欧美日韩国产一区二区三区| 一区二区在线免费| 午夜婷婷国产麻豆精品| 青青草国产精品97视觉盛宴| 久久成人久久鬼色| 成人午夜又粗又硬又大| 92国产精品观看| 91福利精品视频| 正在播放一区二区| ww亚洲ww在线观看国产| 中文字幕一区在线| 午夜国产精品一区| 激情欧美一区二区| 波波电影院一区二区三区| 91国模大尺度私拍在线视频| 欧美高清性hdvideosex| 亚洲精品一区二区三区福利| 国产精品久久久久久久第一福利 | 欧美sm美女调教| 国产欧美精品一区| 一区二区三区高清| 久久97超碰色| 91亚洲午夜精品久久久久久| 欧美精品一卡二卡| 日本一区免费视频| 亚洲成a人片综合在线| 久久97超碰色| 欧美图片一区二区三区| 26uuu国产日韩综合| 亚洲一二三四区| 国产一区在线观看麻豆| 欧日韩精品视频| 26uuu色噜噜精品一区| 亚洲黄网站在线观看| 国产综合久久久久久鬼色| 色视频欧美一区二区三区| 精品国产免费人成电影在线观看四季| 国产精品全国免费观看高清 | 精品国产一区二区三区久久影院| 国产精品国产三级国产a | www.亚洲色图.com| 欧美精品 国产精品| 亚洲欧洲无码一区二区三区| 日本成人超碰在线观看| 91在线小视频| 亚洲国产精品一区二区www在线| 蜜臀久久久久久久| 色综合久久久久综合体| 精品国产三级电影在线观看| 亚洲午夜精品网| 高清不卡一二三区| 日韩免费看的电影| 亚洲午夜在线观看视频在线| 成人午夜伦理影院| 精品国产一区二区三区久久久蜜月 | 日韩av中文字幕一区二区| www.日韩av| 久久人人97超碰com| 五月开心婷婷久久| 91免费版在线| 国产欧美一区二区三区在线老狼| 日韩精品电影在线观看| 色婷婷av久久久久久久| 国产欧美日韩视频在线观看| 久久国产生活片100| 欧美日韩一本到| 亚洲日本乱码在线观看| 成人av电影免费观看| 久久久午夜精品理论片中文字幕| 日韩av网站免费在线| 欧美自拍偷拍午夜视频| 综合电影一区二区三区 | 欧美日韩视频在线一区二区| 亚洲少妇30p| 成av人片一区二区| 久久久无码精品亚洲日韩按摩| 久久se精品一区精品二区| 欧美电影在哪看比较好| 日韩精品一级中文字幕精品视频免费观看 | 欧美亚洲综合色| 亚洲免费在线观看| 色综合天天综合网天天狠天天| 国产精品色在线| 成人在线综合网| 国产精品女主播av| 成人深夜视频在线观看| 中文字幕 久热精品 视频在线 | 欧美性猛交xxxxxxxx| 亚洲精品视频观看| 欧美亚洲一区三区| 一区二区三区不卡在线观看| 91精彩视频在线| 亚洲激情自拍视频| 欧美无人高清视频在线观看| 亚洲国产精品自拍| 91精品视频网| 麻豆国产精品一区二区三区| 日韩精品影音先锋| 韩国av一区二区三区四区| 久久综合九色综合欧美就去吻| 国产一区二区导航在线播放| 久久久www免费人成精品| 丁香激情综合五月| 国产欧美1区2区3区| 成人av电影在线网| 亚洲精品视频观看| 欧美日韩日本视频| 欧美aa在线视频| 欧美变态口味重另类| 高清shemale亚洲人妖| 亚洲欧美视频在线观看视频| 欧美三区在线视频| 黑人巨大精品欧美一区| 中文字幕国产一区二区| 91精彩视频在线| 久久精品72免费观看| 国产午夜精品在线观看| 91蜜桃免费观看视频| 亚洲444eee在线观看| 精品国产免费人成在线观看| 波多野结衣一区二区三区| 亚洲国产综合91精品麻豆| 精品人在线二区三区| 不卡影院免费观看| 亚洲第一在线综合网站| 亚洲精品在线电影| 色伊人久久综合中文字幕| 奇米影视7777精品一区二区| 国产精品网友自拍| 欧美日韩卡一卡二| 高清免费成人av| 午夜久久福利影院| 国产欧美一区二区三区在线老狼| 欧美综合亚洲图片综合区| 九九九精品视频| 一区二区三区精密机械公司| 久久久五月婷婷| 欧美日韩一区不卡| 成人高清在线视频| 看电影不卡的网站| 亚洲一区日韩精品中文字幕| 久久亚洲精华国产精华液| 在线亚洲人成电影网站色www| 激情综合五月天| 亚洲综合精品自拍| 国产精品久久影院| 日韩视频国产视频| 欧美性一二三区| 成人97人人超碰人人99| 九九国产精品视频|