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

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

?? borderarrangement.java

?? jfreechart1.0.1 jsp繪制圖表的開發(fā)包
?? JAVA
?? 第 1 頁 / 共 2 頁
字號:
     * @return The container size after arranging the contents.
     */
    protected Size2D arrangeFN(BlockContainer container, Graphics2D g2,
                               double width) {
        double[] w = new double[5];
        double[] h = new double[5];
        RectangleConstraint c1 = new RectangleConstraint(
            width, null, LengthConstraintType.FIXED,
            0.0, null, LengthConstraintType.NONE
        );
        if (this.topBlock != null) {
            Size2D size = this.topBlock.arrange(g2, c1);
            w[0] = size.width;
            h[0] = size.height;
        }
        if (this.bottomBlock != null) {
            Size2D size = this.bottomBlock.arrange(g2, c1);
            w[1] = size.width;
            h[1] = size.height;
        }
        RectangleConstraint c2 = new RectangleConstraint(
            0.0, new Range(0.0, width), LengthConstraintType.RANGE,
            0.0, null, LengthConstraintType.NONE
        );
        if (this.leftBlock != null) {
            Size2D size = this.leftBlock.arrange(g2, c2);
            w[2] = size.width;
            h[2] = size.height;
        }
        if (this.rightBlock != null) {
            double maxW = Math.max(width - w[2], 0.0);
            RectangleConstraint c3 = new RectangleConstraint(
                0.0, new Range(Math.min(w[2], maxW), maxW), 
                LengthConstraintType.RANGE,
                0.0, null, LengthConstraintType.NONE
            );    
            Size2D size = this.rightBlock.arrange(g2, c3);
            w[3] = size.width;
            h[3] = size.height;
        }
        
        h[2] = Math.max(h[2], h[3]);
        h[3] = h[2];
        
        if (this.centerBlock != null) {
            RectangleConstraint c4 = new RectangleConstraint(
                width - w[2] - w[3], null, LengthConstraintType.FIXED,
                0.0, null, LengthConstraintType.NONE
            );    
            Size2D size = this.centerBlock.arrange(g2, c4);
            w[4] = size.width;
            h[4] = size.height;
        }
        double height = h[0] + h[1] + Math.max(h[2], Math.max(h[3], h[4]));
        return arrange(container, g2, new RectangleConstraint(width, height));
    }

    /**
     * Performs an arrangement with range constraints on both the vertical 
     * and horizontal sides.
     * 
     * @param container  the container.
     * @param widthRange  the allowable range for the container width.
     * @param heightRange  the allowable range for the container height.
     * @param g2  the graphics device.
     * 
     * @return The container size.
     */
    protected Size2D arrangeRR(BlockContainer container, 
                               Range widthRange, Range heightRange, 
                               Graphics2D g2) {
        double[] w = new double[5];
        double[] h = new double[5];
        if (this.topBlock != null) {
            RectangleConstraint c1 = new RectangleConstraint(
                widthRange, heightRange
            );
            Size2D size = this.topBlock.arrange(g2, c1);
            w[0] = size.width;
            h[0] = size.height;
        }
        if (this.bottomBlock != null) {
            Range heightRange2 = Range.shift(heightRange, -h[0], false);
            RectangleConstraint c2 = new RectangleConstraint(
                widthRange, heightRange2
            );  
            Size2D size = this.bottomBlock.arrange(g2, c2);
            w[1] = size.width;
            h[1] = size.height;
        }
        Range heightRange3 = Range.shift(heightRange, -(h[0] + h[1]));
        if (this.leftBlock != null) {
            RectangleConstraint c3 = new RectangleConstraint(
                widthRange, heightRange3
            );
            Size2D size = this.leftBlock.arrange(g2, c3);
            w[2] = size.width;
            h[2] = size.height;
        }
        Range widthRange2 = Range.shift(widthRange, -w[2], false);
        if (this.rightBlock != null) {
            RectangleConstraint c4 = new RectangleConstraint(
                widthRange2, heightRange3
            );
            Size2D size = this.rightBlock.arrange(g2, c4);
            w[3] = size.width;
            h[3] = size.height;
        }
        
        h[2] = Math.max(h[2], h[3]);
        h[3] = h[2];
        Range widthRange3 = Range.shift(widthRange, -(w[2] + w[3]), false);
        if (this.centerBlock != null) {
            RectangleConstraint c5 = new RectangleConstraint(
                widthRange3, heightRange3
            );
            // TODO:  the width and height ranges should be reduced by the 
            // height required for the top and bottom, and the width required
            // by the left and right 
            Size2D size = this.centerBlock.arrange(g2, c5);
            w[4] = size.width;
            h[4] = size.height;
        }
        double width = Math.max(w[0], Math.max(w[1], w[2] + w[4] + w[3]));
        double height = h[0] + h[1] + Math.max(h[2], Math.max(h[3], h[4]));
        if (this.topBlock != null) {
            this.topBlock.setBounds(
                new Rectangle2D.Double(0.0, 0.0, width, h[0])
            );
        }
        if (this.bottomBlock != null) {
            this.bottomBlock.setBounds(
                new Rectangle2D.Double(0.0, height - h[1], width, h[1])
            );
        }
        if (this.leftBlock != null) {
            this.leftBlock.setBounds(
                new Rectangle2D.Double(0.0, h[0], w[2], h[2])
            );
        }
        if (this.rightBlock != null) {
            this.rightBlock.setBounds(
                new Rectangle2D.Double(width - w[3], h[0], w[3], h[3])
            );
        }
        
        if (this.centerBlock != null) {
            this.centerBlock.setBounds(
                new Rectangle2D.Double(
                    w[2], h[0], width - w[2] - w[3], height - h[0] - h[1]
                )
            );
        }
        return new Size2D(width, height);
    }

    /**
     * Arranges the items within a container.
     * 
     * @param container  the container.
     * @param constraint  the constraint.
     * @param g2  the graphics device.
     * 
     * @return The container size after the arrangement.
     */
    protected Size2D arrangeFF(BlockContainer container, Graphics2D g2,
                               RectangleConstraint constraint) {
        double[] w = new double[5];
        double[] h = new double[5];
        w[0] = constraint.getWidth();
        if (this.topBlock != null) {
            RectangleConstraint c1 = new RectangleConstraint(
                w[0], null, LengthConstraintType.FIXED,
                0.0, new Range(0.0, constraint.getHeight()), 
                LengthConstraintType.RANGE
            );
            Size2D size = this.topBlock.arrange(g2, c1);
            h[0] = size.height;
        }
        w[1] = w[0];
        if (this.bottomBlock != null) {
            RectangleConstraint c2 = new RectangleConstraint(
                w[0], null, LengthConstraintType.FIXED,
                0.0, new Range(0.0, constraint.getHeight() - h[0]), 
                LengthConstraintType.RANGE
            );
            Size2D size = this.bottomBlock.arrange(g2, c2);
            h[1] = size.height;
        }
        h[2] = constraint.getHeight() - h[1] - h[0];
        if (this.leftBlock != null) {
            RectangleConstraint c3 = new RectangleConstraint(
                0.0, new Range(0.0, constraint.getWidth()), 
                LengthConstraintType.RANGE,
                h[2], null, LengthConstraintType.FIXED
            );
            Size2D size = this.leftBlock.arrange(g2, c3);
            w[2] = size.width;            
        }
        h[3] = h[2];
        if (this.rightBlock != null) {
            RectangleConstraint c4 = new RectangleConstraint(
                0.0, new Range(0.0, constraint.getWidth() - w[2]), 
                LengthConstraintType.RANGE,
                h[2], null, LengthConstraintType.FIXED
            );
            Size2D size = this.rightBlock.arrange(g2, c4);
            w[3] = size.width;            
        }
        h[4] = h[2];
        w[4] = constraint.getWidth() - w[3] - w[2];
        RectangleConstraint c5 = new RectangleConstraint(w[4], h[4]);
        if (this.centerBlock != null) {
            this.centerBlock.arrange(g2, c5);   
        }
       
        if (this.topBlock != null) {
            this.topBlock.setBounds(
                new Rectangle2D.Double(0.0, 0.0, w[0], h[0])
            );
        }
        if (this.bottomBlock != null) {
            this.bottomBlock.setBounds(
                new Rectangle2D.Double(0.0, h[0] + h[2], w[1], h[1])
            );
        }
        if (this.leftBlock != null) {
            this.leftBlock.setBounds(
                new Rectangle2D.Double(0.0, h[0], w[2], h[2])
            );
        }
        if (this.rightBlock != null) {
            this.rightBlock.setBounds(
                new Rectangle2D.Double(w[2] + w[4], h[0], w[3], h[3])
            );
        }
        if (this.centerBlock != null) {
            this.centerBlock.setBounds(
                new Rectangle2D.Double(w[2], h[0], w[4], h[4])
            );
        }
        return new Size2D(constraint.getWidth(), constraint.getHeight());
    }
    
    /**
     * Clears the layout.
     */
    public void clear() {
        this.centerBlock = null;
        this.topBlock = null;
        this.bottomBlock = null;
        this.leftBlock = null;
        this.rightBlock = null;
    }
    
    /**
     * Tests this arrangement for equality with an arbitrary object.
     * 
     * @param obj  the object (<code>null</code> permitted).
     * 
     * @return A boolean.
     */
    public boolean equals(Object obj) {
        if (obj == this) {
            return true;   
        }
        if (!(obj instanceof BorderArrangement)) {
            return false;   
        }
        BorderArrangement that = (BorderArrangement) obj;
        if (!ObjectUtilities.equal(this.topBlock, that.topBlock)) {
            return false;   
        }
        if (!ObjectUtilities.equal(this.bottomBlock, that.bottomBlock)) {
            return false;   
        }
        if (!ObjectUtilities.equal(this.leftBlock, that.leftBlock)) {
            return false;   
        }
        if (!ObjectUtilities.equal(this.rightBlock, that.rightBlock)) {
            return false;   
        }
        if (!ObjectUtilities.equal(this.centerBlock, that.centerBlock)) {
            return false;   
        }
        return true;
    }
}

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产成人av网站| 91久久精品日日躁夜夜躁欧美| 亚洲成av人片在www色猫咪| 久久久精品中文字幕麻豆发布| 91精品视频网| 欧美一级淫片007| 8x福利精品第一导航| 9191久久久久久久久久久| 欧美顶级少妇做爰| 欧美一区二区不卡视频| 欧美一二三四区在线| 日韩女同互慰一区二区| 日韩免费看的电影| 欧美精品一区二区在线播放| 欧美大片在线观看| 久久久久久97三级| 国产精品色哟哟| 亚洲欧洲韩国日本视频| 亚洲精品视频在线| 亚洲国产婷婷综合在线精品| 视频一区中文字幕| 看电视剧不卡顿的网站| 国产一区二区三区| 不卡av免费在线观看| 97国产精品videossex| 欧美性大战久久| 日韩午夜精品电影| 久久久久久久综合日本| 亚洲欧洲精品一区二区三区不卡 | 亚洲乱码日产精品bd| 亚洲色图20p| 青娱乐精品在线视频| 国产精品一区专区| 99re免费视频精品全部| 欧美系列亚洲系列| 日韩免费电影一区| 国产日本一区二区| 一区二区在线免费观看| 日韩高清在线一区| 国产v日产∨综合v精品视频| 97久久人人超碰| 欧美电影在线免费观看| 久久精品免视看| 亚洲精品成人少妇| 美女一区二区在线观看| 成人精品高清在线| 欧美日韩国产在线播放网站| 久久色在线观看| 亚洲精品成人少妇| 激情伊人五月天久久综合| 99久久久国产精品免费蜜臀| 日韩一区二区三区视频| 国产精品美女久久久久久久久久久| 一区二区三区波多野结衣在线观看| 麻豆精品新av中文字幕| 94-欧美-setu| 日韩精品一区二区三区中文不卡 | 日韩一级片网址| 国产精品乱人伦一区二区| 日韩高清在线不卡| av网站免费线看精品| 日韩欧美一级片| 亚洲欧美日韩国产手机在线| 激情深爱一区二区| 欧美精品久久一区二区三区| 国产精品国产自产拍高清av| 久久精品国产免费| 欧美系列亚洲系列| 亚洲视频免费在线观看| 狠狠色狠狠色综合日日91app| 欧美亚男人的天堂| 中文字幕一区二区三区四区 | 亚洲图片欧美激情| 一区二区三区在线影院| 热久久国产精品| 欧洲av一区二区嗯嗯嗯啊| 精品精品国产高清a毛片牛牛| 国产精品不卡在线| 另类专区欧美蜜桃臀第一页| 91性感美女视频| 精品国产3级a| 奇米一区二区三区av| 91一区一区三区| 精品久久久久久久久久久久久久久久久 | 欧美精选午夜久久久乱码6080| 精品国产精品一区二区夜夜嗨| 国产精品久久久久久久蜜臀| 日韩av电影一区| 日本国产一区二区| 久久精品在这里| 日韩av一区二| 91激情五月电影| 中文子幕无线码一区tr| 亚洲影院免费观看| 成人综合婷婷国产精品久久| 91精品国产一区二区| 国产精品久久久久久久岛一牛影视| 日本不卡一区二区| 欧洲一区二区av| 国产精品的网站| 韩国毛片一区二区三区| 宅男噜噜噜66一区二区66| 国产精品免费网站在线观看| 大胆亚洲人体视频| xfplay精品久久| 日本不卡123| 制服丝袜一区二区三区| 亚洲精品国产无天堂网2021| 成人动漫视频在线| 国产人妖乱国产精品人妖| 精品制服美女丁香| 欧美电视剧在线观看完整版| 丝袜美腿亚洲一区二区图片| 色综合 综合色| 1024亚洲合集| av在线不卡免费看| 成人欧美一区二区三区1314| 国产尤物一区二区| 欧美一区二区三区免费大片| 午夜成人免费视频| 欧美日韩一区久久| 亚州成人在线电影| 制服丝袜国产精品| 三级久久三级久久久| 欧美日韩国产在线观看| 亚洲免费看黄网站| 91精品国产一区二区三区香蕉| 亚洲成av人片在线观看| 91精品国产综合久久福利软件| 日韩av在线发布| 日韩写真欧美这视频| 久草在线在线精品观看| 精品粉嫩超白一线天av| 成人综合激情网| 亚洲男人的天堂一区二区| 色婷婷亚洲婷婷| 午夜精品一区二区三区电影天堂| 欧美日韩精品一区二区三区 | 亚洲在线视频免费观看| 欧美丰满嫩嫩电影| 久久精品二区亚洲w码| 欧美电影免费观看高清完整版在 | 日韩精品影音先锋| 国产一区在线视频| 国产精品午夜在线观看| 国产成人超碰人人澡人人澡| 国产精品麻豆视频| 91豆麻精品91久久久久久| 亚洲成av人片在线观看无码| 在线免费av一区| 亚洲国产一区视频| 精品久久久网站| 成人97人人超碰人人99| 亚洲精品免费一二三区| 在线不卡一区二区| 国产一区二区三区最好精华液| 国产精品嫩草99a| 欧美亚洲尤物久久| 麻豆精品一区二区综合av| 国产区在线观看成人精品| 一本久久a久久免费精品不卡| 婷婷中文字幕一区三区| 久久亚洲欧美国产精品乐播| av网站免费线看精品| 日韩黄色一级片| 国产女主播视频一区二区| 91福利在线播放| 精品写真视频在线观看| 成人欧美一区二区三区| 日韩欧美国产电影| av不卡免费电影| 日韩国产精品久久久久久亚洲| 国产精品三级久久久久三级| 欧美日韩三级一区| 国产成人午夜高潮毛片| 亚洲国产中文字幕在线视频综合| 久久久噜噜噜久久人人看| 在线观看亚洲精品视频| 久久不见久久见中文字幕免费| 自拍视频在线观看一区二区| 色婷婷激情一区二区三区| 国产精品一区二区久久不卡| 一区二区三区中文字幕| 久久久久国产成人精品亚洲午夜| 91色在线porny| 国模少妇一区二区三区| 亚洲综合丝袜美腿| 国产女人水真多18毛片18精品视频 | 成人av在线一区二区三区| 蜜臀久久99精品久久久久宅男| 亚洲精品在线观看视频| 56国语精品自产拍在线观看| 成人av在线网| 国产乱码精品一区二区三区av| 亚洲图片欧美色图| 亚洲欧洲成人精品av97| 久久亚洲一区二区三区明星换脸| 91精品国产色综合久久ai换脸| 欧美在线免费视屏| 懂色av一区二区在线播放|