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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? defaultploteditor.java

?? 制作圖表的好工具
?? JAVA
?? 第 1 頁 / 共 2 頁
字號:
        }
        else if (plot instanceof XYPlot) {
            rangeAxis = ((XYPlot) plot).getRangeAxis();
        }

        this.rangeAxisPropertyPanel 
            = DefaultAxisEditor.getInstance(rangeAxis);
        if (this.rangeAxisPropertyPanel != null) {
            this.rangeAxisPropertyPanel.setBorder(
                BorderFactory.createEmptyBorder(2, 2, 2, 2)
            );
            tabs.add(
                localizationResources.getString("Range_Axis"), 
                this.rangeAxisPropertyPanel
            );
        }

//dmo: added this panel for colorbar control. (start dmo additions)
        ColorBar colorBar = null;
        if (plot instanceof ContourPlot) {
            colorBar = ((ContourPlot) plot).getColorBar();
        }

        this.colorBarAxisPropertyPanel 
            = DefaultColorBarEditor.getInstance(colorBar);
        if (this.colorBarAxisPropertyPanel != null) {
            this.colorBarAxisPropertyPanel.setBorder(
                BorderFactory.createEmptyBorder(2, 2, 2, 2)
            );
            tabs.add(
                localizationResources.getString("Color_Bar"), 
                this.colorBarAxisPropertyPanel
            );
        }
//dmo: (end dmo additions)

        tabs.add(localizationResources.getString("Appearance"), appearance);
        panel.add(tabs);

        add(panel);
    }

    /**
     * Returns the current plot insets.
     * 
     * @return The current plot insets.
     */
    public RectangleInsets getPlotInsets() {
        if (this.plotInsets == null) {
            this.plotInsets = new RectangleInsets(0.0, 0.0, 0.0, 0.0);
        }
        return this.plotInsets;
    }

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

    /**
     * Returns the current outline stroke.
     * 
     * @return The current outline stroke.
     */
    public Stroke getOutlineStroke() {
        return this.outlineStrokeSample.getStroke();
    }

    /**
     * Returns the current outline paint.
     * 
     * @return The current outline paint.
     */
    public Paint getOutlinePaint() {
        return this.outlinePaintSample.getPaint();
    }

    /**
     * Returns a reference to the panel for editing the properties of the
     * domain axis.
     *
     * @return A reference to a panel.
     */
    public DefaultAxisEditor getDomainAxisPropertyEditPanel() {
        return this.domainAxisPropertyPanel;
    }

    /**
     * Returns a reference to the panel for editing the properties of the
     * range axis.
     *
     * @return A reference to a panel.
     */
    public DefaultAxisEditor getRangeAxisPropertyEditPanel() {
        return this.rangeAxisPropertyPanel;
    }

    /**
     * Handles user actions generated within the panel.
     * @param event     the event
     */
    public void actionPerformed(ActionEvent event) {
        String command = event.getActionCommand();
        if (command.equals("BackgroundPaint")) {
            attemptBackgroundPaintSelection();
        }
        else if (command.equals("OutlineStroke")) {
            attemptOutlineStrokeSelection();
        }
        else if (command.equals("OutlinePaint")) {
            attemptOutlinePaintSelection();
        }
//        else if (command.equals("Insets")) {
//            editInsets();
//        }
        else if (command.equals("Orientation")) {
            attemptOrientationSelection();
        }
        else if (command.equals("DrawLines")) {
            attemptDrawLinesSelection();
        }
        else if (command.equals("DrawShapes")) {
            attemptDrawShapesSelection();
        }
    }

    /**
     * Allow the user to change the background paint.
     */
    private void attemptBackgroundPaintSelection() {
        Color c;
        c = JColorChooser.showDialog(
            this, localizationResources.getString("Background_Color"),
            Color.blue
        );
        if (c != null) {
            this.backgroundPaintSample.setPaint(c);
        }
    }

    /**
     * Allow the user to change the outline stroke.
     */
    private void attemptOutlineStrokeSelection() {
        StrokeChooserPanel panel 
            = new StrokeChooserPanel(null, this.availableStrokeSamples);
        int result = JOptionPane.showConfirmDialog(this, panel,
            localizationResources.getString("Stroke_Selection"),
            JOptionPane.OK_CANCEL_OPTION, JOptionPane.PLAIN_MESSAGE);

        if (result == JOptionPane.OK_OPTION) {
            this.outlineStrokeSample.setStroke(panel.getSelectedStroke());
        }
    }

    /**
     * Allow the user to change the outline paint.  We use JColorChooser, so
     * the user can only choose colors (a subset of all possible paints).
     */
    private void attemptOutlinePaintSelection() {
        Color c;
        c = JColorChooser.showDialog(
            this, localizationResources.getString("Outline_Color"), Color.blue
        );
        if (c != null) {
            this.outlinePaintSample.setPaint(c);
        }
    }

//    /**
//     * Allow the user to edit the individual insets' values.
//     */
//    private void editInsets() {
//        InsetsChooserPanel panel = new InsetsChooserPanel(this.plotInsets);
//        int result = JOptionPane.showConfirmDialog(
//            this, panel, localizationResources.getString("Edit_Insets"),
//            JOptionPane.OK_CANCEL_OPTION, JOptionPane.PLAIN_MESSAGE
//        );
//
//        if (result == JOptionPane.OK_OPTION) {
//            this.plotInsets = panel.getInsets();
//            this.insetsTextField.setInsets(this.plotInsets);
//        }
//
//    }
//
    /**
     * Allow the user to modify the plot orientation if this is an editor for a
     * <tt>CategoryPlot</tt> or a <tt>XYPlot</tt>.
     */
    private void attemptOrientationSelection() {

        int index = this.orientationCombo.getSelectedIndex();

        if (index == ORIENTATION_VERTICAL) {
            this.plotOrientation = PlotOrientation.VERTICAL;
        }
        else {
            this.plotOrientation = PlotOrientation.HORIZONTAL;
        }
    }

    /**
     * Allow the user to modify whether or not lines are drawn between data 
     * points by <tt>LineAndShapeRenderer</tt>s and 
     * <tt>StandardXYItemRenderer</tt>s.
     */
    private void attemptDrawLinesSelection() {
        this.drawLines = BooleanUtilities.valueOf(
            this.drawLinesCheckBox.isSelected()
        );
    }

    /**
     * Allow the user to modify whether or not shapes are drawn at data points
     * by <tt>LineAndShapeRenderer</tt>s and <tt>StandardXYItemRenderer</tt>s.
     */
    private void attemptDrawShapesSelection() {
        this.drawShapes = BooleanUtilities.valueOf(
            this.drawShapesCheckBox.isSelected()
        );
    }

    /**
     * Updates the plot properties to match the properties defined on the panel.
     *
     * @param plot  The plot.
     */
    public void updatePlotProperties(Plot plot) {

        // set the plot properties...
        plot.setOutlinePaint(getOutlinePaint());
        plot.setOutlineStroke(getOutlineStroke());
        plot.setBackgroundPaint(getBackgroundPaint());
        plot.setInsets(getPlotInsets());

        // then the axis properties...
        if (this.domainAxisPropertyPanel != null) {
            Axis domainAxis = null;
            if (plot instanceof CategoryPlot) {
                CategoryPlot p = (CategoryPlot) plot;
                domainAxis = p.getDomainAxis();
            }
            else if (plot instanceof XYPlot) {
                XYPlot p = (XYPlot) plot;
                domainAxis = p.getDomainAxis();
            }
            if (domainAxis != null) {
                this.domainAxisPropertyPanel.setAxisProperties(domainAxis);
            }
        }

        if (this.rangeAxisPropertyPanel != null) {
            Axis rangeAxis = null;
            if (plot instanceof CategoryPlot) {
                CategoryPlot p = (CategoryPlot) plot;
                rangeAxis = p.getRangeAxis();
            }
            else if (plot instanceof XYPlot) {
                XYPlot p = (XYPlot) plot;
                rangeAxis = p.getRangeAxis();
            }
            if (rangeAxis != null) {
                this.rangeAxisPropertyPanel.setAxisProperties(rangeAxis);
            }
        }

        if (this.plotOrientation != null) {
            if (plot instanceof CategoryPlot) {
                CategoryPlot p = (CategoryPlot) plot;
                p.setOrientation(this.plotOrientation);
            }
            else if (plot instanceof XYPlot) {
                XYPlot p = (XYPlot) plot;
                p.setOrientation(this.plotOrientation);
            }
        }

        if (this.drawLines != null) {
            if (plot instanceof CategoryPlot) {
                CategoryPlot p = (CategoryPlot) plot;
                CategoryItemRenderer r = p.getRenderer();
                if (r instanceof LineAndShapeRenderer) {
                    ((LineAndShapeRenderer) r).setLinesVisible(
                        this.drawLines.booleanValue()
                    );
                }
            }
            else if (plot instanceof XYPlot) {
                XYPlot p = (XYPlot) plot;
                XYItemRenderer r = p.getRenderer();
                if (r instanceof StandardXYItemRenderer) {
                    ((StandardXYItemRenderer) r).setPlotLines(
                        this.drawLines.booleanValue()
                    );
                }
            }
        }

        if (this.drawShapes != null) {
            if (plot instanceof CategoryPlot) {
                CategoryPlot p = (CategoryPlot) plot;
                CategoryItemRenderer r = p.getRenderer();
                if (r instanceof LineAndShapeRenderer) {
                    ((LineAndShapeRenderer) r).setShapesVisible(
                        this.drawShapes.booleanValue()
                    );
                }
            }
            else if (plot instanceof XYPlot) {
                XYPlot p = (XYPlot) plot;
                XYItemRenderer r = p.getRenderer();
                if (r instanceof StandardXYItemRenderer) {
                    ((StandardXYItemRenderer) r).setBaseShapesVisible(
                        this.drawShapes.booleanValue());
                }
            }
        }

//dmo: added this panel for colorbar control. (start dmo additions)
        if (this.colorBarAxisPropertyPanel != null) {
            ColorBar colorBar = null;
            if (plot instanceof  ContourPlot) {
                ContourPlot p = (ContourPlot) plot;
                colorBar = p.getColorBar();
            }
            if (colorBar != null) {
                this.colorBarAxisPropertyPanel.setAxisProperties(colorBar);
            }
        }
//dmo: (end dmo additions)

    }

}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
天堂av在线一区| 欧美日韩一级黄| www亚洲一区| 日韩av电影天堂| 欧美一二三四区在线| 精品一区精品二区高清| 精品成人佐山爱一区二区| 国产精品中文字幕欧美| 日韩欧美一卡二卡| 日本最新不卡在线| 2021中文字幕一区亚洲| 国产高清久久久久| 国产精品家庭影院| 日本韩国欧美一区二区三区| 亚洲一区二区在线免费看| 欧美午夜影院一区| 美女网站一区二区| 久久人人爽人人爽| 91亚洲大成网污www| 亚洲一区在线电影| 精品国产91久久久久久久妲己| 国产精品中文字幕欧美| 一区二区三区四区在线| 91精品在线一区二区| 日韩一区二区在线看片| 国产精品99久| 另类欧美日韩国产在线| 精品欧美一区二区三区精品久久 | 一区二区三区丝袜| 亚洲va天堂va国产va久| 精品国产电影一区二区| 免费看欧美女人艹b| 国产精品久久影院| 欧美色视频一区| 国内精品写真在线观看| 精品国产乱码久久久久久老虎| 国产91精品在线观看| 日韩中文字幕区一区有砖一区 | 亚洲va天堂va国产va久| 国产三级精品视频| 精品久久久久久久久久久院品网| 狠狠色丁香久久婷婷综合_中| 亚洲精品午夜久久久| 久久伊人中文字幕| 欧美日韩一区二区三区在线看 | 欧美老人xxxx18| 成人中文字幕合集| 亚洲三级免费电影| 精品美女一区二区| 国产成人h网站| 日韩av中文字幕一区二区| 国产精品久久久久影院老司| 日韩亚洲欧美高清| 欧美精品一级二级| 色婷婷精品大视频在线蜜桃视频| 美国欧美日韩国产在线播放| 亚洲黄色av一区| 国产精品天干天干在线综合| 欧美日韩情趣电影| 国产精品18久久久久久久久| 蜜臂av日日欢夜夜爽一区| 一级日本不卡的影视| 国产亚洲精品资源在线26u| 91在线视频免费观看| 免费亚洲电影在线| 国产精品福利av| 成人看片黄a免费看在线| 香蕉加勒比综合久久| 亚洲视频你懂的| 国产精品美日韩| 337p日本欧洲亚洲大胆色噜噜| 欧美高清精品3d| 欧美精品一二三| 欧美一区二区三区在线| 欧美日韩一卡二卡三卡| 成人国产精品免费观看视频| 亚洲成在人线免费| 亚洲国产一区二区在线播放| 久久老女人爱爱| 欧美日韩色综合| 69久久99精品久久久久婷婷| 欧美一区永久视频免费观看| 99re成人精品视频| 色婷婷久久99综合精品jk白丝| 亚洲国产精品久久久久婷婷884| 久久噜噜亚洲综合| 色天天综合色天天久久| 91论坛在线播放| 色视频成人在线观看免| 日本乱人伦一区| 高清视频一区二区| 久久99精品久久久久| 中文字幕av免费专区久久| 日本一区二区视频在线观看| 欧美午夜寂寞影院| 欧美高清视频一二三区| 日韩影院在线观看| 蜜臀国产一区二区三区在线播放| 久久草av在线| 99久久er热在这里只有精品66| 久久影院午夜论| 欧美精品一卡二卡| 国产亚洲综合av| 成人欧美一区二区三区在线播放| 久久丝袜美腿综合| 久久久亚洲精品一区二区三区| 欧美在线观看视频在线| 99re成人在线| 亚洲第一精品在线| 亚洲欧美一区二区久久| 亚洲午夜av在线| 奇米四色…亚洲| 国产一区在线看| 99国内精品久久| 3atv在线一区二区三区| eeuss鲁一区二区三区| 精品sm捆绑视频| 久久久不卡影院| 蜜臀av性久久久久蜜臀aⅴ流畅 | 国产精品乱码一区二区三区软件| 五月天丁香久久| 美腿丝袜亚洲一区| 久久久蜜桃精品| 亚洲精品一区二区在线观看| 亚洲视频一区二区免费在线观看| 激情伊人五月天久久综合| 色婷婷久久99综合精品jk白丝| 亚洲精品视频在线看| 亚洲v中文字幕| 日韩精品自拍偷拍| 日本一区二区视频在线| 精品一区二区免费| 综合久久综合久久| 欧美综合欧美视频| 日韩欧美国产午夜精品| 视频在线观看国产精品| 久久99久久精品| 欧美三级电影一区| 中文字幕在线观看一区二区| 激情伊人五月天久久综合| 欧美日韩三级视频| 伊人夜夜躁av伊人久久| 国产成人精品免费| 精品对白一区国产伦| 日日夜夜精品视频免费| 欧美伊人久久久久久久久影院| 国产日韩精品视频一区| 亚洲激情自拍偷拍| 亚洲欧美偷拍卡通变态| 亚洲国产成人私人影院tom| 美女国产一区二区| 欧洲生活片亚洲生活在线观看| 67194成人在线观看| 欧美日韩精品久久久| 波多野结衣中文字幕一区| 久久精品亚洲麻豆av一区二区 | 在线免费观看日本一区| 欧美亚洲综合久久| 宅男噜噜噜66一区二区66| 一区二区三区四区亚洲| 色噜噜狠狠色综合中国| 国产精品短视频| aa级大片欧美| 国产精品嫩草影院com| 国产精品中文字幕一区二区三区| 精品三级在线观看| 久久99精品国产麻豆不卡| 91精品黄色片免费大全| 日日摸夜夜添夜夜添精品视频 | 99在线精品免费| 中文一区二区在线观看| 成人午夜电影小说| 国产精品久久久久久久久晋中| 成人激情免费网站| 一色桃子久久精品亚洲| av色综合久久天堂av综合| 亚洲激情图片一区| 欧美日韩国产天堂| 免费人成黄页网站在线一区二区 | 日韩你懂的电影在线观看| 国产精品国产三级国产aⅴ入口| 午夜视频在线观看一区| 一区二区三区中文字幕在线观看| 免费成人小视频| 亚洲成人av福利| 日韩欧美在线观看一区二区三区| 欧美不卡一二三| 日韩精品一区二区三区四区| 国模娜娜一区二区三区| 香蕉久久一区二区不卡无毒影院| 国产精品免费看片| 蜜乳av一区二区三区| 国产亚洲综合av| 欧美午夜在线一二页| 午夜精品久久久久久久久久| 亚洲色大成网站www久久九九| 日韩精品一区二区三区蜜臀 | 欧美日韩久久久一区| 久久这里只有精品首页| 99久久精品免费观看|