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

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

?? texttitle.java

?? Web圖形化的Java庫
?? JAVA
?? 第 1 頁 / 共 2 頁
字號(hào):
/* ======================================
 * JFreeChart : a free Java chart library
 * ======================================
 *
 * Project Info:  http://www.jfree.org/jfreechart/index.html
 * Project Lead:  David Gilbert (david.gilbert@object-refinery.com);
 *
 * (C) Copyright 2000-2003, by Object Refinery Limited and Contributors.
 *
 * 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., 59 Temple Place, Suite 330,
 * Boston, MA 02111-1307, USA.
 *
 * --------------
 * TextTitle.java
 * --------------
 * (C) Copyright 2000-2003, by David Berry and Contributors.
 *
 * Original Author:  David Berry;
 * Contributor(s):   David Gilbert (for Object Refinery Limited);
 *
 * $Id: TextTitle.java,v 1.8 2003/08/20 11:31:13 mungady Exp $
 *
 * Changes (from 18-Sep-2001)
 * --------------------------
 * 18-Sep-2001 : Added standard header (DG);
 * 07-Nov-2001 : Separated the JCommon Class Library classes, JFreeChart now requires
 *               jcommon.jar (DG);
 * 09-Jan-2002 : Updated Javadoc comments (DG);
 * 07-Feb-2002 : Changed Insets --> Spacer in AbstractTitle.java (DG);
 * 06-Mar-2002 : Updated import statements (DG);
 * 25-Jun-2002 : Removed redundant imports (DG);
 * 18-Sep-2002 : Fixed errors reported by Checkstyle (DG);
 * 28-Oct-2002 : Small modifications while changing JFreeChart class (DG);
 * 13-Mar-2003 : Changed width used for relative spacing to fix bug 703050 (DG);
 * 26-Mar-2003 : Implemented Serializable (DG);
 * 15-Jul-2003 : Fixed null pointer exception (DG);
 *
 */

package org.jfree.chart;

import java.awt.Color;
import java.awt.Font;
import java.awt.Graphics2D;
import java.awt.Paint;
import java.awt.font.FontRenderContext;
import java.awt.font.LineMetrics;
import java.awt.geom.Rectangle2D;
import java.io.IOException;
import java.io.ObjectInputStream;
import java.io.ObjectOutputStream;
import java.io.Serializable;

import org.jfree.chart.event.TitleChangeEvent;
import org.jfree.io.SerialUtilities;
import org.jfree.util.ObjectUtils;

/**
 * A standard chart title.
 *
 * @author David Gilbert
 */
public class TextTitle extends AbstractTitle implements Serializable {

    /** The default font. */
    public static final Font DEFAULT_FONT = new Font("SansSerif", Font.BOLD, 12);

    /** The default text color. */
    public static final Paint DEFAULT_TEXT_PAINT = Color.black;

    /** The title text. */
    private String text;

    /** The font used to display the title. */
    private Font font;

    /** The paint used to display the title text. */
    private transient Paint paint;

    /** The background paint. */
    private transient Paint backgroundPaint;
    
    /**
     * Creates a new title, using default attributes where necessary.
     *
     * @param text  the title text.
     */
    public TextTitle(String text) {

        this(text,
             TextTitle.DEFAULT_FONT,
             TextTitle.DEFAULT_TEXT_PAINT,
             AbstractTitle.DEFAULT_POSITION,
             AbstractTitle.DEFAULT_HORIZONTAL_ALIGNMENT,
             AbstractTitle.DEFAULT_VERTICAL_ALIGNMENT,
             AbstractTitle.DEFAULT_SPACER);

    }

    /**
     * Creates a new title, using default attributes where necessary.
     *
     * @param text  the title text.
     * @param font  the title font.
     */
    public TextTitle(String text, Font font) {

        this(text, font,
             TextTitle.DEFAULT_TEXT_PAINT,
             AbstractTitle.DEFAULT_POSITION,
             AbstractTitle.DEFAULT_HORIZONTAL_ALIGNMENT,
             AbstractTitle.DEFAULT_VERTICAL_ALIGNMENT,
             AbstractTitle.DEFAULT_SPACER);

    }

    /**
     * Creates a new title, using default attributes where necessary.
     *
     * @param text  the title text.
     * @param font  the title font.
     * @param paint  the title color.
     */
    public TextTitle(String text, Font font, Paint paint) {

        this(text, font, paint,
             AbstractTitle.DEFAULT_POSITION,
             AbstractTitle.DEFAULT_HORIZONTAL_ALIGNMENT,
             AbstractTitle.DEFAULT_VERTICAL_ALIGNMENT,
             AbstractTitle.DEFAULT_SPACER);

    }
    /**
     * Creates a new title, using default attributes where necessary.
     * <P>
     * For the horizontal alignment, use the constants (LEFT, RIGHT and CENTER) defined in the
     * AbstractTitle class.
     *
     * @param text  the title text.
     * @param font  the title font.
     * @param horizontalAlignment  the horizontal alignment.
     */
    public TextTitle(String text, Font font, int horizontalAlignment) {

        this(text, font,
             TextTitle.DEFAULT_TEXT_PAINT,
             AbstractTitle.DEFAULT_POSITION,
             horizontalAlignment,
             AbstractTitle.DEFAULT_VERTICAL_ALIGNMENT,
             AbstractTitle.DEFAULT_SPACER);

    }

    /**
     * Constructs a TextTitle with the specified properties.
     * <p>
     * For the titlePosition, horizontalAlignment and verticalAlignment, use the constants
     * defined in the AbstractTitle class.
     *
     * @param text  the text for the title.
     * @param font  the title font.
     * @param paint  the title color.
     * @param position  the title position.
     * @param horizontalAlignment  the horizontal alignment.
     * @param verticalAlignment  the vertical alignment.
     * @param spacer  the space to leave around the outside of the title.
     */
    public TextTitle(String text, Font font, Paint paint, int position,
                     int horizontalAlignment, int verticalAlignment,
                     Spacer spacer) {

        super(position, horizontalAlignment, verticalAlignment, spacer);
        this.text = text;
        this.font = font;
        this.paint = paint;
        this.backgroundPaint = null;
        
    }

    /**
     * Returns the title text.
     *
     * @return the text.
     */
    public String getText() {
        return text;
    }

    /**
     * Sets the title to the specified text. This method notifies registered
     * listeners that the title has been modified.
     *
     * @param text  the new text.
     */
    public void setText(String text) {

        if (!this.text.equals(text)) {
            this.text = text;
            notifyListeners(new TitleChangeEvent(this));
        }

    }

    /**
     * Returns the font used to display the title string.
     *
     * @return the font.
     */
    public Font getFont() {
        return this.font;
    }

    /**
     * Sets the font used to display the title string.  Registered listeners are notified that
     * the title has been modified.
     *
     * @param font  the new font (null not permitted).
     */
    public void setFont(Font font) {

        // check argument...
        if (font == null) {
            throw new IllegalArgumentException("TextTitle.setFont(...): null font not permitted.");
        }

        // make the change...
        if (!this.font.equals(font)) {
            this.font = font;
            notifyListeners(new TitleChangeEvent(this));
        }

    }

    /**
     * Returns the paint used to display the title string.
     *
     * @return the paint.
     */
    public Paint getPaint() {
        return this.paint;
    }

    /**
     * Sets the paint used to display the title string.  Registered listeners are notified that
     * the title has been modified.
     *
     * @param paint  the new paint (null not permitted).
     */
    public void setPaint(Paint paint) {

        // check argument...

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
久久综合久久综合久久| 欧美午夜视频网站| 国产日韩欧美麻豆| 国产精品一区二区久久不卡| 久久在线免费观看| 高清成人免费视频| 国产精品麻豆99久久久久久| 91视视频在线观看入口直接观看www| 国产精品久久久久天堂| 在线视频一区二区免费| 水蜜桃久久夜色精品一区的特点 | 国产精品影视在线| 中文字幕欧美日本乱码一线二线 | 99久久er热在这里只有精品15| 成人欧美一区二区三区黑人麻豆| 色偷偷久久一区二区三区| 亚洲成人动漫在线免费观看| 欧美一区二区视频网站| 国产精品主播直播| 一区二区三区国产精品| 精品欧美久久久| 99久久99久久综合| 免费成人结看片| 成人欧美一区二区三区1314| 欧美日本免费一区二区三区| 国产毛片精品一区| 亚洲一区在线免费观看| 日韩欧美电影一区| 91蝌蚪porny| 美腿丝袜亚洲三区| 亚洲精品五月天| 精品国产免费一区二区三区四区 | 精品视频1区2区3区| 美女网站视频久久| 亚洲情趣在线观看| 精品国产乱码久久久久久闺蜜| 99re8在线精品视频免费播放| 午夜a成v人精品| 中文字幕不卡的av| 91精品国产综合久久久久久漫画 | 亚洲精品欧美在线| 2023国产精品自拍| 欧美电影在线免费观看| 成人av在线资源| 久草热8精品视频在线观看| 亚洲精品少妇30p| 日本一区免费视频| 日韩你懂的在线观看| 色悠久久久久综合欧美99| 国产综合久久久久久鬼色| 亚洲成人动漫精品| 一区二区三区在线观看国产| 国产欧美日韩视频一区二区| 日韩亚洲欧美成人一区| 欧洲精品一区二区| 色国产综合视频| 成人小视频免费观看| 久久电影网电视剧免费观看| 亚洲成人av中文| 夜夜嗨av一区二区三区| 国产精品成人在线观看| 亚洲国产成人在线| 日本一区二区三区国色天香| 2019国产精品| 欧美电影免费观看高清完整版在线| 欧美三级电影网站| 色婷婷香蕉在线一区二区| caoporn国产精品| 成人动漫精品一区二区| 东方欧美亚洲色图在线| 国产精品一区2区| 国产成人高清在线| 高清日韩电视剧大全免费| 国产成人av网站| 韩国视频一区二区| 国产成人亚洲精品青草天美| 国产精品自拍毛片| 成人午夜视频福利| www.亚洲在线| 97久久精品人人做人人爽50路| eeuss鲁一区二区三区| 一本一本大道香蕉久在线精品| 91老师片黄在线观看| 欧美亚洲综合久久| 欧美一级精品大片| 久久久午夜电影| 国产精品二三区| 亚洲在线视频免费观看| 日本视频一区二区| 国产尤物一区二区在线| 成人av电影在线观看| 色婷婷综合中文久久一本| 欧美性视频一区二区三区| 欧美一区二区精品久久911| 精品盗摄一区二区三区| 日本一区二区三区四区在线视频| 亚洲欧洲日产国码二区| 一区二区三区四区不卡在线 | 麻豆高清免费国产一区| 激情综合亚洲精品| av福利精品导航| 精品视频在线免费| 久久人人97超碰com| 中文字幕一区日韩精品欧美| 亚洲自拍偷拍欧美| 久久99精品久久只有精品| 丁香另类激情小说| 欧美色网站导航| 亚洲精品一区二区在线观看| 亚洲男女毛片无遮挡| 日本最新不卡在线| a美女胸又www黄视频久久| 欧美日韩一本到| 国产午夜亚洲精品羞羞网站| 亚洲在线视频免费观看| 国产一区91精品张津瑜| 欧美综合久久久| 2021国产精品久久精品| 亚洲午夜精品在线| 国产成人在线影院| 欧美在线观看视频一区二区三区| 久久这里只精品最新地址| 一区二区三区成人| 高清在线观看日韩| 日韩三区在线观看| 亚洲一区二区三区视频在线播放| 国产精品一二三四五| 欧美美女一区二区在线观看| 中日韩av电影| 裸体一区二区三区| 在线观看日产精品| 国产精品美女久久福利网站| 蜜臀精品一区二区三区在线观看| 成人激情视频网站| 久久亚洲精精品中文字幕早川悠里| 亚洲在线视频一区| 99国产精品视频免费观看| 精品国产伦一区二区三区观看体验 | 欧美日本韩国一区| 亚洲欧美一区二区三区孕妇| 国产一区二区三区综合| 91精品国产欧美一区二区成人| 亚洲人成在线播放网站岛国| 国产成人综合视频| 亚洲精品在线观看网站| 石原莉奈一区二区三区在线观看 | 国产一区欧美二区| 日韩一级精品视频在线观看| 亚洲在线免费播放| 91福利在线观看| 亚洲欧美日韩电影| 91在线国产福利| 国产精品久久久久久久久免费相片| 国产自产高清不卡| 精品乱码亚洲一区二区不卡| 性感美女极品91精品| 欧洲色大大久久| 亚洲高清在线精品| 欧美日韩高清一区二区三区| 一区二区三区日韩| 91福利国产成人精品照片| 亚洲女同ⅹxx女同tv| 99久久久无码国产精品| 中文字幕欧美国产| 99久久免费精品高清特色大片| 日本一区二区三区高清不卡| 国产91丝袜在线观看| 国产欧美在线观看一区| 丁香激情综合五月| 中文字幕亚洲欧美在线不卡| 99在线精品免费| 亚洲精品国产精品乱码不99 | 日韩一区二区三区在线观看| 日韩一区精品视频| 欧美变态tickling挠脚心| 精品伊人久久久久7777人| ww亚洲ww在线观看国产| 成人网页在线观看| 中文字幕一区二区不卡| 色av成人天堂桃色av| 亚洲电影欧美电影有声小说| 欧美一卡二卡三卡| 国产乱子伦视频一区二区三区 | 欧美久久高跟鞋激| 男女性色大片免费观看一区二区| 欧美电影精品一区二区| 国产黄人亚洲片| 亚洲女人****多毛耸耸8| 欧美日韩亚洲综合一区| 青青草成人在线观看| 国产午夜精品久久| 欧美专区日韩专区| 精品午夜久久福利影院| 国产精品麻豆网站| 欧美日韩午夜在线| 精品一区二区日韩| 中文字幕亚洲精品在线观看| 欧美精品成人一区二区三区四区| 国产一区二区电影| 亚洲资源中文字幕|