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

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

?? verticallayoutmanager.java

?? 本程序用于對頁面信息進行提取并分析
?? JAVA
字號:
// HTMLParser Library $Name: v1_6_20060319 $ - A java-based parser for HTML
// http://sourceforge.org/projects/htmlparser
// Copyright (C) 2005 Derrick Oswald
//
// Revision Control Information
//
// $Source: /cvsroot/htmlparser/htmlparser/src/org/htmlparser/parserapplications/filterbuilder/layouts/VerticalLayoutManager.java,v $
// $Author: derrickoswald $
// $Date: 2005/04/12 11:27:42 $
// $Revision: 1.2 $
//
// 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
//

package org.htmlparser.parserapplications.filterbuilder.layouts;

import java.awt.*;
import java.io.*;

/**
 * A layout manager like a vertical FlowLayout.
 * Stacks components vertically like GridLayout(0,1) but doesn't
 * resize each component equally. More like a vertical FlowLayout
 * but doesn't snake columns or align things.
 */
public class VerticalLayoutManager
    implements
        LayoutManager2,
        Serializable
{ 
    /**
     * Constructs a VerticalLayoutManager object.
     */
    public VerticalLayoutManager ()
    {
    }
  
    /**
     * Calculates the minimum size dimensions for the specified
     * panel given the components in the specified parent container.
     * @param target The component to be laid out.
     * @return The minimum size.
     * @see #preferredLayoutSize
     */
    public Dimension minimumLayoutSize (Container target)
    {
        return (preferredLayoutSize (target));
    }
  
    /**
     * Calculates the preferred size dimensions for the specified
     * panel given the components in the specified parent container.
     * @param target The component to be laid out.
     * @return A size deemed suitable for laying out the container.
     * @see #minimumLayoutSize
     */
    public Dimension preferredLayoutSize (Container target)
    {
        int count;
        Component component;
        Dimension dimension;
        Insets insets;
        Dimension ret;
        
        synchronized (target.getTreeLock ())
        {
            // get the the total height and maximum width component
            ret = new Dimension (0, 0);
            count = target.getComponentCount ();
            for (int i = 0 ; i < count ; i++)
            {
                component = target.getComponent (i);
                if (component.isVisible ())
                {
                    dimension = component.getPreferredSize ();
                    ret.width = Math.max (ret.width, dimension.width);
                    ret.height += dimension.height;
                }
            }
            insets = target.getInsets ();
            ret.width += insets.left + insets.right;
            ret.height += insets.top + insets.bottom;
        }

        return (ret);
    }
  
    /**
     * Returns the maximum size of this component.
     * @param target The component to be laid out.
     * @return The maximum size for the container.
     * @see #preferredLayoutSize
     */
    public Dimension maximumLayoutSize (Container target)
    {
        return (preferredLayoutSize (target));
    }
  
    //
    // LayoutManager Interface
    //
  
    /**
     * Adds the specified component with the specified name to
     * the layout.
     * @param name the component name
     * @param comp the component to be added
     */
    public void addLayoutComponent (String name, Component comp)
    {
    }        
  
    /**
     * Removes the specified component from the layout.
     * @param comp the component ot be removed
     */
    public void removeLayoutComponent (Component comp)
    {
    }
  
    /**
     * Lays out the container.
     * @param target The container which needs to be laid out.
     */
    public void layoutContainer (Container target)
    {
        Insets insets;
        int x;
        int y;
        int count;
        int width;
        Component component;
        Dimension dimension;
        
        synchronized (target.getTreeLock ())
        {
            insets = target.getInsets ();
            x = insets.left;
            y = insets.top;
            count = target.getComponentCount ();
            width = 0;
            for (int i = 0 ; i < count ; i++)
            {
                component = target.getComponent (i);
                if (component.isVisible ())
                {
                    dimension = component.getPreferredSize ();
                    width = Math.max (width, dimension.width);
                    component.setSize (dimension.width, dimension.height);
                    component.setLocation (x, y);
                    y += dimension.height;
                }
            }
            // now set them all to the same width
            for (int i = 0 ; i < count ; i++)
            {
                component = target.getComponent (i);
                if (component.isVisible ())
                {
                    dimension = component.getSize ();
                    dimension.width = width;
                    component.setSize (dimension.width, dimension.height);
                }
            }
        }
    }
  
    //
    // LayoutManager2 Interface
    //
  
    /**
     * Adds the specified component to the layout, using the specified
     * constraint object.
     * @param comp the component to be added
     * @param constraints  where/how the component is added to the layout.
     */
    public void addLayoutComponent (Component comp, Object constraints)
    {
    }
  
    /**
     * Returns the alignment along the x axis.  This specifies how
     * the component would like to be aligned relative to other
     * components.  The value should be a number between 0 and 1
     * where 0 represents alignment along the origin, 1 is aligned
     * the furthest away from the origin, 0.5 is centered, etc.
     * @param target The target container.
     * @return The X-axis alignment.
     */
    public float getLayoutAlignmentX (Container target)
    {
        return (0.0f);
    }
  
    /**
     * Returns the alignment along the y axis.  This specifies how
     * the component would like to be aligned relative to other
     * components.  The value should be a number between 0 and 1
     * where 0 represents alignment along the origin, 1 is aligned
     * the furthest away from the origin, 0.5 is centered, etc.
     * @param target The target container.
     * @return The Y-axis alignment.
     */
    public float getLayoutAlignmentY (Container target)
    {
        return (0.0f);
    }
  
    /**
     * Invalidates the layout, indicating that if the layout manager
     * has cached information it should be discarded.
     * @param target The target container.
     */
    public void invalidateLayout (Container target)
    {
    }
}

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲一区在线观看视频| 欧美一区二区大片| 久久综合久久综合亚洲| 亚洲自拍偷拍欧美| 成人福利在线看| 精品国产免费久久| 日韩精品亚洲专区| 一本到高清视频免费精品| 国产午夜精品在线观看| 美女脱光内衣内裤视频久久网站| 91国在线观看| 国产精品成人在线观看| 国产电影精品久久禁18| 精品国产欧美一区二区| 全国精品久久少妇| 欧美午夜片在线观看| 亚洲乱码国产乱码精品精98午夜| 高清在线成人网| 久久久亚洲午夜电影| 久久99最新地址| 91精品国产手机| 亚洲高清在线视频| 欧美性一区二区| 亚洲乱码国产乱码精品精98午夜| 成人av中文字幕| 欧美久久久一区| 91精品国产综合久久小美女| 亚洲精选视频免费看| 成人综合婷婷国产精品久久蜜臀| 久久亚洲二区三区| 极品美女销魂一区二区三区| 日韩一本二本av| 日韩二区在线观看| 欧美一级国产精品| 免费av网站大全久久| 欧美一区二区三区免费在线看 | 91福利视频网站| 1区2区3区精品视频| 成人黄色片在线观看| 国产精品久久久久久亚洲毛片| 国产成人精品免费| 日本一二三不卡| 成人精品视频一区二区三区尤物| 国产午夜亚洲精品午夜鲁丝片| 国产精品一区一区三区| 国产欧美一区二区精品性色| 东方欧美亚洲色图在线| 国产欧美日韩卡一| 99久久777色| 亚洲免费观看高清在线观看| 欧美在线综合视频| 日韩黄色在线观看| 欧美r级电影在线观看| 国产精品中文字幕一区二区三区| 国产视频一区二区在线| fc2成人免费人成在线观看播放| 中文字幕日本不卡| 日本精品一级二级| 天天综合色天天综合色h| 91精品综合久久久久久| 国产永久精品大片wwwapp| 国产亚洲成av人在线观看导航| 成人黄色小视频在线观看| 一卡二卡三卡日韩欧美| 制服视频三区第一页精品| 经典一区二区三区| 国产精品久久久久aaaa樱花| 欧美性色黄大片| 麻豆精品久久精品色综合| 久久久一区二区三区| 91免费在线播放| 午夜免费久久看| 精品久久久久久综合日本欧美 | 午夜视频在线观看一区二区| 日韩免费观看2025年上映的电影| 国产精品小仙女| 亚洲激情男女视频| 欧美一区二区三区免费视频 | 免费看欧美女人艹b| 国产亚洲精品精华液| 色狠狠综合天天综合综合| 免费看日韩精品| 国产精品美女久久久久aⅴ| 欧美三级电影网站| 韩国v欧美v日本v亚洲v| 亚洲欧美日韩国产一区二区三区| 欧美一区二区三区在线电影| 国产在线国偷精品免费看| 亚洲精品成人精品456| 日韩免费在线观看| 91免费观看国产| 美国三级日本三级久久99| 成人欧美一区二区三区视频网页 | 亚洲欧美另类图片小说| 欧美日韩不卡一区二区| 国产成人在线视频免费播放| 亚洲午夜在线电影| 精品福利一区二区三区免费视频| 91成人在线免费观看| 国产一区二区三区综合| 亚洲综合精品自拍| 国产亚洲一二三区| 欧美色综合天天久久综合精品| 国产精品一色哟哟哟| 香蕉成人啪国产精品视频综合网| 国产欧美一区二区精品性色超碰| 欧美高清视频在线高清观看mv色露露十八| 国产精品99久久久久久久女警| 亚洲成国产人片在线观看| 日本一二三不卡| 日韩欧美国产麻豆| 91国产免费看| 成人综合婷婷国产精品久久免费| 日本中文字幕一区| 亚洲综合色丁香婷婷六月图片| 国产日韩欧美一区二区三区乱码| 欧美日本在线播放| 欧美综合色免费| 国产91丝袜在线观看| 精品中文av资源站在线观看| 亚洲成av人综合在线观看| 国产精品每日更新在线播放网址 | 欧美高清性hdvideosex| 91麻豆.com| 国产精品一级片在线观看| 免费在线看一区| 偷窥少妇高潮呻吟av久久免费| 亚洲欧美另类在线| 国产精品卡一卡二| 国产亚洲精品7777| 精品91自产拍在线观看一区| 欧美一区三区二区| 欧美日韩一二区| 91九色02白丝porn| 91美女在线视频| 波多野结衣的一区二区三区| 国产不卡在线播放| 国产精品系列在线播放| 久久国产日韩欧美精品| 日本不卡一区二区三区高清视频| 亚洲国产精品一区二区www在线 | 国产日产亚洲精品系列| 精品国产一区二区亚洲人成毛片| 欧美久久久久久蜜桃| 欧美日韩国产片| 在线观看国产精品网站| 欧美主播一区二区三区美女| 日本道精品一区二区三区| 91网站在线播放| 一本大道久久a久久精品综合| 99久久精品免费观看| 99国产精品国产精品毛片| 99久久99久久久精品齐齐| 不卡电影一区二区三区| 波多野洁衣一区| av男人天堂一区| 99国内精品久久| 色婷婷综合久久| 在线观看亚洲专区| 欧美日韩成人综合天天影院| 欧美精品丝袜久久久中文字幕| 欧美丰满少妇xxxxx高潮对白| 欧美高清dvd| 日韩三级视频在线看| 精品美女在线观看| 久久久久久久精| 中文字幕av不卡| 亚洲视频一二区| 一区二区三区在线观看视频| 亚洲第一主播视频| 免费成人在线网站| 九九视频精品免费| 国产99一区视频免费| 99v久久综合狠狠综合久久| 91国产丝袜在线播放| 在线播放视频一区| 日韩精品资源二区在线| 久久夜色精品一区| 国产精品第13页| 亚洲高清免费一级二级三级| 日韩精品电影在线| 国产在线精品一区在线观看麻豆| 高清久久久久久| 欧美综合一区二区| 日韩欧美国产一二三区| 欧美激情一区二区三区| 一区二区不卡在线播放| 美腿丝袜亚洲综合| 成人爽a毛片一区二区免费| 欧美在线一区二区三区| 日韩精品在线一区二区| 国产精品网站一区| 亚洲一卡二卡三卡四卡五卡| 乱一区二区av| 成人丝袜高跟foot| 欧美视频在线不卡| 久久人人爽爽爽人久久久| 亚洲另类在线制服丝袜| 久久精品国产精品亚洲精品| 成人久久18免费网站麻豆|