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

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

?? basicsplitpaneui.java

?? JAVA的一些源碼 JAVA2 STANDARD EDITION DEVELOPMENT KIT 5.0
?? JAVA
?? 第 1 頁 / 共 5 頁
字號:
        splitPane = null;    }    /**     * Uninstalls the UI defaults.     */    protected void uninstallDefaults() {        if(splitPane.getLayout() == layoutManager) {            splitPane.setLayout(null);        }        if(nonContinuousLayoutDivider != null) {            splitPane.remove(nonContinuousLayoutDivider);        }        LookAndFeel.uninstallBorder(splitPane);	Border    b = divider.getBorder();	if (b instanceof UIResource) {	    divider.setBorder(null);	}        splitPane.remove(divider);        divider.setBasicSplitPaneUI(null);        layoutManager = null;        divider = null;        nonContinuousLayoutDivider = null;        setNonContinuousLayoutDivider(null);	// sets the focus forward and backward traversal keys to null	// to restore the defaults	splitPane.setFocusTraversalKeys(KeyboardFocusManager.FORWARD_TRAVERSAL_KEYS, null);	splitPane.setFocusTraversalKeys(KeyboardFocusManager.BACKWARD_TRAVERSAL_KEYS, null);    }    /**     * Uninstalls the event listeners for the UI.     */    protected void uninstallListeners() {        if (propertyChangeListener != null) {            splitPane.removePropertyChangeListener(propertyChangeListener);            propertyChangeListener = null;        }        if (focusListener != null) {            splitPane.removeFocusListener(focusListener);            focusListener = null;        }        keyboardUpLeftListener = null;        keyboardDownRightListener = null;        keyboardHomeListener = null;        keyboardEndListener = null;        keyboardResizeToggleListener = null;        handler = null;    }    /**     * Uninstalls the keyboard actions for the UI.     */    protected void uninstallKeyboardActions() {	SwingUtilities.replaceUIActionMap(splitPane, null);	SwingUtilities.replaceUIInputMap(splitPane, JComponent.				      WHEN_ANCESTOR_OF_FOCUSED_COMPONENT,				      null);    }    /**     * Creates a PropertyChangeListener for the JSplitPane UI.     */    protected PropertyChangeListener createPropertyChangeListener() {        return getHandler();    }    private Handler getHandler() {        if (handler == null) {            handler = new Handler();        }        return handler;    }    /**     * Creates a FocusListener for the JSplitPane UI.     */    protected FocusListener createFocusListener() {        return getHandler();    }    /**     * As of Java 2 platform v1.3 this method is no     * longer used. Subclassers previously using this method should     * instead create an Action wrapping the ActionListener, and register     * that Action by overriding <code>installKeyboardActions</code> and     * placing the Action in the SplitPane's ActionMap. Please refer to     * the key bindings specification for further details.     * <p>     * Creates a ActionListener for the JSplitPane UI that listens for     * specific key presses.     *     * @deprecated As of Java 2 platform v1.3.     */    @Deprecated    protected ActionListener createKeyboardUpLeftListener() {        return new KeyboardUpLeftHandler();    }    /**     * As of Java 2 platform v1.3 this method is no     * longer used. Subclassers previously using this method should     * instead create an Action wrapping the ActionListener, and register     * that Action by overriding <code>installKeyboardActions</code> and     * placing the Action in the SplitPane's ActionMap. Please refer to     * the key bindings specification for further details.     * <p>     * Creates a ActionListener for the JSplitPane UI that listens for     * specific key presses.     *     * @deprecated As of Java 2 platform v1.3.     */    @Deprecated    protected ActionListener createKeyboardDownRightListener() {        return new KeyboardDownRightHandler();    }    /**     * As of Java 2 platform v1.3 this method is no     * longer used. Subclassers previously using this method should     * instead create an Action wrapping the ActionListener, and register     * that Action by overriding <code>installKeyboardActions</code> and     * placing the Action in the SplitPane's ActionMap. Please refer to     * the key bindings specification for further details.     * <p>     * Creates a ActionListener for the JSplitPane UI that listens for     * specific key presses.     *     * @deprecated As of Java 2 platform v1.3.     */    @Deprecated    protected ActionListener createKeyboardHomeListener() {        return new KeyboardHomeHandler();    }    /**     * As of Java 2 platform v1.3 this method is no     * longer used. Subclassers previously using this method should     * instead create an Action wrapping the ActionListener, and register     * that Action by overriding <code>installKeyboardActions</code> and     * placing the Action in the SplitPane's ActionMap. Please refer to     * the key bindings specification for further details.     * <p>     * Creates a ActionListener for the JSplitPane UI that listens for     * specific key presses.     *     * @deprecated As of Java 2 platform v1.3.     */    @Deprecated    protected ActionListener createKeyboardEndListener() {        return new KeyboardEndHandler();    }    /**     * As of Java 2 platform v1.3 this method is no     * longer used. Subclassers previously using this method should     * instead create an Action wrapping the ActionListener, and register     * that Action by overriding <code>installKeyboardActions</code> and     * placing the Action in the SplitPane's ActionMap. Please refer to     * the key bindings specification for further details.     * <p>     * Creates a ActionListener for the JSplitPane UI that listens for     * specific key presses.     *     * @deprecated As of Java 2 platform v1.3.     */    @Deprecated    protected ActionListener createKeyboardResizeToggleListener() {        return new KeyboardResizeToggleHandler();    }    /**     * Returns the orientation for the JSplitPane.     */    public int getOrientation() {        return orientation;    }    /**     * Set the orientation for the JSplitPane.     */    public void setOrientation(int orientation) {        this.orientation = orientation;    }    /**     * Determines wether the JSplitPane is set to use a continuous layout.     */    public boolean isContinuousLayout() {        return continuousLayout;    }    /**     * Turn continuous layout on/off.     */    public void setContinuousLayout(boolean b) {        continuousLayout = b;    }    /**     * Returns the last drag location of the JSplitPane.     */    public int getLastDragLocation() {        return lastDragLocation;    }    /**     * Set the last drag location of the JSplitPane.     */    public void setLastDragLocation(int l) {        lastDragLocation = l;    }    /**     * @return increment via keyboard methods.     */    int getKeyboardMoveIncrement() {	return KEYBOARD_DIVIDER_MOVE_OFFSET;    }    /**     * Implementation of the PropertyChangeListener     * that the JSplitPane UI uses.     * <p>     * This class should be treated as a &quot;protected&quot; inner class.     * Instantiate it only within subclasses of BasicSplitPaneUI.     */    public class PropertyHandler implements PropertyChangeListener    {        // NOTE: This class exists only for backward compatability. All        // its functionality has been moved into Handler. If you need to add        // new functionality add it to the Handler, but make sure this        // class calls into the Handler.        /**         * Messaged from the <code>JSplitPane</code> the receiver is         * contained in.  May potentially reset the layout manager and cause a         * <code>validate</code> to be sent.         */        public void propertyChange(PropertyChangeEvent e) {            getHandler().propertyChange(e);        }    }    /**     * Implementation of the FocusListener that the JSplitPane UI uses.     * <p>     * This class should be treated as a &quot;protected&quot; inner class.     * Instantiate it only within subclasses of BasicSplitPaneUI.     */    public class FocusHandler extends FocusAdapter    {        // NOTE: This class exists only for backward compatability. All        // its functionality has been moved into Handler. If you need to add        // new functionality add it to the Handler, but make sure this        // class calls into the Handler.        public void focusGained(FocusEvent ev) {            getHandler().focusGained(ev);        }        public void focusLost(FocusEvent ev) {            getHandler().focusLost(ev);        }    }        /**     * Implementation of an ActionListener that the JSplitPane UI uses for     * handling specific key presses.     * <p>     * This class should be treated as a &quot;protected&quot; inner class.     * Instantiate it only within subclasses of BasicSplitPaneUI.     */    public class KeyboardUpLeftHandler implements ActionListener    {        public void actionPerformed(ActionEvent ev) {            if (dividerKeyboardResize) {		splitPane.setDividerLocation(Math.max(0,getDividerLocation				  (splitPane) - getKeyboardMoveIncrement()));            }        }    }    /**     * Implementation of an ActionListener that the JSplitPane UI uses for     * handling specific key presses.     * <p>     * This class should be treated as a &quot;protected&quot; inner class.     * Instantiate it only within subclasses of BasicSplitPaneUI.     */    public class KeyboardDownRightHandler implements ActionListener    {        public void actionPerformed(ActionEvent ev) {            if (dividerKeyboardResize) {                splitPane.setDividerLocation(getDividerLocation(splitPane) +					     getKeyboardMoveIncrement());            }        }    }    /**     * Implementation of an ActionListener that the JSplitPane UI uses for     * handling specific key presses.     * <p>     * This class should be treated as a &quot;protected&quot; inner class.     * Instantiate it only within subclasses of BasicSplitPaneUI.     */    public class KeyboardHomeHandler implements ActionListener    {        public void actionPerformed(ActionEvent ev) {            if (dividerKeyboardResize) {                splitPane.setDividerLocation(0);            }        }    }        /**     * Implementation of an ActionListener that the JSplitPane UI uses for     * handling specific key presses.     * <p>     * This class should be treated as a &quot;protected&quot; inner class.     * Instantiate it only within subclasses of BasicSplitPaneUI.     */    public class KeyboardEndHandler implements ActionListener    {        public void actionPerformed(ActionEvent ev) {            if (dividerKeyboardResize) {		Insets   insets = splitPane.getInsets();		int      bottomI = (insets != null) ? insets.bottom : 0;		int      rightI = (insets != null) ? insets.right : 0;                if (orientation == JSplitPane.VERTICAL_SPLIT) {                    splitPane.setDividerLocation(splitPane.getHeight() -                                       bottomI);                }                else {                    splitPane.setDividerLocation(splitPane.getWidth() -						 rightI);                }            }        }    }    /**     * Implementation of an ActionListener that the JSplitPane UI uses for     * handling specific key presses.     * <p>     * This class should be treated as a &quot;protected&quot; inner class.     * Instantiate it only within subclasses of BasicSplitPaneUI.     */    public class KeyboardResizeToggleHandler implements ActionListener    {        public void actionPerformed(ActionEvent ev) {            if (!dividerKeyboardResize) {                splitPane.requestFocus();            }        }    }    /**     * Returns the divider between the top Components.     */    public BasicSplitPaneDivider getDivider() {        return divider;    }    /**     * Returns the default non continuous layout divider, which is an     * instanceof Canvas that fills the background in dark gray.     */    protected Component createDefaultNonContinuousLayoutDivider() {        return new Canvas() {            public void paint(Graphics g) {                if(!isContinuousLayout() && getLastDragLocation() != -1) {                    Dimension      size = splitPane.getSize();                    g.setColor(dividerDraggingColor);                    if(orientation == JSplitPane.HORIZONTAL_SPLIT) {                        g.fillRect(0, 0, dividerSize - 1, size.height - 1);                    } else {                        g.fillRect(0, 0, size.width - 1, dividerSize - 1);                    }                }            }        };    }

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
激情综合网最新| 国产精品美女www爽爽爽| 午夜精品久久久久久不卡8050| 99国产一区二区三精品乱码| 国产精品久久久久久久久免费樱桃 | 中文字幕亚洲一区二区va在线| 粉嫩av亚洲一区二区图片| 国产精品网曝门| 色呦呦网站一区| 亚洲.国产.中文慕字在线| 欧美日韩aaa| 久久成人麻豆午夜电影| 2020国产精品| 99视频国产精品| 亚洲一区在线观看免费| 欧美一区二区三区在线视频| 精品一区二区免费看| 欧美激情在线观看视频免费| 91在线精品一区二区| 亚洲va欧美va天堂v国产综合| 91精品国产综合久久精品麻豆 | 免费av网站大全久久| www成人在线观看| 懂色中文一区二区在线播放| 亚洲午夜在线电影| 日韩一级完整毛片| 北条麻妃一区二区三区| 亚洲国产精品尤物yw在线观看| 555夜色666亚洲国产免| 国产高清不卡二三区| 亚洲已满18点击进入久久| 日韩精品一区二区三区中文不卡| 丁香激情综合五月| 日韩制服丝袜先锋影音| 国产精品免费看片| 日韩一区二区三区在线视频| av电影在线观看完整版一区二区| 性感美女极品91精品| 国产精品成人在线观看| 欧美不卡一区二区三区| 在线免费av一区| 国产精品一区二区久激情瑜伽| 亚洲综合999| 中文字幕成人网| 日韩三级免费观看| 色天使久久综合网天天| 国产另类ts人妖一区二区| 亚洲无线码一区二区三区| 一区二区三区四区亚洲| 91精品国产入口| 色综合一个色综合亚洲| 国产精品18久久久久久久网站| 亚洲高清视频中文字幕| 国产精品免费久久久久| 久久综合九色综合欧美98| 欧美亚洲一区三区| thepron国产精品| 国产一本一道久久香蕉| 日韩国产在线一| 一区二区三区免费观看| 欧美国产97人人爽人人喊| 精品成人在线观看| 91精选在线观看| 欧美性感一区二区三区| 91色.com| 99精品一区二区三区| 国产经典欧美精品| 国产一区二区三区综合| 美国十次综合导航| 日韩精品欧美成人高清一区二区| 亚洲综合丝袜美腿| 亚洲精品免费在线观看| 中文字幕一区在线观看视频| 久久久久99精品一区| 精品成人一区二区| 久久蜜桃av一区二区天堂| 精品理论电影在线| 欧美成人三级电影在线| 日韩精品一区二区三区三区免费 | 日本亚洲视频在线| 五月婷婷欧美视频| 香蕉久久一区二区不卡无毒影院| 亚洲电影激情视频网站| 午夜精品久久久久久久久| 亚洲国产精品天堂| 亚洲电影视频在线| 日韩精品一二三四| 久久精品国产久精国产| 六月丁香婷婷色狠狠久久| 久久国产精品色| 国内精品久久久久影院一蜜桃| 韩国欧美国产1区| 国产成人在线色| 不卡的av在线播放| 色婷婷激情一区二区三区| 91在线无精精品入口| 91麻豆视频网站| 欧美视频精品在线| 日韩美女视频在线| 欧美国产综合一区二区| 国产精品你懂的在线| 一区二区在线观看免费视频播放 | 欧美妇女性影城| 欧美一级片在线| 久久人人超碰精品| 国产精品国产三级国产普通话三级 | 日韩一区二区视频在线观看| 亚洲天堂网中文字| 一区二区视频在线看| 日韩精品视频网站| 国产成人免费在线| 一本大道久久a久久精二百| 欧美日韩高清在线| www亚洲一区| 亚洲品质自拍视频网站| 视频一区二区不卡| 国产98色在线|日韩| 欧美日韩综合在线| 久久品道一品道久久精品| 国产精品美女久久久久aⅴ| 亚洲3atv精品一区二区三区| 国内精品伊人久久久久影院对白| 97精品电影院| 精品乱人伦一区二区三区| 国产精品国产三级国产aⅴ中文| 亚洲一区二区免费视频| 国产福利视频一区二区三区| 色综合久久天天| 2020国产成人综合网| 夜夜嗨av一区二区三区网页| 美女性感视频久久| 色偷偷久久人人79超碰人人澡| 欧美成va人片在线观看| 亚洲人成7777| 极品瑜伽女神91| 欧美色综合网站| 国产精品天美传媒| 麻豆中文一区二区| 欧洲精品一区二区| 久久久精品国产免大香伊| 亚洲在线视频免费观看| 国产一区二区美女诱惑| 88在线观看91蜜桃国自产| 国产精品免费丝袜| 狠狠久久亚洲欧美| 欧美顶级少妇做爰| 夜色激情一区二区| 成人黄色免费短视频| 久久亚洲精品小早川怜子| 午夜电影一区二区| 色婷婷国产精品| 国产精品黄色在线观看| 经典三级视频一区| 欧美另类一区二区三区| 欧美日韩电影一区| 国产精品国产三级国产a| 美日韩一级片在线观看| 7799精品视频| 亚洲男人的天堂一区二区| 国产一区视频在线看| 欧美日本在线播放| 亚洲风情在线资源站| 成人av电影在线网| 久久久精品欧美丰满| 亚洲综合在线第一页| 91麻豆国产在线观看| 国产精品每日更新在线播放网址| 美女精品自拍一二三四| 欧美四级电影网| 亚洲大尺度视频在线观看| 国产精品亚洲午夜一区二区三区| 欧美一区二区三区在线| 亚洲一区二区在线观看视频| 色一情一乱一乱一91av| 国产精品美女视频| 国产精品1024| 久久综合av免费| 奇米一区二区三区| 欧美日韩精品三区| 亚洲欧美经典视频| 国产伦精品一区二区三区在线观看| 91在线观看高清| 中文字幕av在线一区二区三区| 国产精品中文字幕欧美| 国产日产欧美一区| 成人一二三区视频| 日本伊人精品一区二区三区观看方式| 精品裸体舞一区二区三区| 日韩国产高清影视| 欧美日韩中文字幕一区| 天堂一区二区在线| 欧美一区二区三区视频| 日韩国产高清影视| 久久午夜色播影院免费高清| 激情六月婷婷综合| 亚洲国产精品成人综合| 高清成人在线观看| 国产在线一区观看| 久久精品夜夜夜夜久久| 成人在线一区二区三区|