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

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

?? nulllayoutmanager.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/NullLayoutManager.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 that doesn't move things around.
 * Attempts to set the bounds of components to accomodate them
 * but doesn't move them.
 */
public class NullLayoutManager
    implements
        LayoutManager2,
        Serializable
{ 
    /**
     * Constructs a NullLayoutManager object.
     */
    public NullLayoutManager ()
    {
    }
  
    /**
     * 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.
     * @see #minimumLayoutSize
     * @param target The component to be laid out.
     * @return A size deemed suitable for laying out the container.
     */
    public Dimension preferredLayoutSize (Container target)
    {
        int count;
        Container parent;
        Component component;
        Point point;
        Dimension dimension;
        Insets insets;
        Dimension ret;
        
        synchronized (target.getTreeLock ())
        {
            count = target.getComponentCount ();
            if (0 == count)
            {
                // be the same size unless we have a parent
                ret = target.getSize ();
                parent = target.getParent ();
                if (null != parent)
                {
                    insets = parent.getInsets ();
                    ret = parent.getSize ();
                    ret.setSize (
                        ret.width - insets.left - insets.right,
                        ret.height - insets.top - insets.bottom);
                }
            }
            else
            {
                ret = new Dimension (0, 0);
                for (int i = 0 ; i < count ; i++)
                {
                    component = target.getComponent (i);
                    if (component.isVisible ())
                    {
                        point = component.getLocation ();
                        dimension = component.getPreferredSize();
                        ret.width = Math.max (ret.width, point.x + dimension.width);
                        ret.height = Math.max (ret.height, point.y + 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)
    {
        int count;
        Component component;
        Dimension dimension;
        
        synchronized (target.getTreeLock ())
        {
            count = target.getComponentCount ();
            for (int i = 0 ; i < count ; i++)
            {
                component = target.getComponent (i);
                if (component.isVisible ())
                {
                    dimension = component.getPreferredSize();
                    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)
    {
    }
}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲日本在线a| 综合久久国产九一剧情麻豆| 亚洲成人免费影院| 欧美一区二区成人6969| 国产成人精品影视| 国产精品视频麻豆| 欧美色图天堂网| 国产精品自拍网站| 亚洲电影视频在线| 国产欧美一区二区在线| 色噜噜狠狠色综合中国| 蜜桃视频在线一区| 樱桃视频在线观看一区| 2021久久国产精品不只是精品| 91美女在线看| 国产成人精品三级麻豆| 九九**精品视频免费播放| 亚洲精品国产无套在线观| 国产亚洲污的网站| 精品蜜桃在线看| 91黄视频在线观看| 狠狠色丁香九九婷婷综合五月| 国产精品麻豆一区二区| 久久精品日产第一区二区三区高清版 | 亚洲午夜精品久久久久久久久| 欧美一区二区私人影院日本| 在线观看不卡一区| 在线一区二区观看| 91黄视频在线| 欧美酷刑日本凌虐凌虐| 欧美性色欧美a在线播放| a4yy欧美一区二区三区| av电影在线观看一区| 不卡一区中文字幕| 欧美一卡二卡三卡| 欧美乱妇23p| 精品成人一区二区| 国产午夜亚洲精品不卡| 国产日本欧美一区二区| 国产精品短视频| 亚洲免费观看视频| 亚洲国产毛片aaaaa无费看| 亚洲国产精品嫩草影院| 亚洲天堂福利av| 午夜成人免费电影| 国产一区999| 色网站国产精品| 欧美精品日韩综合在线| 日韩欧美国产精品一区| 亚洲老妇xxxxxx| 国产一区二区精品久久99| 色综合久久综合网97色综合 | 亚洲.国产.中文慕字在线| 国内外成人在线视频| 色哟哟国产精品| 国产精品伦理在线| 久久99精品国产.久久久久久| 一本到不卡精品视频在线观看| 欧美日韩高清影院| 亚洲综合精品久久| 99久久精品免费看| 国产精品丝袜在线| 国产一区二区精品久久91| 欧美日韩精品系列| 午夜视频久久久久久| 欧美亚洲动漫精品| 一区二区在线观看视频| 在线一区二区三区做爰视频网站| 中文字幕一区二区三区乱码在线| 国内精品久久久久影院一蜜桃| 日韩一二三区视频| 精品在线一区二区| 久久久久国产精品人| 麻豆国产欧美一区二区三区| 欧美精品久久一区二区三区| 日韩一区在线看| 日本福利一区二区| 午夜成人免费电影| 欧美精品一区二区三| 成人综合婷婷国产精品久久免费| 欧美激情中文不卡| 波多野结衣亚洲| 日韩激情一二三区| 欧美v国产在线一区二区三区| 韩国成人在线视频| 国产精品视频一二三区| 99精品国产99久久久久久白柏| 国产精品久久久久久久久快鸭| 在线观看欧美黄色| 麻豆91免费看| 国产精品人成在线观看免费| 日本不卡视频一二三区| 国产精品亲子伦对白| 欧美午夜不卡在线观看免费| 看电视剧不卡顿的网站| 中文字幕佐山爱一区二区免费| 欧美一区二区三区小说| av不卡在线观看| 国产在线精品一区在线观看麻豆| 亚洲欧洲精品天堂一级| 久久在线观看免费| 91麻豆精品久久久久蜜臀| 99re这里都是精品| 成人综合日日夜夜| 天堂av在线一区| 日日摸夜夜添夜夜添精品视频| 国产精品你懂的在线| 2024国产精品视频| 亚洲精品一区二区三区在线观看| 欧美日韩国产免费一区二区| 欧美视频一区二区三区四区| 色伊人久久综合中文字幕| 91欧美激情一区二区三区成人| 成人av网址在线观看| 成人一二三区视频| 99久久国产综合精品女不卡| 欧美色综合网站| 一区二区在线电影| 中文字幕一区二区不卡| 欧美国产精品一区二区三区| 欧美韩国日本不卡| 中文字幕一区视频| 国产精品毛片a∨一区二区三区| 中国av一区二区三区| 一区二区三区在线观看网站| 亚洲自拍与偷拍| 日日夜夜精品视频天天综合网| 蜜桃av噜噜一区二区三区小说| 激情成人午夜视频| 91亚洲精品一区二区乱码| 欧美一区二区视频免费观看| 久久精品国产亚洲高清剧情介绍 | 亚洲一区二区三区四区在线 | 精品视频一区二区不卡| 欧美挠脚心视频网站| 精品国产123| 偷偷要91色婷婷| 国产99久久久国产精品免费看 | 亚洲免费观看视频| 亚洲天堂福利av| 久久精品久久99精品久久| 国产成人8x视频一区二区 | 精品美女在线播放| 亚洲高清不卡在线观看| 99久久久免费精品国产一区二区| 欧美日韩精品欧美日韩精品| 国产农村妇女毛片精品久久麻豆| 亚洲高清三级视频| 色婷婷综合久久| 亚洲三级小视频| 99精品在线免费| 色系网站成人免费| 国产精品美女一区二区三区| 国产激情视频一区二区在线观看 | 在线观看一区日韩| 久久久精品免费网站| 国产精品一区专区| 久久精品网站免费观看| 狠狠色2019综合网| 国产午夜精品一区二区 | 色一区在线观看| 亚洲影视在线播放| 日韩一区二区三区三四区视频在线观看| 一区二区三区国产精品| 欧美区在线观看| 国产精品一区在线| 亚洲欧洲美洲综合色网| 欧美视频一区二区三区在线观看| 午夜激情综合网| 久久久久久久久伊人| 在线观看区一区二| 久久99精品久久久久婷婷| 最新国产の精品合集bt伙计| 欧美日韩高清在线| av成人老司机| 激情综合五月天| 日韩精品欧美成人高清一区二区| 精品人在线二区三区| 欧洲一区二区三区在线| 国产精品自在欧美一区| 日日摸夜夜添夜夜添国产精品 | 欧美成人一区二区三区| 日韩av午夜在线观看| 国产精品视频你懂的| 久久噜噜亚洲综合| 2022国产精品视频| 日韩三级中文字幕| 欧美日韩精品是欧美日韩精品| 成人激情小说网站| 成人污污视频在线观看| 国内精品国产成人| 久久国产欧美日韩精品| 日韩—二三区免费观看av| 亚洲国产精品久久艾草纯爱| 亚洲综合在线五月| 亚洲第一主播视频| 蜜桃av噜噜一区| 盗摄精品av一区二区三区| 成人黄色综合网站| 91久久免费观看|