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

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

?? cardlayout.java

?? This is a resource based on j2me embedded,if you dont understand,you can connection with me .
?? JAVA
?? 第 1 頁(yè) / 共 2 頁(yè)
字號(hào):
/* * @(#)CardLayout.java	1.36 05/03/12 * * Copyright  1990-2008 Sun Microsystems, Inc. All Rights Reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER *  * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License version * 2 only, as published by the Free Software Foundation.  *  * This program 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 * General Public License version 2 for more details (a copy is * included at /legal/license.txt).  *  * You should have received a copy of the GNU General Public License * version 2 along with this work; if not, write to the Free Software * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA * 02110-1301 USA  *  * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa * Clara, CA 95054 or visit www.sun.com if you need additional * information or have any questions.  */package java.awt;import java.util.Hashtable;import java.util.Vector;import java.util.Enumeration;import java.io.Serializable;import java.io.ObjectInputStream;import java.io.ObjectOutputStream;import java.io.ObjectStreamField;import java.io.IOException;/** * A <code>CardLayout</code> object is a layout manager for a * container. It treats each component in the container as a card. * Only one card is visible at a time, and the container acts as * a stack of cards. The first component added to a  * <code>CardLayout</code> object is the visible component when the  * container is first displayed. * <p> * The ordering of cards is determined by the container's own internal * ordering of its component objects. <code>CardLayout</code> * defines a set of methods that allow an application to flip * through these cards sequentially, or to show a specified card. * The {@link CardLayout#addLayoutComponent} * method can be used to associate a string identifier with a given card * for fast random access. * * @version 	1.37 01/23/03 * @author 	Arthur van Hoff * @see         java.awt.Container * @since       JDK1.0 */public class CardLayout implements LayoutManager2,				   Serializable {    private static final long serialVersionUID = -4328196481005934313L;    /*     * This creates a Vector to store associated     * pairs of components and their names.     * @see java.util.Vector     */    Vector vector = new Vector();    /*     * A pair of Component and String that represents its name.     */    class Card implements Serializable {        static final long serialVersionUID = 6640330810709497518L;        public String name;        public Component comp;        public Card(String cardName, Component cardComponent) {            name = cardName;            comp = cardComponent;        }    }    /*     * Index of Component currently displayed by CardLayout.     */    int currentCard = 0;    /*    * A cards horizontal Layout gap (inset). It specifies    * the space between the left and right edges of a     * container and the current component.    * This should be a non negative Integer.    * @see getHgap()    * @see setHgap()    */    int hgap;    /*    * A cards vertical Layout gap (inset). It specifies    * the space between the top and bottom edges of a     * container and the current component.    * This should be a non negative Integer.    * @see getVgap()    * @see setVgap()    */    int vgap;    /**     * @serialField tab	        Hashtable     *      deprectated, for forward compatibility only     * @serialField hgap        int     * @serialField vgap        int     * @serialField vector      Vector     * @serialField currentCard int     */    private static final ObjectStreamField[] serialPersistentFields = { 	new ObjectStreamField("tab", Hashtable.class),         new ObjectStreamField("hgap", Integer.TYPE),         new ObjectStreamField("vgap", Integer.TYPE),         new ObjectStreamField("vector", Vector.class),         new ObjectStreamField("currentCard", Integer.TYPE)     };    /**     * Creates a new card layout with gaps of size zero.     */    public CardLayout() {	this(0, 0);    }    /**     * Creates a new card layout with the specified horizontal and     * vertical gaps. The horizontal gaps are placed at the left and     * right edges. The vertical gaps are placed at the top and bottom     * edges.     * @param     hgap   the horizontal gap.     * @param     vgap   the vertical gap.     */    public CardLayout(int hgap, int vgap) {	this.hgap = hgap;	this.vgap = vgap;    }    /**     * Gets the horizontal gap between components.     * @return    the horizontal gap between components.     * @see       java.awt.CardLayout#setHgap(int)     * @see       java.awt.CardLayout#getVgap()     * @since     JDK1.1     */    public int getHgap() {	return hgap;    }    /**     * Sets the horizontal gap between components.     * @param hgap the horizontal gap between components.     * @see       java.awt.CardLayout#getHgap()     * @see       java.awt.CardLayout#setVgap(int)     * @since     JDK1.1     */    public void setHgap(int hgap) {	this.hgap = hgap;    }    /**     * Gets the vertical gap between components.     * @return the vertical gap between components.     * @see       java.awt.CardLayout#setVgap(int)     * @see       java.awt.CardLayout#getHgap()     */    public int getVgap() {	return vgap;    }    /**     * Sets the vertical gap between components.     * @param     vgap the vertical gap between components.     * @see       java.awt.CardLayout#getVgap()     * @see       java.awt.CardLayout#setHgap(int)     * @since     JDK1.1     */    public void setVgap(int vgap) {	this.vgap = vgap;    }    /**     * Adds the specified component to this card layout's internal     * table of names. The object specified by <code>constraints</code>     * must be a string. The card layout stores this string as a key-value     * pair that can be used for random access to a particular card.     * By calling the <code>show</code> method, an application can     * display the component with the specified name.     * @param     comp          the component to be added.     * @param     constraints   a tag that identifies a particular     *                                        card in the layout.     * @see       java.awt.CardLayout#show(java.awt.Container, java.lang.String)     * @exception  IllegalArgumentException  if the constraint is not a string.     */    public void addLayoutComponent(Component comp, Object constraints) {      synchronized (comp.getTreeLock()) {	if (constraints instanceof String) {	    addLayoutComponent((String)constraints, comp);	} else {	    throw new IllegalArgumentException("cannot add to layout: constraint must be a string");	}      }    }    /**     * @deprecated   replaced by     *      <code>addLayoutComponent(Component, Object)</code>.     */    public void addLayoutComponent(String name, Component comp) {        synchronized (comp.getTreeLock()) {            if (!vector.isEmpty()) {                comp.setVisible(false);            }            for (int i=0; i < vector.size(); i++) {                if (((Card)vector.get(i)).name.equals(name)) {                    ((Card)vector.get(i)).comp = comp;                    return;                }            }            vector.add(new Card(name, comp));        }    }    /**     * Removes the specified component from the layout.     * @param   comp   the component to be removed.     * @see     java.awt.Container#remove(java.awt.Component)     * @see     java.awt.Container#removeAll()     */    public void removeLayoutComponent(Component comp) {        synchronized (comp.getTreeLock()) {            for (int i = 0; i < vector.size(); i++) {                if (((Card)vector.get(i)).comp == comp) {                     // if we remove current component we should show next one                    if (comp.isVisible() && (comp.getParent() != null)) {                        next(comp.getParent());                    }                    vector.remove(i);                    // correct currentCard if this is necessary                    if (currentCard > i) {                        currentCard--;                    }                    break;                }            }        }    }    /**     * Determines the preferred size of the container argument using     * this card layout.     * @param   parent the name of the parent container.     * @return  the preferred dimensions to lay out the subcomponents     *                of the specified container.     * @see     java.awt.Container#getPreferredSize     * @see     java.awt.CardLayout#minimumLayoutSize     */    public Dimension preferredLayoutSize(Container parent) {        synchronized (parent.getTreeLock()) {            Insets insets = parent.getInsets();            int ncomponents = parent.getComponentCount();            int w = 0;            int h = 0;            for (int i = 0 ; i < ncomponents ; i++) {                Component comp = parent.getComponent(i);                Dimension d = comp.getPreferredSize();                if (d.width > w) {                    w = d.width;                }                if (d.height > h) {                    h = d.height;                }            }            return new Dimension(insets.left + insets.right + w + hgap*2,                                 insets.top + insets.bottom + h + vgap*2);        }    }    /**     * Calculates the minimum size for the specified panel.     * @param     parent the name of the parent container     *                in which to do the layout.     * @return    the minimum dimensions required to lay out the     *                subcomponents of the specified container.     * @see       java.awt.Container#doLayout     * @see       java.awt.CardLayout#preferredLayoutSize     */    public Dimension minimumLayoutSize(Container parent) {        synchronized (parent.getTreeLock()) {            Insets insets = parent.getInsets();            int ncomponents = parent.getComponentCount();            int w = 0;            int h = 0;            for (int i = 0 ; i < ncomponents ; i++) {                Component comp = parent.getComponent(i);                Dimension d = comp.getMinimumSize();

?? 快捷鍵說(shuō)明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
奇米在线7777在线精品| 欧美日韩成人综合| 国产精品一色哟哟哟| 日av在线不卡| 美国三级日本三级久久99 | 国产最新精品精品你懂的| 秋霞av亚洲一区二区三| 天天色天天爱天天射综合| 日韩福利电影在线观看| 香蕉久久一区二区不卡无毒影院| 亚洲成人av免费| 日韩成人免费看| 久久精品国产精品亚洲红杏| 国内精品久久久久影院色 | 精品国产91洋老外米糕| 欧美精品一区二区在线播放| 久久久亚洲欧洲日产国码αv| 久久久亚洲精品一区二区三区| 亚洲国产精品精华液ab| 综合色中文字幕| 亚洲一区二区欧美| 免费一级片91| 国产成人av福利| 97se亚洲国产综合自在线观| 欧美在线看片a免费观看| 欧美裸体一区二区三区| 精品av综合导航| 国产精品国产a级| 一区二区久久久久| 日本aⅴ免费视频一区二区三区| 黄色成人免费在线| 92精品国产成人观看免费| 欧美日韩精品一区二区三区四区| 91精品国产91久久久久久最新毛片| 2023国产一二三区日本精品2022| 国产精品久久久久久久久免费相片| 亚洲一区自拍偷拍| 经典三级在线一区| 一本一道综合狠狠老| 欧美精品精品一区| 26uuu国产在线精品一区二区| 国产欧美日韩激情| 香蕉久久一区二区不卡无毒影院| 久久aⅴ国产欧美74aaa| 9人人澡人人爽人人精品| 欧美日韩一级片在线观看| 久久午夜电影网| 亚洲一卡二卡三卡四卡无卡久久 | 7777女厕盗摄久久久| 久久久亚洲高清| 亚洲一区自拍偷拍| 国产成人精品免费| 欧美一卡2卡三卡4卡5免费| 国产欧美精品一区二区色综合 | av高清不卡在线| 日韩精品自拍偷拍| 一区二区高清免费观看影视大全| 久久爱www久久做| 在线视频亚洲一区| 国产欧美精品区一区二区三区| 亚洲五码中文字幕| 国产91精品在线观看| 欧美日本韩国一区| 中文字幕欧美一| 国产一区二区在线看| 欧美嫩在线观看| 国产精品高潮呻吟| 国产一区二区影院| 欧美一区二区不卡视频| 曰韩精品一区二区| 成人深夜福利app| 久久综合999| 日日摸夜夜添夜夜添国产精品 | 日韩一区欧美一区| 国产在线不卡一卡二卡三卡四卡| 欧美综合欧美视频| 亚洲图片激情小说| 国产xxx精品视频大全| 欧美一卡2卡3卡4卡| 亚洲第一电影网| 色哟哟日韩精品| 日韩一区欧美一区| 高清国产一区二区三区| 26uuu久久天堂性欧美| 三级成人在线视频| 欧美日韩亚洲丝袜制服| 亚洲精品国产视频| 91丨porny丨在线| 中文字幕欧美日本乱码一线二线| 国内精品在线播放| 日韩你懂的电影在线观看| 欧美aaa在线| 6080午夜不卡| 日韩高清欧美激情| 欧美一区二区在线免费观看| 午夜精品国产更新| 欧美美女一区二区在线观看| 香蕉影视欧美成人| 欧美日韩国产一级二级| 亚洲国产精品一区二区www | 精品久久人人做人人爽| 蜜芽一区二区三区| 日韩免费高清电影| 另类的小说在线视频另类成人小视频在线| 欧美日韩电影一区| 日本不卡在线视频| 欧美大片在线观看一区| 久久99国产精品免费| 日韩精品在线一区二区| 黄色小说综合网站| 国产日韩欧美一区二区三区综合| 国产91露脸合集magnet | 盗摄精品av一区二区三区| 中文字幕精品一区二区精品绿巨人 | 亚洲少妇30p| 色偷偷久久一区二区三区| 一区二区在线看| 欧美日韩视频在线一区二区| 日韩国产欧美在线播放| 欧美成人一区二区三区片免费 | 国产精品中文字幕一区二区三区| 久久综合九色综合久久久精品综合| 国内国产精品久久| 国产精品五月天| 91久久久免费一区二区| 午夜精品一区二区三区免费视频 | 亚洲一卡二卡三卡四卡无卡久久| 欧美日韩一区三区| 男人的天堂亚洲一区| 国产性做久久久久久| 91色在线porny| 亚洲成av人片观看| 久久你懂得1024| 91伊人久久大香线蕉| 丝袜亚洲另类欧美| 久久夜色精品国产噜噜av| 99久久99久久精品免费观看| 亚洲成在线观看| 久久综合成人精品亚洲另类欧美 | 中文字幕亚洲精品在线观看| 在线视频欧美精品| 国产又黄又大久久| 亚洲精品美腿丝袜| 日韩免费观看2025年上映的电影| 成人在线综合网站| 日韩成人av影视| 国产精品色在线观看| 538prom精品视频线放| 国产一区二区三区在线观看精品 | 久久99热这里只有精品| 国产精品拍天天在线| 欧美日韩夫妻久久| 高清久久久久久| 日韩福利视频导航| 中文字幕亚洲区| 精品久久99ma| 欧美三级电影在线观看| 国产呦精品一区二区三区网站 | 91麻豆产精品久久久久久| 美国精品在线观看| 一区二区三区中文字幕电影| 久久婷婷成人综合色| 欧美日韩中文一区| av中文字幕在线不卡| 免费观看一级欧美片| 亚洲精品自拍动漫在线| 久久亚洲影视婷婷| 欧美精品亚洲一区二区在线播放| 不卡一区二区在线| 黄网站免费久久| 日韩和欧美一区二区三区| 中文字幕一区二| www日韩大片| 欧美精品电影在线播放| 91看片淫黄大片一级在线观看| 麻豆国产欧美日韩综合精品二区| 亚洲一区在线观看免费 | 国产日产欧美精品一区二区三区| 制服丝袜中文字幕亚洲| 一本色道久久加勒比精品| 国产一区二三区好的| 日日夜夜精品视频免费| 亚洲一区在线观看视频| 亚洲欧洲精品天堂一级| 久久久电影一区二区三区| 日韩欧美一区二区在线视频| 欧美日韩在线播放三区四区| 99久久精品国产网站| 粉嫩av亚洲一区二区图片| 精品一区二区三区香蕉蜜桃| 日本成人在线电影网| 亚洲mv在线观看| 亚洲一区二区三区三| 一区二区三区久久| 亚洲黄网站在线观看| 亚洲精品久久嫩草网站秘色| 亚洲欧美福利一区二区| 亚洲同性gay激情无套| 自拍视频在线观看一区二区| 国产精品超碰97尤物18|