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

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

?? abstracttitle.java

?? JFreeChartweb圖表
?? JAVA
?? 第 1 頁(yè) / 共 2 頁(yè)
字號(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.
 *
 * ------------------
 * AbstractTitle.java
 * ------------------
 * (C) Copyright 2000-2003, by David Berry and Contributors.
 *
 * Original Author:  David Berry;
 * Contributor(s):   David Gilbert (for Object Refinery Limited);
 *
 * $Id: AbstractTitle.java,v 1.5 2003/08/20 11:31:13 mungady Exp $
 *
 * Changes (from 21-Aug-2001)
 * --------------------------
 * 21-Aug-2001 : Added standard header (DG);
 * 18-Sep-2001 : Updated header (DG);
 * 14-Nov-2001 : Package com.jrefinery.common.ui.* changed to com.jrefinery.ui.* (DG);
 * 07-Feb-2002 : Changed blank space around title from Insets --> Spacer, to allow for relative
 *               or absolute spacing (DG);
 * 25-Jun-2002 : Removed unnecessary imports (DG);
 * 01-Oct-2002 : Fixed errors reported by Checkstyle (DG);
 * 14-Oct-2002 : Changed the event listener storage structure (DG);
 *
 */

package org.jfree.chart;

import java.awt.Graphics2D;
import java.awt.geom.Rectangle2D;
import java.io.IOException;
import java.io.ObjectInputStream;
import java.io.ObjectOutputStream;
import java.io.Serializable;

import javax.swing.event.EventListenerList;

import org.jfree.chart.event.TitleChangeEvent;
import org.jfree.chart.event.TitleChangeListener;
import org.jfree.util.ObjectUtils;

/**
 * The base class for all chart titles.
 * <P>
 * A chart can have multiple titles, appearing at the top, bottom, left or
 * right of the chart (defined by the constants TOP, BOTTOM, LEFT and RIGHT ---
 * we also use the constants NORTH, SOUTH, EAST and WEST to remain consistent
 * with java.awt.BorderLayout, as most developers will be familiar with that
 * class).
 * <P>
 * Concrete implementations of this class will render text, images, and hence
 * do the actual work of drawing titles.
 *
 * @author David Berry
 */
public abstract class AbstractTitle extends Object implements Cloneable, Serializable {

    /** Useful constant for the title position (also used for vertical alignment). */
    public static final int TOP = 0;

    /** Useful constant for the title position (also used for vertical alignment). */
    public static final int BOTTOM = 1;

    /** Useful constant for the title position (also used for horizontal alignment). */
    public static final int RIGHT = 2;

    /** Useful constant for the title position (also used for horizontal alignment). */
    public static final int LEFT = 3;

    /** Useful constant for the title position. */
    public static final int NORTH = 0;

    /** Useful constant for the title position. */
    public static final int SOUTH = 1;

    /** Useful constant for the title position. */
    public static final int EAST = 2;

    /** Useful constant for the title position. */
    public static final int WEST = 3;

    /** Useful constant for the title alignment (horizontal or vertical). */
    public static final int CENTER = 4;

    /** Useful constant for the title alignment (horizontal or vertical). */
    public static final int MIDDLE = 4;

    /** The default title position. */
    public static final int DEFAULT_POSITION = AbstractTitle.TOP;

    /** The default horizontal alignment. */
    public static final int DEFAULT_HORIZONTAL_ALIGNMENT = AbstractTitle.CENTER;

    /** The default vertical alignment. */
    public static final int DEFAULT_VERTICAL_ALIGNMENT = AbstractTitle.MIDDLE;

    /** Default title spacer. */
    public static final Spacer DEFAULT_SPACER = new Spacer(Spacer.RELATIVE, 0.01, 0.30, 0.01, 0.15);

    /**
     * The position of the title (use the constants NORTH, SOUTH, EAST and
     * WEST, or if you prefer you can also use TOP, BOTTOM, LEFT and RIGHT).
     */
    private int position;

    /** The horizontal alignment of the title. */
    private int horizontalAlignment;

    /** The vertical alignment of the title. */
    private int verticalAlignment;

    /** The amount of blank space to leave around the title. */
    private Spacer spacer;

    /** Storage for registered change listeners. */
    private transient EventListenerList listenerList;

    /** A flag that can be used to temporarily disable the listener mechanism. */
    private boolean notify;

    /**
     * Creates a new title, using default attributes where necessary.
     */
    protected AbstractTitle() {

        this(AbstractTitle.DEFAULT_POSITION,
             AbstractTitle.DEFAULT_HORIZONTAL_ALIGNMENT,
             AbstractTitle.DEFAULT_VERTICAL_ALIGNMENT,
             AbstractTitle.DEFAULT_SPACER);

    }

    /**
     * Creates a new title, using default attributes where necessary.
     *
     * @param position  the relative position of the title (TOP, BOTTOM, RIGHT and LEFT).
     * @param horizontalAlignment  the horizontal alignment of the title (LEFT, CENTER or RIGHT).
     * @param verticalAlignment  the vertical alignment of the title (TOP, MIDDLE or BOTTOM).
     */
    protected AbstractTitle(int position, int horizontalAlignment, int verticalAlignment) {

        this(position,
             horizontalAlignment, verticalAlignment,
             AbstractTitle.DEFAULT_SPACER);

    }

    /**
     * Constructs a new AbstractTitle.
     * <P>
     * This class defines constants for the valid position and alignment values
     * --- an IllegalArgumentException will be thrown if invalid values are
     * passed to this constructor.
     *
     * @param position  the relative position of the title (TOP, BOTTOM, RIGHT and LEFT).
     * @param horizontalAlignment  the horizontal alignment of the title (LEFT, CENTER or RIGHT).
     * @param verticalAlignment  the vertical alignment of the title (TOP, MIDDLE or BOTTOM).
     * @param spacer  the amount of space to leave around the outside of the title.
     */
    protected AbstractTitle(int position,
                            int horizontalAlignment, int verticalAlignment,
                            Spacer spacer) {

        // check arguments...
        if (!isValidPosition(position)) {
            throw new IllegalArgumentException("AbstractTitle(): invalid position.");
        }

        if (!AbstractTitle.isValidHorizontalAlignment(horizontalAlignment)) {
            throw new IllegalArgumentException("AbstractTitle(): invalid horizontal alignment.");
        }

        if (!AbstractTitle.isValidVerticalAlignment(verticalAlignment)) {
            throw new IllegalArgumentException("AbstractTitle(): invalid vertical alignment.");
        }

        // initialise...
        this.position = position;
        this.horizontalAlignment = horizontalAlignment;
        this.verticalAlignment = verticalAlignment;
        this.spacer = spacer;
        this.listenerList = new EventListenerList();
        this.notify = true;

    }

    /**
     * Returns the relative position of the title---represented by one of four
     * integer constants defined in this class: TOP, BOTTOM, RIGHT or LEFT (or
     * the equivalent NORTH, SOUTH, EAST and WEST).
     *
     * @return The title position.
     */
    public int getPosition() {
        return this.position;
    }

    /**
     * Sets the position for the title.
     *
     * @param position  the relative position of the title (use one of the constants TOP, BOTTOM,
     *                  RIGHT and LEFT, or the equivalent NORTH, SOUTH, EAST and WEST).
     */
    public void setPosition(int position) {

        if (this.position != position) {
            // check that the position is valid
            this.position = position;
            notifyListeners(new TitleChangeEvent(this));
        }
    }

    /**
     * Returns the horizontal alignment of the title.  The constants LEFT,
     * CENTER and RIGHT (defined in this class) are used.
     *
     * @return the horizontal alignment of the title (LEFT, CENTER or RIGHT).
     */
    public int getHorizontalAlignment() {
        return this.horizontalAlignment;
    }

    /**
     * Sets the horizontal alignment for the title, and notifies any registered
     * listeners of the change.  The constants LEFT, CENTER and RIGHT (defined
     * in this class) can be used to specify the alignment.
     *
     * @param alignment  the new horizontal alignment (LEFT, CENTER or RIGHT).
     */
    public void setHorizontalAlignment(int alignment) {
        if (this.horizontalAlignment != alignment) {
            this.horizontalAlignment = alignment;
            notifyListeners(new TitleChangeEvent(this));
        }
    }

    /**
     * Returns the vertical alignment of the title.  The constants TOP, MIDDLE
     * and BOTTOM (defined in this class) are used.
     *
     * @return the vertical alignment of the title (TOP, MIDDLE or BOTTOM).
     */
    public int getVerticalAlignment() {
        return this.verticalAlignment;

?? 快捷鍵說(shuō)明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲成人一区二区| 91国偷自产一区二区开放时间| 日韩成人午夜电影| 手机精品视频在线观看| 亚洲一区在线观看视频| 亚洲午夜激情网页| 亚洲一区视频在线| 亚洲午夜私人影院| 日韩国产欧美在线观看| 久久国产精品99久久人人澡| 蜜乳av一区二区| 国产一区二区视频在线| 国产麻豆精品95视频| 国产成人午夜精品5599| 成人精品免费看| 91色九色蝌蚪| 欧美日韩一区视频| 日韩精品专区在线影院重磅| 精品久久久久久久久久久久包黑料| 日韩一区二区免费在线电影| 精品国产亚洲一区二区三区在线观看 | 亚洲成a人片在线不卡一二三区| 亚洲国产美国国产综合一区二区| 日韩不卡一二三区| 韩国视频一区二区| av高清不卡在线| 欧美亚州韩日在线看免费版国语版| 欧美喷潮久久久xxxxx| 日韩一区二区高清| 国产欧美一区二区在线观看| 中文字幕一区二区三区四区不卡| 一区二区三区电影在线播| 亚洲mv在线观看| 国产精品一色哟哟哟| 99九九99九九九视频精品| 欧美色图在线观看| 精品国产欧美一区二区| 亚洲图片另类小说| 奇米色一区二区三区四区| 国产麻豆一精品一av一免费 | 欧美一二三四区在线| 国产色91在线| 亚洲地区一二三色| 国产一区二区看久久| 91久久精品网| 久久综合一区二区| 亚洲一区中文日韩| 国产超碰在线一区| 欧美高清性hdvideosex| 国产精品美女久久久久aⅴ国产馆| 一区二区三区成人| 国产一区二区三区不卡在线观看| 色诱亚洲精品久久久久久| 精品国产髙清在线看国产毛片| 亚洲男人都懂的| 久久99国产精品久久99果冻传媒| 97久久精品人人做人人爽| 日韩欧美一区二区在线视频| 国产欧美中文在线| 久久国产福利国产秒拍| 色美美综合视频| 久久青草欧美一区二区三区| 亚洲午夜av在线| 成人综合婷婷国产精品久久蜜臀 | 国产免费成人在线视频| 亚洲成人福利片| 波多野结衣中文字幕一区| 精品国产乱码久久久久久牛牛| 亚洲在线免费播放| av在线一区二区三区| 2019国产精品| 美女免费视频一区二区| 在线精品视频小说1| 中文在线资源观看网站视频免费不卡 | 国产精品嫩草影院com| 人人爽香蕉精品| 欧美三级欧美一级| 亚洲欧美日韩国产中文在线| 粉嫩久久99精品久久久久久夜| 日韩欧美一二三| 日韩av中文在线观看| 欧美午夜精品理论片a级按摩| 日本一区二区免费在线| 狠狠色狠狠色合久久伊人| 日韩欧美123| 日日夜夜精品免费视频| 欧美中文字幕一二三区视频| 国产精品久久久久久久久果冻传媒 | 视频一区国产视频| 欧洲激情一区二区| 亚洲卡通欧美制服中文| 99久久婷婷国产综合精品电影 | 午夜精品福利一区二区三区蜜桃| 一本久道中文字幕精品亚洲嫩| 国产精品电影院| 高清免费成人av| 日本一区二区高清| 成人av在线看| 国产精品久久久久久福利一牛影视 | 一区二区在线观看av| 99久久国产综合色|国产精品| 国产人久久人人人人爽| 国产高清成人在线| 久久九九久久九九| 成人黄页在线观看| 中文字幕高清不卡| av欧美精品.com| 亚洲欧美日韩一区二区 | 日韩欧美一二三| 九九视频精品免费| 国产亚洲精品久| 国产盗摄女厕一区二区三区| 国产精品三级av| 91啪九色porn原创视频在线观看| 亚洲欧美另类综合偷拍| 欧美日韩在线直播| 久久精品国产99国产| 久久久久久久久久久99999| 风流少妇一区二区| 亚洲私人影院在线观看| 欧美日韩国产高清一区| 美女脱光内衣内裤视频久久网站| 精品久久久久一区| www.亚洲色图.com| 夜夜夜精品看看| 日韩视频一区二区| 成人免费黄色大片| 一区二区在线看| 欧美军同video69gay| 久久99国产精品久久99果冻传媒| 中文字幕精品—区二区四季| 91黄视频在线| 激情久久五月天| 中文字幕一区日韩精品欧美| 欧美伊人久久久久久午夜久久久久| 日韩福利电影在线观看| 久久精品亚洲麻豆av一区二区| 91亚洲国产成人精品一区二区三| 亚洲一区二区av电影| 欧美大肚乱孕交hd孕妇| av在线这里只有精品| 日精品一区二区| 国产欧美一区二区三区鸳鸯浴| 日本高清不卡一区| 经典三级在线一区| 玉米视频成人免费看| 欧美成人午夜电影| 99在线视频精品| 日本不卡1234视频| 自拍av一区二区三区| 日韩精品在线一区| 色婷婷av一区二区三区大白胸| 美国毛片一区二区三区| 综合激情成人伊人| 日韩欧美国产不卡| 欧美综合一区二区| 国产精品一区二区你懂的| 亚洲一区二区精品视频| 中文字幕精品综合| 日韩一区二区免费在线观看| 色又黄又爽网站www久久| 国产一区二区三区香蕉| 亚洲成av人片在线观看无码| 欧美国产综合色视频| 日韩精品一区二区三区四区| 91毛片在线观看| 国产一区二区女| 日韩av在线播放中文字幕| 一级女性全黄久久生活片免费| 国产女人18毛片水真多成人如厕 | 成人开心网精品视频| 男人的j进女人的j一区| 亚洲视频网在线直播| 久久久久久久综合狠狠综合| 69p69国产精品| 一本色道**综合亚洲精品蜜桃冫| 国内不卡的二区三区中文字幕| 婷婷六月综合网| 亚洲自拍偷拍麻豆| 日韩伦理电影网| 国产精品人成在线观看免费| 欧美第一区第二区| 欧美一区二区三区视频免费播放| 91丨porny丨中文| 成人av集中营| 国产精品99久久不卡二区| 理论电影国产精品| 天天影视涩香欲综合网| 亚洲一区二区三区四区五区黄 | 2021久久国产精品不只是精品| 538prom精品视频线放| 欧美午夜精品久久久| 91日韩精品一区| 99国产欧美另类久久久精品 | 国产女同性恋一区二区| www成人在线观看| 精品sm捆绑视频| 2020国产精品自拍| 久久伊人中文字幕| 亚洲精品在线三区|