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

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

?? basicsplitpaneui.java

?? JAVA的一些源碼 JAVA2 STANDARD EDITION DEVELOPMENT KIT 5.0
?? JAVA
?? 第 1 頁 / 共 5 頁
字號:
/* * @(#)BasicSplitPaneUI.java	1.80 04/05/18 * * Copyright 2004 Sun Microsystems, Inc. All rights reserved. * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. */package javax.swing.plaf.basic;import sun.swing.DefaultLookup;import sun.swing.UIAction;import javax.swing.*;import javax.swing.border.Border;import javax.swing.event.*;import java.awt.*;import java.awt.event.*;import java.awt.peer.ComponentPeer;import java.awt.peer.LightweightPeer;import java.beans.*;import java.util.*;import javax.swing.plaf.ActionMapUIResource;import javax.swing.plaf.SplitPaneUI;import javax.swing.plaf.ComponentUI;import javax.swing.plaf.UIResource;/** * A Basic L&F implementation of the SplitPaneUI. * * @version 1.80 05/18/04 * @author Scott Violet * @author Steve Wilson * @author Ralph Kar */public class BasicSplitPaneUI extends SplitPaneUI{    /**     * The divider used for non-continuous layout is added to the split pane     * with this object.     */    protected static final String NON_CONTINUOUS_DIVIDER =        "nonContinuousDivider";    /**     * How far (relative) the divider does move when it is moved around by     * the cursor keys on the keyboard.     */    protected static int KEYBOARD_DIVIDER_MOVE_OFFSET = 3;    /**     * JSplitPane instance this instance is providing     * the look and feel for.     */    protected JSplitPane splitPane;    /**     * LayoutManager that is created and placed into the split pane.     */    protected BasicHorizontalLayoutManager layoutManager;    /**     * Instance of the divider for this JSplitPane.     */    protected BasicSplitPaneDivider divider;    /**     * Instance of the PropertyChangeListener for this JSplitPane.     */    protected PropertyChangeListener propertyChangeListener;    /**     * Instance of the FocusListener for this JSplitPane.     */    protected FocusListener focusListener;    private Handler handler;    /**     * Keys to use for forward focus traversal when the JComponent is     * managing focus.     */    private static Set managingFocusForwardTraversalKeys;    /**     * Keys to use for backward focus traversal when the JComponent is     * managing focus.     */    private static Set managingFocusBackwardTraversalKeys;    /**     * The size of the divider while the dragging session is valid.     */    protected int dividerSize;    /**     * Instance for the shadow of the divider when non continuous layout     * is being used.     */    protected Component nonContinuousLayoutDivider;    /**     * Set to true in startDragging if any of the children     * (not including the nonContinuousLayoutDivider) are heavy weights.     */    protected boolean draggingHW;    /**     * Location of the divider when the dragging session began.     */    protected int beginDragDividerLocation;    /**     * As of Java 2 platform v1.3 this previously undocumented field is no     * longer used.     * Key bindings are now defined by the LookAndFeel, please refer to     * the key bindings specification for further details.     *     * @deprecated As of Java 2 platform v1.3.     */    @Deprecated    protected KeyStroke upKey;    /**     * As of Java 2 platform v1.3 this previously undocumented field is no     * longer used.     * Key bindings are now defined by the LookAndFeel, please refer to     * the key bindings specification for further details.     *     * @deprecated As of Java 2 platform v1.3.     */    @Deprecated    protected KeyStroke downKey;    /**     * As of Java 2 platform v1.3 this previously undocumented field is no     * longer used.     * Key bindings are now defined by the LookAndFeel, please refer to     * the key bindings specification for further details.     *     * @deprecated As of Java 2 platform v1.3.     */    @Deprecated    protected KeyStroke leftKey;    /**     * As of Java 2 platform v1.3 this previously undocumented field is no     * longer used.     * Key bindings are now defined by the LookAndFeel, please refer to     * the key bindings specification for further details.     *     * @deprecated As of Java 2 platform v1.3.     */    @Deprecated    protected KeyStroke rightKey;    /**     * As of Java 2 platform v1.3 this previously undocumented field is no     * longer used.     * Key bindings are now defined by the LookAndFeel, please refer to     * the key bindings specification for further details.     *     * @deprecated As of Java 2 platform v1.3.     */    @Deprecated    protected KeyStroke homeKey;    /**     * As of Java 2 platform v1.3 this previously undocumented field is no     * longer used.     * Key bindings are now defined by the LookAndFeel, please refer to     * the key bindings specification for further details.     *     * @deprecated As of Java 2 platform v1.3.     */    @Deprecated    protected KeyStroke endKey;    /**     * As of Java 2 platform v1.3 this previously undocumented field is no     * longer used.     * Key bindings are now defined by the LookAndFeel, please refer to     * the key bindings specification for further details.     *     * @deprecated As of Java 2 platform v1.3.     */    @Deprecated    protected KeyStroke dividerResizeToggleKey;    /**     * As of Java 2 platform v1.3 this previously undocumented field is no     * longer used.     * Key bindings are now defined by the LookAndFeel, please refer to     * the key bindings specification for further details.     *     * @deprecated As of Java 2 platform v1.3.     */    @Deprecated    protected ActionListener keyboardUpLeftListener;    /**     * As of Java 2 platform v1.3 this previously undocumented field is no     * longer used.     * Key bindings are now defined by the LookAndFeel, please refer to     * the key bindings specification for further details.     *     * @deprecated As of Java 2 platform v1.3.     */    @Deprecated    protected ActionListener keyboardDownRightListener;    /**     * As of Java 2 platform v1.3 this previously undocumented field is no     * longer used.     * Key bindings are now defined by the LookAndFeel, please refer to     * the key bindings specification for further details.     *     * @deprecated As of Java 2 platform v1.3.     */    @Deprecated    protected ActionListener keyboardHomeListener;    /**     * As of Java 2 platform v1.3 this previously undocumented field is no     * longer used.     * Key bindings are now defined by the LookAndFeel, please refer to     * the key bindings specification for further details.     *     * @deprecated As of Java 2 platform v1.3.     */    @Deprecated    protected ActionListener keyboardEndListener;    /**     * As of Java 2 platform v1.3 this previously undocumented field is no     * longer used.     * Key bindings are now defined by the LookAndFeel, please refer to     * the key bindings specification for further details.     *     * @deprecated As of Java 2 platform v1.3.     */    @Deprecated    protected ActionListener keyboardResizeToggleListener;    // Private data of the instance    private int         orientation;    private int         lastDragLocation;    private boolean     continuousLayout;    private boolean     dividerKeyboardResize;    private boolean     dividerLocationIsSet;  // needed for tracking                                               // the first occurrence of                                               // setDividerLocation()    private Color dividerDraggingColor;    private boolean rememberPaneSizes;    // Indicates wether the one of splitpane sides is expanded    private boolean keepHidden = false;    /** Indicates that we have painted once. */    // This is used by the LayoutManager to determine when it should use    // the divider location provided by the JSplitPane. This is used as there    // is no way to determine when the layout process has completed.    boolean             painted;    /** If true, setDividerLocation does nothing. */    boolean             ignoreDividerLocationChange;    /**     * Creates a new BasicSplitPaneUI instance     */    public static ComponentUI createUI(JComponent x) {        return new BasicSplitPaneUI();    }    static void loadActionMap(LazyActionMap map) {        map.put(new Actions(Actions.NEGATIVE_INCREMENT));	map.put(new Actions(Actions.POSITIVE_INCREMENT));	map.put(new Actions(Actions.SELECT_MIN));	map.put(new Actions(Actions.SELECT_MAX));	map.put(new Actions(Actions.START_RESIZE));	map.put(new Actions(Actions.TOGGLE_FOCUS));	map.put(new Actions(Actions.FOCUS_OUT_FORWARD));	map.put(new Actions(Actions.FOCUS_OUT_BACKWARD));    }    /**     * Installs the UI.     */    public void installUI(JComponent c) {        splitPane = (JSplitPane) c;        dividerLocationIsSet = false;        dividerKeyboardResize = false;        keepHidden = false;        installDefaults();        installListeners();        installKeyboardActions();        setLastDragLocation(-1);    }    /**     * Installs the UI defaults.     */    protected void installDefaults(){         LookAndFeel.installBorder(splitPane, "SplitPane.border");        LookAndFeel.installColors(splitPane, "SplitPane.background",                                  "SplitPane.foreground");        LookAndFeel.installProperty(splitPane, "opaque", Boolean.TRUE);        if (divider == null) divider = createDefaultDivider();        divider.setBasicSplitPaneUI(this);	Border    b = divider.getBorder();	if (b == null || !(b instanceof UIResource)) {	    divider.setBorder(UIManager.getBorder("SplitPaneDivider.border"));	}	dividerDraggingColor = UIManager.getColor("SplitPaneDivider.draggingColor");        setOrientation(splitPane.getOrientation());	// This plus 2 here is to provide backwards consistancy. Previously,	// the old size did not include the 2 pixel border around the divider,	// it now does.        LookAndFeel.installProperty(splitPane, "dividerSize", 				    UIManager.get("SplitPane.dividerSize"));        divider.setDividerSize(splitPane.getDividerSize());	dividerSize = divider.getDividerSize();        splitPane.add(divider, JSplitPane.DIVIDER);        setContinuousLayout(splitPane.isContinuousLayout());        resetLayoutManager();        /* Install the nonContinuousLayoutDivider here to avoid having to        add/remove everything later. */        if(nonContinuousLayoutDivider == null) {            setNonContinuousLayoutDivider(                                createDefaultNonContinuousLayoutDivider(),                                true);        } else {            setNonContinuousLayoutDivider(nonContinuousLayoutDivider, true);        }	// focus forward traversal key	if (managingFocusForwardTraversalKeys==null) {	    managingFocusForwardTraversalKeys = new TreeSet();	    managingFocusForwardTraversalKeys.add(		KeyStroke.getKeyStroke(KeyEvent.VK_TAB, 0));	}	splitPane.setFocusTraversalKeys(KeyboardFocusManager.FORWARD_TRAVERSAL_KEYS,					managingFocusForwardTraversalKeys);	// focus backward traversal key	if (managingFocusBackwardTraversalKeys==null) {	    managingFocusBackwardTraversalKeys = new TreeSet();	    managingFocusBackwardTraversalKeys.add(		KeyStroke.getKeyStroke(KeyEvent.VK_TAB, InputEvent.SHIFT_MASK));	}	splitPane.setFocusTraversalKeys(KeyboardFocusManager.BACKWARD_TRAVERSAL_KEYS,					managingFocusBackwardTraversalKeys);    }    /**     * Installs the event listeners for the UI.     */    protected void installListeners() {        if ((propertyChangeListener = createPropertyChangeListener()) !=            null) {            splitPane.addPropertyChangeListener(propertyChangeListener);        }        if ((focusListener = createFocusListener()) != null) {            splitPane.addFocusListener(focusListener);        }    }    /**     * Installs the keyboard actions for the UI.     */    protected void installKeyboardActions() {	InputMap km = getInputMap(JComponent.				  WHEN_ANCESTOR_OF_FOCUSED_COMPONENT);	SwingUtilities.replaceUIInputMap(splitPane, JComponent.				       WHEN_ANCESTOR_OF_FOCUSED_COMPONENT,				       km);        LazyActionMap.installLazyActionMap(splitPane, BasicSplitPaneUI.class,                                           "SplitPane.actionMap");    }    InputMap getInputMap(int condition) {	if (condition == JComponent.WHEN_ANCESTOR_OF_FOCUSED_COMPONENT) {	    return (InputMap)DefaultLookup.get(splitPane, this,                                               "SplitPane.ancestorInputMap");	}	return null;    }    /**     * Uninstalls the UI.     */    public void uninstallUI(JComponent c) {        uninstallKeyboardActions();        uninstallListeners();        uninstallDefaults();        dividerLocationIsSet = false;        dividerKeyboardResize = false;

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美大片一区二区三区| 亚洲人快播电影网| 亚洲欧美激情小说另类| 精品亚洲国产成人av制服丝袜 | 久久综合九色综合欧美98| 亚洲精品五月天| 成人免费视频一区二区| 精品国产精品一区二区夜夜嗨| 一区二区欧美在线观看| 菠萝蜜视频在线观看一区| 精品国产三级a在线观看| 亚洲成人资源在线| 91久久人澡人人添人人爽欧美 | 欧美一区二区视频在线观看| 亚洲视频在线一区观看| 国产成人免费视频网站| 精品国产青草久久久久福利| 日韩成人免费看| 欧美主播一区二区三区| 亚洲精品视频一区| 色婷婷综合视频在线观看| 中文字幕国产精品一区二区| 国产在线播放一区三区四| 日韩欧美的一区二区| 麻豆久久久久久| 欧美一区二区三区公司| 久久亚洲综合色| 麻豆国产欧美日韩综合精品二区| 欧美午夜电影在线播放| 亚洲亚洲精品在线观看| 91黄色免费看| 亚瑟在线精品视频| 在线不卡免费欧美| 日韩精品一二三四| 日韩三级精品电影久久久| 日本亚洲电影天堂| 欧美mv日韩mv国产网站| 国产精品综合二区| 亚洲国产岛国毛片在线| 粉嫩欧美一区二区三区高清影视| 国产精品久久久久久亚洲伦| 大白屁股一区二区视频| 亚洲图片你懂的| 欧美视频在线观看一区| 日韩有码一区二区三区| 日韩欧美亚洲一区二区| 7777精品伊人久久久大香线蕉经典版下载| 亚洲天堂av老司机| 色国产综合视频| 亚洲国产wwwccc36天堂| 日韩三级视频中文字幕| 国产69精品久久99不卡| 亚洲欧美日韩综合aⅴ视频| 欧美色视频在线观看| 麻豆精品在线看| 国产精品网站在线观看| 欧美日韩午夜影院| 国产一区在线观看视频| 国产精品的网站| 欧美色爱综合网| 国产成人午夜视频| 一区二区三区中文免费| 精品国产91亚洲一区二区三区婷婷| 成人午夜电影网站| 丝袜亚洲另类欧美| 日本一区二区成人| 欧美猛男超大videosgay| 福利一区二区在线| 亚洲大尺度视频在线观看| 欧美一二区视频| 91一区二区在线| 久久国产福利国产秒拍| 国产精品久久精品日日| 欧美一区二区三区视频免费| 成人午夜视频在线| 麻豆久久一区二区| 亚洲精品国产a| 国产亚洲欧美在线| 91精品国产综合久久蜜臀| 波多野结衣中文字幕一区| 另类小说欧美激情| 亚洲成av人影院在线观看网| 国产精品午夜在线观看| 日韩精品一区二区三区视频播放| 91色porny蝌蚪| 成人午夜短视频| 国模大尺度一区二区三区| 亚洲高清一区二区三区| 亚洲私人黄色宅男| 久久日韩粉嫩一区二区三区| 三级欧美韩日大片在线看| 精品国产成人在线影院| 欧美日韩成人综合在线一区二区| 午夜精品免费在线| 一区二区三区波多野结衣在线观看| 国产日本一区二区| 精品88久久久久88久久久| 欧美日本在线播放| 欧美三级电影在线观看| 91丨九色丨蝌蚪丨老版| 成人蜜臀av电影| 国产精品一区二区不卡| 激情另类小说区图片区视频区| 日本成人中文字幕在线视频 | 成人综合婷婷国产精品久久蜜臀| 免费在线观看一区二区三区| 三级在线观看一区二区| 日韩电影免费在线观看网站| 丝袜a∨在线一区二区三区不卡| 亚洲一区成人在线| 香蕉久久夜色精品国产使用方法 | 亚洲一区二区综合| 亚洲一区二区三区爽爽爽爽爽| 亚洲制服丝袜av| 亚洲h动漫在线| 人妖欧美一区二区| 久久国产精品99久久人人澡| 久久成人av少妇免费| 国产黄人亚洲片| 丁香桃色午夜亚洲一区二区三区| 成人一区二区三区视频在线观看| 丁香婷婷综合激情五月色| 成人一区二区三区视频在线观看| 波多野结衣中文字幕一区二区三区| 成人免费视频app| 91福利视频久久久久| 欧美女孩性生活视频| 日韩欧美视频一区| 国产女主播在线一区二区| 国产精品视频你懂的| 亚洲乱码国产乱码精品精可以看 | eeuss鲁片一区二区三区在线观看 eeuss鲁片一区二区三区在线看 | 亚洲一区二区免费视频| 午夜精品久久久久影视| 国内一区二区在线| 成人av综合一区| 欧美日韩精品专区| 久久久.com| 亚洲色图清纯唯美| 日韩精品一级中文字幕精品视频免费观看| 久久黄色级2电影| av亚洲精华国产精华精| 欧美日韩dvd在线观看| 26uuu色噜噜精品一区| 国产精品情趣视频| 午夜一区二区三区在线观看| 国产一区二区三区香蕉| 91在线免费看| 欧美成人r级一区二区三区| 国产精品灌醉下药二区| 亚洲mv在线观看| 国产成人亚洲综合a∨婷婷 | 中文字幕欧美国产| 午夜精品久久久久久久99水蜜桃| 国产剧情在线观看一区二区 | 在线视频国内一区二区| 欧美一级国产精品| 亚洲精品视频在线观看网站| 久久国产夜色精品鲁鲁99| 色综合视频在线观看| 久久午夜国产精品| 午夜精品123| 91免费精品国自产拍在线不卡| 日韩免费视频一区二区| 亚洲小说春色综合另类电影| 成人美女视频在线观看| 日韩一级黄色大片| 亚洲一区二区三区三| av电影在线观看一区| 精品少妇一区二区三区免费观看 | 国产精品电影一区二区| 爽爽淫人综合网网站| 粉嫩av一区二区三区在线播放| 欧美一区二区国产| 一区二区日韩电影| 91视频xxxx| 欧美一级国产精品| 五月天激情综合网| 91同城在线观看| 国产精品人妖ts系列视频| 狠狠色丁香久久婷婷综| 日韩欧美在线影院| 日韩国产欧美在线观看| 欧美日韩在线播放三区四区| 一区二区三区在线观看网站| 97精品超碰一区二区三区| 国产精品视频免费看| 成人精品一区二区三区四区| www精品美女久久久tv| 久久精品99国产国产精| 日韩欧美国产三级电影视频| 免费精品视频最新在线| 欧美男生操女生| 日韩精品免费视频人成| 欧美一级日韩一级| 久久精品国产999大香线蕉| 欧美成人一级视频| 国产美女精品人人做人人爽| 久久久久久免费网| 国产99久久久国产精品潘金网站|