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

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

?? abstractblock.java

?? jfreechart1.0.1 jsp繪制圖表的開(kāi)發(fā)包
?? JAVA
?? 第 1 頁(yè) / 共 2 頁(yè)
字號(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.]
 * 
 * ------------------
 * AbstractBlock.java
 * ------------------
 * (C) Copyright 2004, 2005, by Object Refinery Limited.
 *
 * Original Author:  David Gilbert (for Object Refinery Limited);
 * Contributor(s):   -;
 *
 * $Id: AbstractBlock.java,v 1.12.2.1 2005/10/25 20:39:38 mungady Exp $
 *
 * Changes:
 * --------
 * 22-Oct-2004 : Version 1 (DG);
 * 02-Feb-2005 : Added accessor methods for margin (DG);
 * 04-Feb-2005 : Added equals() method and implemented Serializable (DG);
 * 03-May-2005 : Added null argument checks (DG);
 * 06-May-2005 : Added convenience methods for setting margin, border and 
 *               padding (DG);
 * 
 */

package org.jfree.chart.block;

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 org.jfree.data.Range;
import org.jfree.io.SerialUtilities;
import org.jfree.ui.RectangleInsets;
import org.jfree.ui.Size2D;

/**
 * A convenience class for creating new classes that implement 
 * the {@link Block} interface.
 */
public class AbstractBlock implements Serializable {

    /** For serialization. */
    private static final long serialVersionUID = 7689852412141274563L;
    
    /** The id for the block. */
    private String id;
    
    /** The margin around the outside of the block. */
    private RectangleInsets margin;
    
    /** The border for the block. */
    private BlockBorder border;

    /** The padding between the block content and the border. */
    private RectangleInsets padding;
    
    /** 
     * The natural width of the block (may be overridden if there are 
     * constraints in sizing).
     */
    private double width;
    
    /** 
     * The natural height of the block (may be overridden if there are 
     * constraints in sizing).
     */
    private double height;
    
    /**
     * The current bounds for the block (position of the block in Java2D space).
     */
    private transient Rectangle2D bounds;
    
    /**
     * Creates a new block.
     */
    protected AbstractBlock() {
        this.id = null;
        this.width = 0.0;
        this.height = 0.0;
        this.bounds = new Rectangle2D.Float();
        this.margin = RectangleInsets.ZERO_INSETS;
        this.border = BlockBorder.NONE; 
        this.padding = RectangleInsets.ZERO_INSETS;
    }
    
    /**
     * Returns the id.
     * 
     * @return The id (possibly <code>null</code>).
     */
    public String getID() {
        return this.id;   
    }
    
    /**
     * Sets the id for the block.
     * 
     * @param id  the id (<code>null</code> permitted).
     */
    public void setID(String id) {
        this.id = id;   
    }
    
    /**
     * Returns the natural width of the block, if this is known in advance.
     * The actual width of the block may be overridden if layout constraints
     * make this necessary.  
     * 
     * @return The width.
     */
    public double getWidth() {
        return this.width;
    }
    
    /**
     * Sets the natural width of the block, if this is known in advance.
     * 
     * @param width  the width (in Java2D units)
     */
    public void setWidth(double width) {
        this.width = width;
    }
    
    /**
     * Returns the natural height of the block, if this is known in advance.
     * The actual height of the block may be overridden if layout constraints
     * make this necessary.  
     * 
     * @return The height.
     */
    public double getHeight() {
        return this.height;
    }
    
    /**
     * Sets the natural width of the block, if this is known in advance.
     * 
     * @param height  the width (in Java2D units)
     */
    public void setHeight(double height) {
        this.height = height;
    }
    
    /**
     * Returns the margin.
     * 
     * @return The margin (never <code>null</code>).
     */
    public RectangleInsets getMargin() {
        return this.margin;
    }
        
    /**
     * Sets the margin (use {@link RectangleInsets#ZERO_INSETS} for no 
     * padding).
     * 
     * @param margin  the margin (<code>null</code> not permitted).
     */
    public void setMargin(RectangleInsets margin) {
        if (margin == null) {
            throw new IllegalArgumentException("Null 'margin' argument.");   
        }
        this.margin = margin;
    }

    /**
     * Sets the margin.
     * 
     * @param top  the top margin.
     * @param left  the left margin.
     * @param bottom  the bottom margin.
     * @param right  the right margin.
     */
    public void setMargin(double top, double left, double bottom, 
                          double right) {
        setMargin(new RectangleInsets(top, left, bottom, right));
    }

    /**
     * Returns the border.
     * 
     * @return The border (never <code>null</code>).
     */
    public BlockBorder getBorder() {
        return this.border;
    }
    
    /**
     * Sets the border for the block (use {@link BlockBorder#NONE} for
     * no border).
     * 
     * @param border  the border (<code>null</code> not permitted).
     */
    public void setBorder(BlockBorder border) {
        if (border == null) {
            throw new IllegalArgumentException("Null 'border' argument.");   
        }
        this.border = border;
    }
    
    /**
     * Sets a black border with the specified line widths.
     * 
     * @param top  the top border line width.
     * @param left  the left border line width.
     * @param bottom  the bottom border line width.
     * @param right  the right border line width.
     */
    public void setBorder(double top, double left, double bottom, 
                          double right) {
        setBorder(new BlockBorder(top, left, bottom, right));
    }
    
    /**
     * Returns the padding.
     * 
     * @return The padding (never <code>null</code>).
     */
    public RectangleInsets getPadding() {
        return this.padding;
    }
    
    /**
     * Sets the padding (use {@link RectangleInsets#ZERO_INSETS} for no 
     * padding).
     * 
     * @param padding  the padding (<code>null</code> not permitted).
     */
    public void setPadding(RectangleInsets padding) {
        if (padding == null) {
            throw new IllegalArgumentException("Null 'padding' argument.");   
        }
        this.padding = padding;
    }

    public double getContentXOffset() {
        return this.margin.getLeft() + this.border.getInsets().getLeft() + this.padding.getLeft();    
    }
    
    public double getContentYOffset() {
        return this.margin.getTop() + this.border.getInsets().getTop() + this.padding.getTop();   
    }
    
    /**
     * Sets the padding.
     * 
     * @param top  the top padding.
     * @param left  the left padding.
     * @param bottom  the bottom padding.
     * @param right  the right padding.
     */
    public void setPadding(double top, double left, double bottom, 
                           double right) {
        setPadding(new RectangleInsets(top, left, bottom, right));
    }
    
    /**

?? 快捷鍵說(shuō)明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲韩国一区二区三区| 亚洲丰满少妇videoshd| 欧美三级三级三级爽爽爽| 美腿丝袜亚洲色图| 亚洲资源在线观看| 久久精品日产第一区二区三区高清版| 色狠狠一区二区三区香蕉| 国内精品免费在线观看| 午夜国产精品一区| 国产精品污污网站在线观看| 欧美精三区欧美精三区| av电影在线观看完整版一区二区 | 日韩欧美一级片| 欧美tickling网站挠脚心| 国产乱妇无码大片在线观看| 国产午夜精品一区二区 | 亚洲va欧美va人人爽| 欧美极品少妇xxxxⅹ高跟鞋| 欧美一级欧美三级| 欧美性猛交xxxxxx富婆| 91同城在线观看| 成人免费黄色在线| 韩国三级电影一区二区| 日本色综合中文字幕| 亚洲一级二级三级| 亚洲精品日日夜夜| 中文字幕一区二区三区蜜月| 亚洲国产精品黑人久久久| 精品少妇一区二区三区视频免付费| 欧美日韩国产高清一区二区三区| 欧美曰成人黄网| 欧美在线一区二区三区| 色综合久久久久久久久久久| 99精品国产视频| 99久久婷婷国产| www.日韩精品| 97精品久久久午夜一区二区三区 | 麻豆91在线观看| 美女一区二区在线观看| 日本欧美一区二区三区乱码 | 婷婷中文字幕综合| 亚洲成av人片在线观看无码| 一区二区高清在线| 一区二区三区在线观看国产| 一区二区免费视频| 丝瓜av网站精品一区二区| 日韩精品电影在线观看| 日产国产欧美视频一区精品| 人妖欧美一区二区| 久久99精品国产.久久久久| 黑人精品欧美一区二区蜜桃| 国内精品伊人久久久久av一坑 | 天堂va蜜桃一区二区三区| 视频一区二区不卡| 精品在线亚洲视频| 国产不卡视频一区| a4yy欧美一区二区三区| 欧美性猛交xxxx乱大交退制版 | 日本少妇一区二区| 久久99精品国产麻豆不卡| 国产成人自拍网| 91麻豆高清视频| 5566中文字幕一区二区电影 | 亚洲久草在线视频| 亚洲成人av一区| 日韩视频免费直播| 精品国产区一区| 国产精品乱码一区二区三区软件| 亚洲欧美日本韩国| 免费在线看成人av| 成人av电影在线播放| 欧美浪妇xxxx高跟鞋交| 精品国产免费视频| 亚洲免费大片在线观看| 日本成人超碰在线观看| 国产·精品毛片| 欧美网站一区二区| 久久久国产综合精品女国产盗摄| 亚洲三级视频在线观看| 日本中文一区二区三区| 国产成a人亚洲| 欧美日韩亚洲不卡| 国产欧美一区二区在线观看| 一区二区三区日韩在线观看| 看电视剧不卡顿的网站| 99视频一区二区| 日韩欧美精品三级| 亚洲欧美一区二区三区国产精品| 日韩综合小视频| 99久久99久久久精品齐齐| 日韩一区二区精品| 亚洲精品国产a久久久久久| 精东粉嫩av免费一区二区三区| 99久久综合国产精品| 欧美一区日本一区韩国一区| 成人免费在线视频观看| 狠狠色综合日日| 欧美日韩aaa| 亚洲欧美一区二区三区久本道91| 狠狠狠色丁香婷婷综合激情| 欧美美女直播网站| 亚洲品质自拍视频| 国产精品自在在线| 欧美一二三四区在线| 亚洲一区二区三区国产| 成人福利在线看| 日韩免费福利电影在线观看| 亚洲一区在线看| 9色porny自拍视频一区二区| 久久蜜桃av一区精品变态类天堂 | 国产欧美日韩综合| 蜜桃视频在线观看一区| 欧美亚洲图片小说| 亚洲日本在线看| 成人91在线观看| 国产亚洲一区二区三区在线观看 | 日韩欧美精品在线视频| 亚洲一区二区三区激情| 一本久久a久久精品亚洲| 亚洲国产精品成人综合| 国内精品久久久久影院色| 日韩一区二区中文字幕| 日韩精品电影一区亚洲| 欧美猛男超大videosgay| 一区二区三区在线观看动漫| 99久久国产综合精品色伊| 国产精品美女久久久久av爽李琼| 国产资源精品在线观看| 精品国产乱码久久久久久图片| 免费一级片91| 精品人伦一区二区色婷婷| 蜜桃视频免费观看一区| 91精品国产免费| 911精品国产一区二区在线| 亚洲成人动漫一区| 在线不卡中文字幕播放| 日韩国产欧美在线播放| 91精品国产综合久久精品| 日本午夜一区二区| 欧美xxxxxxxxx| 国产在线一区二区综合免费视频| 精品国精品自拍自在线| 国产精品自拍av| 国产精品入口麻豆九色| 99久久久无码国产精品| 亚洲免费观看视频| 欧美日韩夫妻久久| 麻豆国产精品一区二区三区| 精品国产a毛片| 国产精品亚洲一区二区三区在线 | 久久精品视频一区| 成人亚洲一区二区一| 亚洲日本va午夜在线影院| 欧美天堂一区二区三区| 免费人成精品欧美精品| 久久精品夜夜夜夜久久| 成人av在线网| 性做久久久久久久久| 精品少妇一区二区三区| 国产成人av一区二区三区在线观看| 国产欧美一区二区精品忘忧草| 99精品视频一区二区三区| 亚洲国产欧美另类丝袜| 日韩精品一区在线| 成人av在线一区二区三区| 午夜精品一区在线观看| 亚洲精品在线观看网站| 91热门视频在线观看| 蜜臀av亚洲一区中文字幕| 国产精品天干天干在观线| 欧美日韩国产一二三| 国产精品一区在线观看乱码| 亚洲老司机在线| 欧美精品一区二区在线播放| 菠萝蜜视频在线观看一区| 亚洲va欧美va天堂v国产综合| 精品久久久久久久人人人人传媒 | 亚洲一级不卡视频| 精品福利在线导航| 欧美在线播放高清精品| 国产精品影音先锋| 亚洲一区二区三区四区在线观看 | 蜜臀久久久久久久| 国产精品视频麻豆| 欧美福利一区二区| 成人一区在线观看| 日韩二区三区在线观看| 亚洲三级在线看| 久久精品欧美一区二区三区不卡| 日本道免费精品一区二区三区| 久久成人免费网| 亚洲国产日产av| 亚洲欧美在线观看| 精品av综合导航| 欧美日韩免费电影| 99久久国产综合色|国产精品| 激情久久久久久久久久久久久久久久| 亚洲综合999| 亚洲手机成人高清视频| 久久一夜天堂av一区二区三区|