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

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

?? basicsplitpaneui.java

?? JAVA的一些源碼 JAVA2 STANDARD EDITION DEVELOPMENT KIT 5.0
?? JAVA
?? 第 1 頁(yè) / 共 5 頁(yè)
字號(hào):
/* * @(#)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;

?? 快捷鍵說(shuō)明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产精品丝袜久久久久久app| 久草精品在线观看| 日韩一区在线播放| 国产午夜精品久久久久久久 | 7777精品伊人久久久大香线蕉的| 91浏览器在线视频| 色综合久久九月婷婷色综合| 97精品久久久久中文字幕| 91美女蜜桃在线| 欧美在线播放高清精品| 欧美日韩大陆一区二区| 777亚洲妇女| 精品少妇一区二区三区日产乱码 | 国产精品嫩草久久久久| 国产精品网站在线观看| 最新国产の精品合集bt伙计| 亚洲一区在线播放| 日韩电影免费一区| 久久99热这里只有精品| 狠狠色狠狠色综合| www.爱久久.com| 91黄色在线观看| 日韩亚洲国产中文字幕欧美| 久久综合久色欧美综合狠狠| 日本一区二区久久| 一区二区三区久久| 狂野欧美性猛交blacked| 国产一区二区三区在线观看精品| 成人sese在线| 欧美自拍偷拍午夜视频| 日韩片之四级片| 国产精品麻豆视频| 五月婷婷色综合| 国产一区二区女| 91视视频在线观看入口直接观看www | 五月天中文字幕一区二区| 美女视频一区二区| 成人久久18免费网站麻豆| 在线观看91视频| 精品免费国产一区二区三区四区| 欧美国产禁国产网站cc| 亚洲高清一区二区三区| 国产美女在线精品| 在线视频综合导航| 欧美mv日韩mv亚洲| 亚洲免费毛片网站| 精久久久久久久久久久| 91丝袜呻吟高潮美腿白嫩在线观看| 欧美伦理电影网| 国产日韩欧美综合在线| 亚洲五码中文字幕| 国产一级精品在线| 欧美三级韩国三级日本一级| 久久综合色鬼综合色| 亚洲午夜久久久久久久久电影网| 国产一区二区不卡在线| 欧美主播一区二区三区美女| 久久影音资源网| 亚洲成人免费电影| jlzzjlzz亚洲女人18| 欧美一区二区三级| 亚洲视频资源在线| 黑人巨大精品欧美黑白配亚洲| 91视频在线观看| 精品久久一区二区| 亚洲高清一区二区三区| 成人永久免费视频| 91精品国产全国免费观看| 亚洲视频免费在线观看| 国产精品亚洲第一区在线暖暖韩国| 在线看国产一区| 国产精品久久久久永久免费观看 | 亚洲成人免费视| www.日韩在线| 久久久精品tv| 美日韩一区二区三区| 欧美日免费三级在线| 国产精品萝li| 岛国一区二区在线观看| 精品国产一区二区国模嫣然| 丝袜诱惑亚洲看片| 在线亚洲人成电影网站色www| 欧美国产综合一区二区| 激情小说欧美图片| 日韩精品中文字幕在线不卡尤物 | 91在线看国产| 亚洲国产成人自拍| 国产毛片精品视频| 精品欧美乱码久久久久久| 首页亚洲欧美制服丝腿| 在线精品视频免费观看| 亚洲欧洲韩国日本视频| 高清免费成人av| 久久―日本道色综合久久| 免费成人av资源网| 在线播放日韩导航| 亚洲成人精品影院| 欧美三级资源在线| 亚洲国产视频一区二区| 欧美性大战久久久| 亚洲超碰精品一区二区| 欧美日韩精品三区| 五月天中文字幕一区二区| 欧美美女一区二区在线观看| 亚洲高清视频在线| 欧美精品18+| 青青草精品视频| 精品国产一区二区三区忘忧草| 久久国产精品露脸对白| 久久综合九色综合欧美亚洲| 韩国精品一区二区| 国产欧美视频一区二区| 成人免费不卡视频| 成人欧美一区二区三区黑人麻豆| 99国产精品久| 一区二区三区美女视频| 欧美日本精品一区二区三区| 日韩高清在线一区| 精品免费国产一区二区三区四区| 国产毛片精品国产一区二区三区| 国产精品污网站| 日本伦理一区二区| 五月综合激情网| 2023国产精华国产精品| 成人免费毛片app| 一区二区不卡在线视频 午夜欧美不卡在| 色噜噜狠狠成人网p站| 五月天亚洲婷婷| 久久夜色精品国产欧美乱极品| 国产91在线观看丝袜| 亚洲视频网在线直播| 51久久夜色精品国产麻豆| 激情欧美一区二区三区在线观看| 国产日产欧美精品一区二区三区| 91麻豆免费看片| 日韩激情视频网站| 久久久久88色偷偷免费| 99r国产精品| 丝袜亚洲精品中文字幕一区| 2024国产精品| 欧美性做爰猛烈叫床潮| 久久精品国产精品亚洲综合| 中文字幕中文字幕中文字幕亚洲无线| 91国偷自产一区二区三区成为亚洲经典 | 91久久精品一区二区三| 蜜桃免费网站一区二区三区| 国产精品无人区| 欧美丰满一区二区免费视频 | 99久久精品99国产精品| 视频一区视频二区中文字幕| 欧美韩国日本一区| 欧美精品在欧美一区二区少妇| 国产综合色在线视频区| 亚洲一区二区高清| 久久精品一区蜜桃臀影院| 欧美亚洲另类激情小说| 国产精品小仙女| 亚洲成人高清在线| 久久精品国产久精国产| 亚洲色图在线播放| 欧美成人video| 在线观看日产精品| 国产成人精品www牛牛影视| 婷婷综合五月天| 中文字幕日韩一区| 2021中文字幕一区亚洲| 欧美日韩国产高清一区二区| 不卡的av电影| 国产综合色精品一区二区三区| 亚洲成a人片在线不卡一二三区| 欧美极品少妇xxxxⅹ高跟鞋| 日韩一二在线观看| 欧美视频中文字幕| 99久久综合国产精品| 国产一区二区中文字幕| 日本中文字幕一区| 亚洲影视在线播放| 国产精品二三区| 国产午夜精品久久| 欧美成人bangbros| 日韩一区二区三区免费看| 在线观看三级视频欧美| 97精品久久久久中文字幕| 国产成人免费av在线| 国内久久精品视频| 欧美aⅴ一区二区三区视频| 亚洲制服丝袜一区| 亚洲激情男女视频| 亚洲欧洲美洲综合色网| 国产精品毛片大码女人| 国产欧美视频一区二区三区| 精品福利二区三区| 欧美一区二区三区成人| 7777精品伊人久久久大香线蕉的 | 久久综合视频网| 日韩欧美黄色影院| 欧美一级片在线看| 欧美一二三四区在线| 91精品欧美福利在线观看| 欧美色偷偷大香|