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

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

?? legenditem.java

?? jfreechart1.0.1 jsp繪制圖表的開發包
?? 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.]
 *
 * ---------------
 * LegendItem.java
 * ---------------
 * (C) Copyright 2000-2005, by Object Refinery Limited and Contributors.
 *
 * Original Author:  David Gilbert (for Object Refinery Limited);
 * Contributor(s):   Andrzej Porebski;
 *                   David Li;
 *                   Wolfgang Irler;
 *                   Luke Quinane;
 *
 * $Id: LegendItem.java,v 1.9.2.4 2005/12/10 20:56:20 mungady Exp $
 *
 * Changes (from 2-Oct-2002)
 * -------------------------
 * 02-Oct-2002 : Fixed errors reported by Checkstyle (DG);
 * 17-Jan-2003 : Dropped outlineStroke attribute (DG);
 * 08-Oct-2003 : Applied patch for displaying series line style, contributed by
 *               Luke Quinane (DG);
 * 21-Jan-2004 : Added the shapeFilled flag (DG);
 * 04-Jun-2004 : Added equals() method, implemented Serializable (DG);
 * 25-Nov-2004 : Changes required by new LegendTitle implementation (DG);
 * 11-Jan-2005 : Removed deprecated code in preparation for the 1.0.0 
 *               release (DG);
 * 20-Apr-2005 : Added tooltip and URL text (DG);
 * 28-Nov-2005 : Separated constructors for AttributedString labels (DG);
 * 10-Dec-2005 : Fixed serialization bug (1377239) (DG);
 * 
 */

package org.jfree.chart;

import java.awt.BasicStroke;
import java.awt.Color;
import java.awt.Paint;
import java.awt.Shape;
import java.awt.Stroke;
import java.awt.geom.Line2D;
import java.io.IOException;
import java.io.ObjectInputStream;
import java.io.ObjectOutputStream;
import java.io.Serializable;
import java.text.AttributedString;
import java.text.CharacterIterator;

import org.jfree.io.SerialUtilities;
import org.jfree.util.AttributedStringUtilities;
import org.jfree.util.ObjectUtilities;
import org.jfree.util.ShapeUtilities;

/**
 * A storage object for recording the properties of a legend item, without any 
 * consideration for layout issues.  Instances of this class are immutable.
 */
public class LegendItem implements Serializable {

    // TODO:  keeping this class immutable is becoming a lot of overhead, need 
    // to look at the consequences of dropping immutability

    /** For serialization. */
    private static final long serialVersionUID = -797214582948827144L;
    
    /** The label. */
    private String label;
    
    /** The attributed label (if null, fall back to the regular label). */
    private transient AttributedString attributedLabel;

    /** 
     * The description (not currently used - could be displayed as a tool tip). 
     */
    private String description;
    
    /** The tool tip text. */
    private String toolTipText;
    
    /** The url text. */
    private String urlText;

    /** A flag that controls whether or not the shape is visible. */
    private boolean shapeVisible;
    
    /** The shape. */
    private transient Shape shape;
    
    /** A flag that controls whether or not the shape is filled. */
    private boolean shapeFilled;

    /** The paint. */
    private transient Paint fillPaint;
    
    /** A flag that controls whether or not the shape outline is visible. */
    private boolean shapeOutlineVisible;
    
    /** The outline paint. */
    private transient Paint outlinePaint;
    
    /** The outline stroke. */
    private transient Stroke outlineStroke;

    /** A flag that controls whether or not the line is visible. */
    private boolean lineVisible;
    
    /** The line. */
    private transient Shape line;
    
    /** The stroke. */
    private transient Stroke lineStroke;
    
    /** The line paint. */
    private transient Paint linePaint;

    /**
     * The shape must be non-null for a LegendItem - if no shape is required,
     * use this.
     */
    private static final Shape UNUSED_SHAPE = new Line2D.Float();
    
    /**
     * The stroke must be non-null for a LegendItem - if no stroke is required,
     * use this.
     */
    private static final Stroke UNUSED_STROKE = new BasicStroke(0.0f);
    
    /**
     * Creates a legend item with a filled shape.  The shape is not outlined,
     * and no line is visible.
     * 
     * @param label  the label (<code>null</code> not permitted).
     * @param description  the description (<code>null</code> permitted).
     * @param toolTipText  the tool tip text (<code>null</code> permitted).
     * @param urlText  the URL text (<code>null</code> permitted).
     * @param shape  the shape (<code>null</code> not permitted).
     * @param fillPaint  the paint used to fill the shape (<code>null</code>
     *                   not permitted).
     */
    public LegendItem(String label, String description, 
                      String toolTipText, String urlText, 
                      Shape shape, Paint fillPaint) {
        
        this(label, description, toolTipText, urlText, 
                /* shape visible = */ true, shape, 
                /* shape filled = */ true, fillPaint, 
                /* shape outlined */ false, Color.black, UNUSED_STROKE,
                /* line visible */ false, UNUSED_SHAPE, UNUSED_STROKE,
                Color.black);

    }
    
    /**
     * Creates a legend item with a filled and outlined shape.
     * 
     * @param label  the label (<code>null</code> not permitted).
     * @param description  the description (<code>null</code> permitted).
     * @param toolTipText  the tool tip text (<code>null</code> permitted).
     * @param urlText  the URL text (<code>null</code> permitted).
     * @param shape  the shape (<code>null</code> not permitted).
     * @param fillPaint  the paint used to fill the shape (<code>null</code>
     *                   not permitted).
     * @param outlineStroke  the outline stroke (<code>null</code> not 
     *                       permitted).
     * @param outlinePaint  the outline paint (<code>null</code> not 
     *                      permitted).
     */
    public LegendItem(String label, String description, 
                      String toolTipText, String urlText, 
                      Shape shape, Paint fillPaint, 
                      Stroke outlineStroke, Paint outlinePaint) {
        
        this(label, description, toolTipText, urlText,
                /* shape visible = */ true, shape, 
                /* shape filled = */ true, fillPaint, 
                /* shape outlined = */ true, outlinePaint, outlineStroke,
                /* line visible */ false, UNUSED_SHAPE, UNUSED_STROKE,
                Color.black);

    }
    
    /**
     * Creates a legend item using a line.
     * 
     * @param label  the label (<code>null</code> not permitted).
     * @param description  the description (<code>null</code> permitted).
     * @param toolTipText  the tool tip text (<code>null</code> permitted).
     * @param urlText  the URL text (<code>null</code> permitted).
     * @param line  the line (<code>null</code> not permitted).
     * @param lineStroke  the line stroke (<code>null</code> not permitted).
     * @param linePaint  the line paint (<code>null</code> not permitted).
     */
    public LegendItem(String label, String description, 
                      String toolTipText, String urlText, 
                      Shape line, Stroke lineStroke, Paint linePaint) {
        
        this(label, description, toolTipText, urlText,
                /* shape visible = */ false, UNUSED_SHAPE,
                /* shape filled = */ false, Color.black,
                /* shape outlined = */ false, Color.black, UNUSED_STROKE,
                /* line visible = */ true, line, lineStroke, linePaint);
    }
    
    /**
     * Creates a new legend item.
     *
     * @param label  the label (<code>null</code> not permitted).
     * @param description  the description (not currently used, 
     *        <code>null</code> permitted).
     * @param toolTipText  the tool tip text (<code>null</code> permitted).
     * @param urlText  the URL text (<code>null</code> permitted).
     * @param shapeVisible  a flag that controls whether or not the shape is 
     *                      displayed.
     * @param shape  the shape (<code>null</code> permitted).
     * @param shapeFilled  a flag that controls whether or not the shape is 
     *                     filled.
     * @param fillPaint  the fill paint (<code>null</code> not permitted).
     * @param shapeOutlineVisible  a flag that controls whether or not the 
     *                             shape is outlined.
     * @param outlinePaint  the outline paint (<code>null</code> not permitted).
     * @param outlineStroke  the outline stroke (<code>null</code> not 
     *                       permitted).
     * @param lineVisible  a flag that controls whether or not the line is 
     *                     visible.
     * @param line  the line.
     * @param lineStroke  the stroke (<code>null</code> not permitted).
     * @param linePaint  the line paint (<code>null</code> not permitted).
     */
    public LegendItem(String label, String description,
                      String toolTipText, String urlText,
                      boolean shapeVisible, Shape shape,
                      boolean shapeFilled, Paint fillPaint, 
                      boolean shapeOutlineVisible, Paint outlinePaint,
                      Stroke outlineStroke,
                      boolean lineVisible, Shape line,
                      Stroke lineStroke, Paint linePaint) {
        
        if (label == null) {
            throw new IllegalArgumentException("Null 'label' argument.");   
        }
        if (fillPaint == null) {
            throw new IllegalArgumentException("Null 'fillPaint' argument.");   
        }
        if (lineStroke == null) {
            throw new IllegalArgumentException("Null 'lineStroke' argument.");
        }
        if (outlinePaint == null) {
            throw new IllegalArgumentException("Null 'outlinePaint' argument.");
        }
        if (outlineStroke == null) {
            throw new IllegalArgumentException(
                    "Null 'outlineStroke' argument.");   
        }
        this.label = label;
        this.attributedLabel = null;
        this.description = description;
        this.shapeVisible = shapeVisible;
        this.shape = shape;
        this.shapeFilled = shapeFilled;
        this.fillPaint = fillPaint;
        this.shapeOutlineVisible = shapeOutlineVisible;
        this.outlinePaint = outlinePaint;
        this.outlineStroke = outlineStroke;
        this.lineVisible = lineVisible;
        this.line = line;
        this.lineStroke = lineStroke;
        this.linePaint = linePaint;
        this.toolTipText = toolTipText;
        this.urlText = urlText;
    }
    
    /**
     * Creates a legend item with a filled shape.  The shape is not outlined,
     * and no line is visible.
     * 
     * @param label  the label (<code>null</code> not permitted).
     * @param description  the description (<code>null</code> permitted).
     * @param toolTipText  the tool tip text (<code>null</code> permitted).
     * @param urlText  the URL text (<code>null</code> permitted).
     * @param shape  the shape (<code>null</code> not permitted).
     * @param fillPaint  the paint used to fill the shape (<code>null</code>
     *                   not permitted).
     */
    public LegendItem(AttributedString label, String description, 
                      String toolTipText, String urlText, 
                      Shape shape, Paint fillPaint) {
        
        this(label, description, toolTipText, urlText, 
                /* shape visible = */ true, shape,
                /* shape filled = */ true, fillPaint,
                /* shape outlined = */ false, Color.black, UNUSED_STROKE,
                /* line visible = */ false, UNUSED_SHAPE, UNUSED_STROKE,
                Color.black);
        
    }
    
    /**
     * Creates a legend item with a filled and outlined shape.
     * 
     * @param label  the label (<code>null</code> not permitted).
     * @param description  the description (<code>null</code> permitted).
     * @param toolTipText  the tool tip text (<code>null</code> permitted).
     * @param urlText  the URL text (<code>null</code> permitted).
     * @param shape  the shape (<code>null</code> not permitted).
     * @param fillPaint  the paint used to fill the shape (<code>null</code>
     *                   not permitted).
     * @param outlineStroke  the outline stroke (<code>null</code> not 
     *                       permitted).
     * @param outlinePaint  the outline paint (<code>null</code> not 
     *                      permitted).
     */
    public LegendItem(AttributedString label, String description, 
                      String toolTipText, String urlText, 
                      Shape shape, Paint fillPaint, 
                      Stroke outlineStroke, Paint outlinePaint) {
        
        this(label, description, toolTipText, urlText,
                /* shape visible = */ true, shape,
                /* shape filled = */ true, fillPaint,
                /* shape outlined = */ true, outlinePaint, outlineStroke,
                /* line visible = */ false, UNUSED_SHAPE, UNUSED_STROKE,
                Color.black);
    }
    
    /**
     * Creates a legend item using a line.
     * 
     * @param label  the label (<code>null</code> not permitted).
     * @param description  the description (<code>null</code> permitted).
     * @param toolTipText  the tool tip text (<code>null</code> permitted).
     * @param urlText  the URL text (<code>null</code> permitted).
     * @param line  the line (<code>null</code> not permitted).
     * @param lineStroke  the line stroke (<code>null</code> not permitted).

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
色综合亚洲欧洲| 26uuu精品一区二区| 日韩精品在线网站| 国产精品国产三级国产aⅴ入口 | 五月开心婷婷久久| 国产精品亚洲成人| 欧美日韩久久久一区| 中文字幕 久热精品 视频在线 | 国产精品国产三级国产aⅴ中文| 亚洲国产视频在线| 久久精品免费观看| 欧美丝袜第三区| 国产精品白丝在线| 国产乱色国产精品免费视频| 777亚洲妇女| 亚洲另类色综合网站| 国产毛片精品国产一区二区三区| 欧美性淫爽ww久久久久无| 国产欧美一区二区精品性色 | 一区av在线播放| 国产二区国产一区在线观看| 91精品国产综合久久久蜜臀图片| 自拍偷拍国产亚洲| 国产91丝袜在线观看| 精品日韩在线一区| 精品一区二区在线视频| 日韩三级.com| 乱一区二区av| 日韩一区二区影院| 久久精品国产99国产精品| 91精品国产综合久久精品图片| 亚洲一区二区三区影院| 色偷偷一区二区三区| 亚洲欧美日韩在线播放| 91丨九色丨黑人外教| 亚洲欧洲日韩女同| 91精彩视频在线| 亚洲永久精品国产| 欧美亚洲图片小说| 亚洲18色成人| 欧美日韩成人激情| 男人的天堂久久精品| 日韩一区二区三区免费看| 麻豆成人久久精品二区三区红 | 2023国产精品视频| 精品亚洲国内自在自线福利| 久久综合资源网| 国产成人免费av在线| 国产精品丝袜黑色高跟| 97se狠狠狠综合亚洲狠狠| 一级日本不卡的影视| 欧美日韩卡一卡二| 狠狠色综合色综合网络| 欧美激情一二三区| 色婷婷综合在线| 偷拍与自拍一区| 精品日韩欧美一区二区| 波多野结衣欧美| 亚洲激情中文1区| 日韩欧美色综合| 白白色亚洲国产精品| 亚洲国产另类精品专区| 精品久久一区二区| 99re免费视频精品全部| 偷偷要91色婷婷| 亚洲国产精品99久久久久久久久| 一本色道综合亚洲| 久久国产尿小便嘘嘘尿| 国产精品麻豆网站| 91精品国产欧美日韩| 成人午夜电影网站| 五月激情综合色| 国产精品夫妻自拍| 欧美一区二区免费| 懂色av一区二区三区免费看| 亚洲图片欧美综合| 欧美激情综合网| 欧美日韩精品一区二区三区蜜桃| 韩国精品在线观看| 亚洲小少妇裸体bbw| 国产午夜精品理论片a级大结局| 色综合久久99| 国产91丝袜在线18| 日韩有码一区二区三区| 国产精品久99| 精品人伦一区二区色婷婷| 91国偷自产一区二区开放时间 | 亚洲chinese男男1069| 国产欧美日韩在线看| 日韩一级完整毛片| 欧美在线看片a免费观看| 国产精品自拍在线| 奇米一区二区三区| 亚洲伊人伊色伊影伊综合网| 国产婷婷一区二区| 精品国产乱码久久久久久图片 | 亚洲va韩国va欧美va精品| 日本一区二区视频在线| 欧美不卡一区二区三区| 欧美日韩成人在线一区| 色婷婷av一区二区三区软件 | 中文字幕日本不卡| 久久人人超碰精品| 欧美一个色资源| 91精品中文字幕一区二区三区| 91视频在线观看| 97se亚洲国产综合自在线不卡| 丁香另类激情小说| 国产91精品一区二区麻豆亚洲| 久99久精品视频免费观看| 蜜桃av一区二区三区| 日本va欧美va精品| 日韩成人午夜电影| 免费高清成人在线| 热久久一区二区| 美女国产一区二区三区| 日韩不卡在线观看日韩不卡视频| 日精品一区二区三区| 亚洲va中文字幕| 亚洲成人高清在线| 日本欧美一区二区在线观看| 日韩国产一区二| 免费在线观看精品| 精品一区二区三区不卡| 国产一区福利在线| 福利一区二区在线观看| 94-欧美-setu| 在线日韩国产精品| 91精品国产麻豆国产自产在线| 7777精品伊人久久久大香线蕉完整版| 欧美日韩一区二区三区不卡 | 日本不卡视频一二三区| 美女任你摸久久 | 国产午夜亚洲精品羞羞网站| 久久久www成人免费无遮挡大片| 久久久激情视频| 中文字幕综合网| 亚洲自拍偷拍麻豆| 青椒成人免费视频| 精品中文av资源站在线观看| 成人午夜精品在线| 欧美午夜在线观看| 日韩小视频在线观看专区| 久久色在线观看| 亚洲欧洲精品天堂一级| 亚洲国产精品一区二区久久恐怖片| 亚洲成人午夜电影| 国模大尺度一区二区三区| 丰满少妇久久久久久久| 色8久久精品久久久久久蜜| 7777精品伊人久久久大香线蕉完整版 | 色成年激情久久综合| 欧美人与禽zozo性伦| 国产三级三级三级精品8ⅰ区| 亚洲精品伦理在线| 精品无人区卡一卡二卡三乱码免费卡| 国产成人亚洲综合a∨婷婷| 欧美在线免费观看视频| 久久女同精品一区二区| 亚洲国产日韩a在线播放性色| 久久97超碰色| 欧美日韩精品系列| 国产欧美一区视频| 美女网站一区二区| 91啪亚洲精品| 久久久精品中文字幕麻豆发布| 亚洲日本乱码在线观看| 韩国精品主播一区二区在线观看 | 欧美日韩精品福利| 国产性色一区二区| 欧美aaa在线| 在线观看91视频| 国产女主播在线一区二区| 视频一区二区三区在线| va亚洲va日韩不卡在线观看| 日韩欧美一级二级| 亚洲香肠在线观看| 成人免费视频视频在线观看免费| 91精品婷婷国产综合久久性色| 一区二区免费在线| 成人高清视频在线| 精品免费视频.| 日韩国产高清在线| 欧美亚一区二区| 一区二区免费在线| 91丨九色丨蝌蚪丨老版| 国产农村妇女毛片精品久久麻豆 | 国产大陆亚洲精品国产| 宅男噜噜噜66一区二区66| 亚洲欧美日韩成人高清在线一区| 国产mv日韩mv欧美| 久久精品亚洲麻豆av一区二区| 老司机精品视频在线| 91精品国产综合久久国产大片| 亚洲图片欧美综合| 欧美三级日韩三级| 日韩精品一级二级| 91精品国产美女浴室洗澡无遮挡| 亚洲大尺度视频在线观看| 欧美亚洲综合色|