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

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

?? abstracttitle.java

?? Web圖形化的Java庫(kù)
?? 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精品一区二区三区三区| 国产揄拍国内精品对白| 风间由美一区二区av101| eeuss鲁片一区二区三区在线看| av午夜一区麻豆| 欧美探花视频资源| 欧美成人精品3d动漫h| 国产婷婷一区二区| 亚洲色图欧美偷拍| 日韩精品电影一区亚洲| 久久99这里只有精品| 成人免费黄色在线| 色呦呦国产精品| 91精品啪在线观看国产60岁| 久久影院电视剧免费观看| 中文一区在线播放| 天堂蜜桃一区二区三区| 国产在线精品一区二区三区不卡| 成人午夜私人影院| 在线不卡一区二区| 久久亚洲精品小早川怜子| 最近日韩中文字幕| 老司机精品视频线观看86| 国产精品一色哟哟哟| 一本到一区二区三区| 欧美一区二区三区思思人 | 日韩高清在线不卡| 国产在线精品一区二区不卡了 | 国产精品久久久久精k8| 国产综合久久久久久久久久久久| 国产盗摄女厕一区二区三区| 91麻豆福利精品推荐| 欧美午夜一区二区三区免费大片| 日韩女优制服丝袜电影| 亚洲女同ⅹxx女同tv| 日韩国产精品大片| 91亚洲永久精品| 欧美成人三级在线| 亚洲自拍偷拍av| 韩国av一区二区| 欧美午夜片在线看| 久久久不卡网国产精品二区| 亚洲第一成人在线| 春色校园综合激情亚洲| 欧美一区二区三区免费在线看| 亚洲最快最全在线视频| 精品一区二区精品| 欧美综合色免费| 国产精品久久久久久久久动漫| 免费观看91视频大全| 色综合色综合色综合色综合色综合| 欧美成人一区二区三区| 亚洲午夜免费电影| www.欧美亚洲| 久久久久久久久久美女| 日韩精品电影一区亚洲| 欧洲色大大久久| 日本欧美肥老太交大片| 91精品在线观看入口| 日本成人中文字幕在线视频 | 日韩免费观看2025年上映的电影| 久久久国产精华| 日韩国产在线观看| 国产a精品视频| 在线观看日韩高清av| 日本一二三四高清不卡| 亚洲欧美一区二区在线观看| 狠狠色伊人亚洲综合成人| 欧美视频在线观看一区| 中文乱码免费一区二区| 国内成人精品2018免费看| 在线成人小视频| 亚洲国产欧美在线| 91年精品国产| 中文字幕一区二区三区四区不卡| 国产精品亚洲专一区二区三区| 欧美成人艳星乳罩| 日本在线不卡视频一二三区| 欧美群妇大交群的观看方式| 亚洲一区二区欧美激情| 91国在线观看| 一区二区三区国产精品| 色妞www精品视频| 亚洲欧洲韩国日本视频| 成人免费视频一区| 国产精品久久久久久久久果冻传媒 | 成人做爰69片免费看网站| 久久综合久色欧美综合狠狠| 久久国产精品免费| 欧美电视剧免费观看| 美女视频黄免费的久久 | 欧美日本国产视频| 天天综合天天做天天综合| 欧美日免费三级在线| 六月丁香婷婷久久| 日韩一级大片在线| 精品一区二区三区免费| 亚洲精品在线观看视频| 国产精华液一区二区三区| 欧美激情综合五月色丁香| 国产91高潮流白浆在线麻豆 | 国产视频一区二区在线观看| 狠狠色丁香九九婷婷综合五月 | 国产又粗又猛又爽又黄91精品| 久久久久久久久久久久久夜| 成人激情免费电影网址| 亚洲男人天堂一区| 在线观看欧美黄色| 欧美bbbbb| 久久精品亚洲麻豆av一区二区| 成人网在线播放| 一区二区三区中文字幕在线观看| 欧美性猛交xxxx黑人交 | 欧美一级片免费看| 国产乱国产乱300精品| 中文字幕亚洲精品在线观看| 在线亚洲免费视频| 蜜臀av性久久久久蜜臀aⅴ流畅 | 欧美成人猛片aaaaaaa| 国产精品一级片| 夜夜夜精品看看| 欧美第一区第二区| 91香蕉视频污| 日韩av一二三| 中文欧美字幕免费| 911精品国产一区二区在线| 国产精品一区在线观看乱码| 亚洲久草在线视频| 欧美一区二区大片| 99r国产精品| 美女一区二区三区| 一区在线观看视频| 欧美一区二区在线播放| 成人激情免费电影网址| 免费的成人av| 国产精品成人免费精品自在线观看| 欧美日韩国产综合视频在线观看| 国产精品一区二区x88av| 亚洲午夜国产一区99re久久| 久久久欧美精品sm网站| 欧美午夜精品一区二区蜜桃| 国内精品嫩模私拍在线| 亚洲综合精品自拍| 国产欧美视频一区二区| 欧美精品欧美精品系列| av中文一区二区三区| 久久精品国产**网站演员| 亚洲激情校园春色| 久久久久久久国产精品影院| 欧美日韩精品一区二区三区| 成人免费毛片片v| 老汉av免费一区二区三区| 亚洲制服丝袜av| 国产精品久久久久久久久免费丝袜| 日韩一区二区在线看| 在线精品视频一区二区三四| 国产毛片一区二区| 男女视频一区二区| 亚洲一区在线观看视频| 中文字幕中文字幕在线一区 | 亚洲视频 欧洲视频| 26uuu国产在线精品一区二区| 欧美三级电影一区| 成人午夜电影网站| 国产原创一区二区三区| 免费看日韩精品| 午夜精品久久久久久久99樱桃| 亚洲欧洲日韩综合一区二区| 久久免费电影网| 欧美电影免费观看高清完整版| 欧美日韩dvd在线观看| 色激情天天射综合网| 99久久免费精品高清特色大片| 国产乱妇无码大片在线观看| 激情综合色综合久久| 久久机这里只有精品| 免费成人av资源网| 日产精品久久久久久久性色| 亚洲不卡av一区二区三区| 亚洲综合色噜噜狠狠| 夜夜嗨av一区二区三区四季av|