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

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

?? chartpropertyeditpanel.java

?? Web圖形化的Java庫(kù)
?? JAVA
字號(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;
 *
 * 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.
 *
 * ---------------------------
 * ChartPropertyEditPanel.java
 * ---------------------------
 * (C) Copyright 2000-2003, by Object Refinery Limited.
 *
 * Original Author:  David Gilbert (for Object Refinery Limited);
 * Contributor(s):   Arnaud Lelievre;
 *
 * $Id: ChartPropertyEditPanel.java,v 1.5 2003/09/08 22:08:28 mungady Exp $
 *
 * Changes (from 22-Jun-2001)
 * --------------------------
 * 22-Jun-2001 : Disabled title panel, as it doesn't support the new title code (DG);
 * 24-Aug-2001 : Fixed DOS encoding problem (DG);
 * 07-Nov-2001 : Separated the JCommon Class Library classes, JFreeChart now requires
 *               jcommon.jar (DG);
 * 21-Nov-2001 : Allowed for null legend (DG);
 * 17-Jan-2003 : Moved plot classes into separate package (DG);
 * 20-May-2003 : Removed titlePanel until it is implemented. (TM);
 * 08-Sep-2003 : Added internationalization via use of properties resourceBundle (RFE 690236) (AL); 
 */

package org.jfree.chart.ui;

import java.awt.BorderLayout;
import java.awt.Color;
import java.awt.Paint;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.util.ResourceBundle;

import javax.swing.BorderFactory;
import javax.swing.JButton;
import javax.swing.JCheckBox;
import javax.swing.JColorChooser;
import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.JTabbedPane;
import javax.swing.JTextField;

import org.jfree.chart.JFreeChart;
import org.jfree.chart.Legend;
import org.jfree.chart.plot.Plot;
import org.jfree.layout.LCBLayout;
import org.jfree.ui.PaintSample;

/**
 * A panel for editing chart properties (includes subpanels for the title,
 * legend and plot).
 *
 * @author David Gilbert
 */
public class ChartPropertyEditPanel extends JPanel implements ActionListener {

    /** A panel for displaying/editing the properties of the title. */
    //private TitlePropertyEditPanel titlePropertiesPanel;

    /** A panel for displaying/editing the properties of the legend. */
    private LegendPropertyEditPanel legendPropertiesPanel;

    /** A panel for displaying/editing the properties of the plot. */
    private PlotPropertyEditPanel plotPropertiesPanel;

    /** A checkbox indicating whether or not the chart is drawn with
     *  anti-aliasing.
     */
    private JCheckBox antialias;

    /** The chart background color. */
    private PaintSample background;

    /** The resourceBundle for the localization. */
    static protected ResourceBundle localizationResources = 
                            ResourceBundle.getBundle("org.jfree.chart.ui.LocalizationBundle");

    /**
     * Standard constructor - the property panel is made up of a number of
     * sub-panels that are displayed in the tabbed pane.
     *
     * @param chart  the chart, whichs properties should be changed.
     */
    public ChartPropertyEditPanel(JFreeChart chart) {
        setLayout(new BorderLayout());

        JPanel other = new JPanel(new BorderLayout());
        other.setBorder(BorderFactory.createEmptyBorder(2, 2, 2, 2));

        JPanel general = new JPanel(new BorderLayout());
        general.setBorder(BorderFactory.createTitledBorder(
                              BorderFactory.createEtchedBorder(), 
                              localizationResources.getString("General")));

        JPanel interior = new JPanel(new LCBLayout(6));
        interior.setBorder(BorderFactory.createEmptyBorder(0, 5, 0, 5));

        antialias = new JCheckBox(localizationResources.getString("Draw_anti-aliased"));
        antialias.setSelected(chart.getAntiAlias());
        interior.add(antialias);
        interior.add(new JLabel(""));
        interior.add(new JLabel(""));
        interior.add(new JLabel(localizationResources.getString("Background_paint")));
        background = new PaintSample(chart.getBackgroundPaint());
        interior.add(background);
        JButton button = new JButton(localizationResources.getString("Select..."));
        button.setActionCommand("BackgroundPaint");
        button.addActionListener(this);
        interior.add(button);

        interior.add(new JLabel(localizationResources.getString("Series_Paint")));
        JTextField info = new JTextField(localizationResources.getString("No_editor_implemented"));
        info.setEnabled(false);
        interior.add(info);
        button = new JButton(localizationResources.getString("Edit..."));
        button.setEnabled(false);
        interior.add(button);

        interior.add(new JLabel(localizationResources.getString("Series_Stroke")));
        info = new JTextField(localizationResources.getString("No_editor_implemented"));
        info.setEnabled(false);
        interior.add(info);
        button = new JButton(localizationResources.getString("Edit..."));
        button.setEnabled(false);
        interior.add(button);

        interior.add(new JLabel(localizationResources.getString("Series_Outline_Paint")));
        info = new JTextField(localizationResources.getString("No_editor_implemented"));
        info.setEnabled(false);
        interior.add(info);
        button = new JButton(localizationResources.getString("Edit..."));
        button.setEnabled(false);
        interior.add(button);

        interior.add(new JLabel(localizationResources.getString("Series_Outline_Stroke")));
        info = new JTextField(localizationResources.getString("No_editor_implemented"));
        info.setEnabled(false);
        interior.add(info);
        button = new JButton(localizationResources.getString("Edit..."));
        button.setEnabled(false);
        interior.add(button);

        general.add(interior, BorderLayout.NORTH);
        other.add(general, BorderLayout.NORTH);

        JPanel parts = new JPanel(new BorderLayout());

        //Title title = chart.getTitle();
        Legend legend = chart.getLegend();
        Plot plot = chart.getPlot();

        JTabbedPane tabs = new JTabbedPane();

        //StandardTitle t = (StandardTitle)title;
        //titlePropertiesPanel = new TitlePropertyEditPanel(t);
        //titlePropertiesPanel.setBorder(BorderFactory.createEmptyBorder(2, 2, 2, 2));
        //tabs.addTab("Title", titlePropertiesPanel);

        if (legend != null) {
            legendPropertiesPanel = new LegendPropertyEditPanel(legend);
            legendPropertiesPanel.setBorder(BorderFactory.createEmptyBorder(2, 2, 2, 2));
            tabs.addTab(localizationResources.getString("Legend"), legendPropertiesPanel);
        }

        plotPropertiesPanel = new PlotPropertyEditPanel(plot);
        plotPropertiesPanel.setBorder(BorderFactory.createEmptyBorder(2, 2, 2, 2));
        tabs.addTab(localizationResources.getString("Plot"), plotPropertiesPanel);

        tabs.add(localizationResources.getString("Other"), other);
        parts.add(tabs, BorderLayout.NORTH);
        add(parts);
    }

    /**
     * Returns a reference to the title property sub-panel.
     *
     * @return a reference to the title property sub-panel.
     * @deprecated returns null, until the title panel is implemented properly.
     */
    public TitlePropertyEditPanel getTitlePropertyEditPanel() {
        //return titlePropertiesPanel;
      return null;
    }

    /**
     * Returns a reference to the legend property sub-panel.
     *
     * @return a reference to the legend property sub-panel.
     */
    public LegendPropertyEditPanel getLegendPropertyEditPanel() {
        return legendPropertiesPanel;
    }

    /**
     * Returns a reference to the plot property sub-panel.
     *
     * @return a reference to the plot property sub-panel.
     */
    public PlotPropertyEditPanel getPlotPropertyEditPanel() {
        return plotPropertiesPanel;
    }

    /**
     * Returns the current setting of the anti-alias flag.
     *
     * @return <code>true</code> if anti-aliasing is enabled.
     */
    public boolean getAntiAlias() {
        return antialias.isSelected();
    }

    /**
     * Returns the current background paint.
     *
     * @return the current background paint.
     */
    public Paint getBackgroundPaint() {
        return background.getPaint();
    }

    /**
     * Handles user interactions with the panel.
     *
     * @param event  a BackgroundPaint action.
     */
    public void actionPerformed(ActionEvent event) {
        String command = event.getActionCommand();
        if (command.equals("BackgroundPaint")) {
            attemptModifyBackgroundPaint();
        }
    }

    /**
     * Allows the user the opportunity to select a new background paint.  Uses
     * JColorChooser, so we are only allowing a subset of all Paint objects to
     * be selected (fix later).
     */
    private void attemptModifyBackgroundPaint() {
        Color c;
        c = JColorChooser.showDialog(this, localizationResources.getString("Background_Color"),
                                     Color.blue);
        if (c != null) {
            background.setPaint(c);
        }
    }

    /**
     * Updates the properties of a chart to match the properties defined on the
     * panel.
     *
     * @param chart  the chart.
     */
    public void updateChartProperties(JFreeChart chart) {

        if (legendPropertiesPanel != null) {
            legendPropertiesPanel.setLegendProperties(chart.getLegend());
        }

        plotPropertiesPanel.updatePlotProperties(chart.getPlot());

        chart.setAntiAlias(getAntiAlias());
        chart.setBackgroundPaint(getBackgroundPaint());
    }

}

?? 快捷鍵說(shuō)明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
av在线不卡电影| 欧美三级日韩三级国产三级| 亚洲男同1069视频| 日韩一区二区三| 一本大道综合伊人精品热热| 久久精品国产澳门| 亚洲成人一二三| 亚洲色图制服诱惑| 久久免费看少妇高潮| 欧美日韩国产美女| 色就色 综合激情| 成人动漫一区二区三区| 久久99日本精品| 偷拍与自拍一区| 亚洲色图欧美激情| 国产精品久久久久精k8| 久久亚洲私人国产精品va媚药| 欧美日韩亚洲综合在线| 色偷偷成人一区二区三区91| 成人黄色片在线观看| 国产精品一区二区三区乱码| 久久精品72免费观看| 日韩主播视频在线| 亚洲一区二区高清| 一区二区三区四区在线免费观看| 欧美激情艳妇裸体舞| 国产亚洲精品超碰| 欧美精品一区二区三区很污很色的| 5月丁香婷婷综合| 69堂国产成人免费视频| 欧美精品色综合| 8x福利精品第一导航| 8x8x8国产精品| 欧美一区二区日韩| 91精品国产欧美日韩| 91麻豆精品国产91久久久资源速度| 91国产免费看| 欧美色综合影院| 欧美日韩免费在线视频| 欧美日韩精品二区第二页| 欧美色偷偷大香| 91麻豆精品国产| 日韩欧美国产一区二区在线播放 | 国产精品久久久久久久久久免费看 | 国产精品88888| 国产精品一线二线三线精华| 国产毛片精品视频| 成人午夜av电影| 99re热视频这里只精品| 欧美在线免费观看亚洲| 欧美久久久久免费| 欧美一区二区三区免费视频| 欧美一区二区三区在线视频| 欧美成人高清电影在线| 久久久国产精品午夜一区ai换脸| 日本一区二区久久| 亚洲精选在线视频| 日韩福利视频网| 国产露脸91国语对白| 波多野结衣91| 欧美日韩精品专区| 精品国产青草久久久久福利| 中文字幕不卡在线| 亚洲一区国产视频| 精品一区精品二区高清| 成人18视频日本| 欧美日韩激情一区二区三区| 欧美大片国产精品| 国产精品国产三级国产普通话99 | 一区二区成人在线观看| 午夜激情一区二区| 国产乱码精品1区2区3区| 99riav久久精品riav| 制服.丝袜.亚洲.中文.综合| 精品毛片乱码1区2区3区| 最新国产成人在线观看| 天使萌一区二区三区免费观看| 激情小说亚洲一区| 日本乱码高清不卡字幕| 欧美va亚洲va在线观看蝴蝶网| 国产精品视频免费| 亚洲1区2区3区4区| 国产盗摄一区二区| 欧美唯美清纯偷拍| 国产午夜久久久久| 香蕉影视欧美成人| 成人永久aaa| 欧美一区二区三区免费大片 | 欧美日本精品一区二区三区| 久久久99精品免费观看| 亚洲国产成人av网| 丁香婷婷深情五月亚洲| 91精品国产免费| 亚洲一区影音先锋| caoporn国产精品| 精品国产免费人成电影在线观看四季 | 亚洲国产精品成人综合色在线婷婷 | 中文字幕在线播放不卡一区| 日韩电影一二三区| 91欧美激情一区二区三区成人| 久久综合九色综合97婷婷女人 | 欧美一区二区精美| 洋洋成人永久网站入口| 成人综合日日夜夜| 精品国产不卡一区二区三区| 亚洲成人7777| 91网站视频在线观看| 国产欧美视频一区二区三区| 日本在线不卡视频| 精品视频在线免费观看| 亚洲欧美日韩国产中文在线| 粉嫩高潮美女一区二区三区 | 97超碰欧美中文字幕| 2020国产精品| 久久国产精品色婷婷| 欧美日韩高清一区二区三区| 亚洲男女毛片无遮挡| 成人午夜伦理影院| 中文字幕精品一区| 国产精品2024| 精品国产乱码久久久久久免费| 午夜欧美在线一二页| 在线看日本不卡| 亚洲一区二区视频在线观看| 色综合久久88色综合天天6| 国产精品久久三| www.久久精品| 最新国产精品久久精品| eeuss鲁片一区二区三区在线观看| 中文一区二区在线观看| 国产精品一品二品| 国产欧美日韩另类一区| 国产黄色精品网站| 国产日韩av一区二区| 韩国av一区二区| 欧美韩日一区二区三区四区| 成人做爰69片免费看网站| 中文字幕中文在线不卡住| 色综合久久天天综合网| 亚洲综合免费观看高清在线观看| 91久久精品国产91性色tv| 亚洲综合一区二区三区| 欧美日韩精品免费| 日韩国产成人精品| 日韩欧美在线观看一区二区三区| 蜜臀av亚洲一区中文字幕| 日韩免费观看2025年上映的电影 | 椎名由奈av一区二区三区| 91一区二区三区在线播放| 亚洲免费成人av| 欧美久久久久久久久久 | 91国偷自产一区二区三区观看| 伊人色综合久久天天| 欧美亚洲一区二区三区四区| 日日摸夜夜添夜夜添亚洲女人| 欧美群妇大交群的观看方式| 麻豆成人免费电影| 国产日韩亚洲欧美综合| 91视频com| 偷拍日韩校园综合在线| 久久只精品国产| 97精品电影院| 奇米精品一区二区三区在线观看| 日韩视频123| 成人午夜电影久久影院| 亚洲午夜视频在线观看| 精品国产乱码久久久久久牛牛| 成人黄色网址在线观看| 香蕉乱码成人久久天堂爱免费| 欧美精品一区二区三| 91偷拍与自偷拍精品| 日韩电影免费在线| 国产免费久久精品| 欧美美女bb生活片| www激情久久| 日本高清免费不卡视频| 久久精品99国产精品日本| 亚洲欧洲精品一区二区三区不卡| 欧美剧在线免费观看网站 | 欧美日韩午夜在线视频| 国产在线乱码一区二区三区| 亚洲柠檬福利资源导航| 欧美成人一区二区三区| 色婷婷亚洲精品| 国产在线国偷精品免费看| 亚洲综合色自拍一区| 久久久99精品免费观看不卡| 欧美三级资源在线| 国产精品亚洲人在线观看| 三级不卡在线观看| 中文字幕视频一区| 久久久久久综合| 欧美高清视频不卡网| av一区二区三区四区| 极品美女销魂一区二区三区| 性欧美大战久久久久久久久| 国产精品无码永久免费888| 日韩免费看的电影| 欧美精品久久久久久久多人混战 | 91精品国产91热久久久做人人|