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

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

?? jscrollpane.java

?? gcc的組建
?? JAVA
?? 第 1 頁 / 共 2 頁
字號:
/* JScrollPane.java --    Copyright (C) 2002, 2004, 2005  Free Software Foundation, Inc.This file is part of GNU Classpath.GNU Classpath is free software; you can redistribute it and/or modifyit under the terms of the GNU General Public License as published bythe Free Software Foundation; either version 2, or (at your option)any later version.GNU Classpath is distributed in the hope that it will be useful, butWITHOUT ANY WARRANTY; without even the implied warranty ofMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNUGeneral Public License for more details.You should have received a copy of the GNU General Public Licensealong with GNU Classpath; see the file COPYING.  If not, write to theFree Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA02110-1301 USA.Linking this library statically or dynamically with other modules ismaking a combined work based on this library.  Thus, the terms andconditions of the GNU General Public License cover the wholecombination.As a special exception, the copyright holders of this library give youpermission to link this library with independent modules to produce anexecutable, regardless of the license terms of these independentmodules, and to copy and distribute the resulting executable underterms of your choice, provided that you also meet, for each linkedindependent module, the terms and conditions of the license of thatmodule.  An independent module is a module which is not derived fromor based on this library.  If you modify this library, you may extendthis exception to your version of the library, but you are notobligated to do so.  If you do not wish to do so, delete thisexception statement from your version. */package javax.swing;import java.awt.Component;import java.awt.ComponentOrientation;import java.awt.Insets;import java.awt.LayoutManager;import java.awt.Rectangle;import java.beans.PropertyChangeEvent;import java.beans.PropertyChangeListener;import javax.accessibility.Accessible;import javax.accessibility.AccessibleContext;import javax.swing.border.Border;import javax.swing.event.ChangeEvent;import javax.swing.event.ChangeListener;import javax.swing.plaf.ScrollPaneUI;import javax.swing.plaf.UIResource;/** * A component that embeds another component and enables it to be scrolled * both in horizontal and vertical direction. * * <table> * <tr><th>Property                    </th><th>Stored in       </th><th>Bound?</th></tr> * <tr><td>columnHeader                </td><td>scrollPane      </td><td>yes   </td></tr> * <tr><td>columnHeaderView            </td><td>columnHeader    </td><td>no    </td></tr> * <tr><td>componentOrientation        </td><td>scrollPane      </td><td>yes   </td></tr> * <tr><td>horizontalScrollBar         </td><td>scrollPane      </td><td>yes   </td></tr> * <tr><td>horizontalScrollBarPolicy   </td><td>scrollPane      </td><td>yes   </td></tr> * <tr><td>layout                      </td><td>scrollPane      </td><td>yes   </td></tr> * <tr><td>rowHeader                   </td><td>scrollPane      </td><td>yes   </td></tr> * <tr><td>rowHeaderView               </td><td>rowHeader       </td><td>no    </td></tr> * <tr><td>validateRoot                </td><td>scrollPane      </td><td>no    </td></tr> * <tr><td>verticalScrollBar           </td><td>scrollPane      </td><td>yes   </td></tr> * <tr><td>verticalScrollBarPolicy     </td><td>scrollPane      </td><td>yes   </td></tr> * <tr><td>viewport                    </td><td>scrollPane      </td><td>yes   </td></tr> * <tr><td>viewportBorder              </td><td>scrollPane      </td><td>yes   </td></tr> * <tr><td>viewportBorderBounds        </td><td>scrollPane      </td><td>no    </td></tr> * <tr><td>viewportView                </td><td>viewport        </td><td>no    </td></tr> * <tr><td>wheelScrollingEnabled       </td><td>scrollPane      </td><td>yes   </td></tr> * </table> */public class JScrollPane extends JComponent  implements Accessible, ScrollPaneConstants{  /**   * Provides accessibility support for the <code>JScrollPane</code>.   *   * @author Roman Kennke (kennke@aicas.com)   */  protected class AccessibleJScrollPane extends AccessibleJComponent    implements ChangeListener, PropertyChangeListener  {    /**     * The viewport of the underlying scrollpane.     */    protected JViewport viewPort;    /**     * Creates a new <code>AccessibleJScrollPane</code> object. This     * initializes the <code>viewport</code> field with the current viewport     * from the scrollpane associated with this     * <code>AccessibleJScrollPane</code>.     */    public AccessibleJScrollPane()    {      viewPort = getViewport();      viewPort.addChangeListener(this);      viewPort.addPropertyChangeListener(this);    }    /**     * Receives notification when the state of the viewport changes.     *     * @param event the change event     */    public void stateChanged(ChangeEvent event)    {      // TODO: Figure out what should be done here, if anything.    }    /**     * Receives notification if any of the viewport's bound properties changes.     *     * @param e the propery change event     */    public void propertyChange(PropertyChangeEvent e)    {      // TODO: Figure out what should be done here, if anything.    }    /**     * Resets the <code>viewPort</code> field when the scrollpane's viewport     * changes. This method is called by     * {@link JScrollPane#setViewport(JViewport)} in order to update the     * <code>viewPort</code> field and set up the listeners on this viewport     * correctly.     */    public void resetViewPort()    {      viewPort.removeChangeListener(this);      viewPort.removePropertyChangeListener(this);      viewPort = getViewport();      viewPort.addChangeListener(this);      viewPort.addPropertyChangeListener(this);    }  }  private static final long serialVersionUID = 5203525440012340014L;    protected JViewport columnHeader;  protected JViewport rowHeader;  protected Component lowerLeft;  protected Component lowerRight;  protected Component upperLeft;  protected Component upperRight;  protected JScrollBar horizontalScrollBar;  protected int horizontalScrollBarPolicy;  protected JScrollBar verticalScrollBar;  protected int verticalScrollBarPolicy;  protected JViewport viewport;    Border viewportBorder;  boolean wheelScrollingEnabled;  public JViewport getColumnHeader()  {    return columnHeader;  }  public Component getCorner(String key) {    if (getComponentOrientation()         == ComponentOrientation.LEFT_TO_RIGHT)      {        if (key == LOWER_LEADING_CORNER)          key = LOWER_LEFT_CORNER;        else if (key == LOWER_TRAILING_CORNER)          key = LOWER_RIGHT_CORNER;        else if (key == UPPER_LEADING_CORNER)          key = UPPER_LEFT_CORNER;        else if (key == UPPER_TRAILING_CORNER)          key = UPPER_RIGHT_CORNER;      }    else if (getComponentOrientation()              == ComponentOrientation.RIGHT_TO_LEFT)      {        if (key == LOWER_LEADING_CORNER)          key = LOWER_RIGHT_CORNER;        else if (key == LOWER_TRAILING_CORNER)          key = LOWER_LEFT_CORNER;        else if (key == UPPER_LEADING_CORNER)          key = UPPER_RIGHT_CORNER;        else if (key == UPPER_TRAILING_CORNER)          key = UPPER_LEFT_CORNER;      }    if (key == LOWER_RIGHT_CORNER)      return lowerRight;    else if (key == UPPER_RIGHT_CORNER)      return upperRight;    else if (key == LOWER_LEFT_CORNER)      return lowerLeft;    else if (key == UPPER_LEFT_CORNER)      return upperLeft;    return null;  }  public JScrollBar getHorizontalScrollBar()  {    return horizontalScrollBar;  }  public int getHorizontalScrollBarPolicy()  {    return horizontalScrollBarPolicy;  }  public JViewport getRowHeader()  {    return rowHeader;  }  public JScrollBar getVerticalScrollBar()  {    return verticalScrollBar;  }  public int getVerticalScrollBarPolicy()  {    return verticalScrollBarPolicy;  }  public JViewport getViewport()  {    return viewport;  }  public Border getViewportBorder()  {    return viewportBorder;  }  public Rectangle getViewportBorderBounds()  {    if (viewportBorder == null)      {        if (getViewport() == null)          return new Rectangle(0,0,0,0);        else          return getViewport().getBounds();      }    else      {        Insets i = viewportBorder.getBorderInsets(getViewport());        if (getViewport() == null)          return new Rectangle(0,0,                               i.left+i.right, i.top+i.bottom);        else          {            Rectangle b = getViewport().getBounds();            return new Rectangle(b.x - i.left,                                  b.y - i.top,                                 b.width + i.left + i.right,                                  b.height + i.top + i.bottom);          }      }  }    public boolean isWheelScrollingEnabled()  {    return wheelScrollingEnabled;  }  private void sync()  {    LayoutManager m = super.getLayout();    if (m != null && m instanceof ScrollPaneLayout)      {        ScrollPaneLayout sl = (ScrollPaneLayout) m;        sl.syncWithScrollPane(this);      }  }  private void removeNonNull(Component c)  {    if (c != null)      remove(c);  }  private void addNonNull(Component c, Object constraints)  {    if (c != null)      add(c, constraints);  }  public void setComponentOrientation(ComponentOrientation co)  {    ComponentOrientation old = super.getComponentOrientation();    super.setComponentOrientation(co);    firePropertyChange("componentOrientation", old, co);    sync();  }  public void setColumnHeader(JViewport h)  {    if (columnHeader == h)      return;        JViewport old = columnHeader;    removeNonNull(old);    columnHeader = h;    addNonNull(h, JScrollPane.COLUMN_HEADER);    firePropertyChange("columnHeader", old, h);    sync();  }  public void setColumnHeaderView(Component c)  {    if (columnHeader == null)      setColumnHeader(createViewport());    columnHeader.setView(c);    sync();  }  public void setCorner(String key, Component c)  {    if (getComponentOrientation()         == ComponentOrientation.LEFT_TO_RIGHT)      {        if (key == LOWER_LEADING_CORNER)          key = LOWER_LEFT_CORNER;        else if (key == LOWER_TRAILING_CORNER)          key = LOWER_RIGHT_CORNER;        else if (key == UPPER_LEADING_CORNER)          key = UPPER_LEFT_CORNER;        else if (key == UPPER_TRAILING_CORNER)          key = UPPER_RIGHT_CORNER;      }    else if (getComponentOrientation()              == ComponentOrientation.RIGHT_TO_LEFT)      {        if (key == LOWER_LEADING_CORNER)          key = LOWER_RIGHT_CORNER;        else if (key == LOWER_TRAILING_CORNER)          key = LOWER_LEFT_CORNER;        else if (key == UPPER_LEADING_CORNER)          key = UPPER_RIGHT_CORNER;        else if (key == UPPER_TRAILING_CORNER)          key = UPPER_LEFT_CORNER;      }    if (key == LOWER_RIGHT_CORNER)

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产视频亚洲色图| 欧美日本一道本| 美女在线视频一区| 经典一区二区三区| 成人av电影在线| 欧美日韩电影在线播放| 精品久久久久久最新网址| 国产精品剧情在线亚洲| 午夜亚洲福利老司机| 国产一区二区免费在线| 一本色道久久综合狠狠躁的推荐| 欧美日韩不卡一区二区| 久久久精品人体av艺术| 亚洲最大成人综合| 久草精品在线观看| 色综合咪咪久久| 日韩一卡二卡三卡| 国产精品国产三级国产三级人妇| 亚洲成人激情社区| 粉嫩嫩av羞羞动漫久久久 | 日韩免费电影网站| 国产精品久久久久久亚洲毛片| 三级影片在线观看欧美日韩一区二区 | 国产精品久久久久久久久晋中 | 国内外精品视频| 99久久99久久精品国产片果冻| 韩国av一区二区三区四区| 欧美日韩国产一级二级| 国产精品一卡二卡| 综合欧美一区二区三区| 欧美手机在线视频| 久99久精品视频免费观看| 国产精品区一区二区三区| 欧美一区二视频| 国产福利一区二区三区视频| 精品国产免费一区二区三区四区| 日韩电影在线看| 99精品视频在线播放观看| 国产日韩欧美精品电影三级在线| 国产毛片精品一区| 国产精品大尺度| 菠萝蜜视频在线观看一区| 91国偷自产一区二区开放时间| 亚洲综合清纯丝袜自拍| 国产成人av影院| 日韩一级片在线观看| 一区二区三区电影在线播| 国产成a人亚洲| 日韩欧美你懂的| 丝袜美腿高跟呻吟高潮一区| 一本到高清视频免费精品| 国产天堂亚洲国产碰碰| 麻豆国产精品777777在线| 欧美日韩亚洲另类| 亚洲精品第1页| caoporn国产精品| 国产亲近乱来精品视频| 国产精品夜夜爽| 精品国产乱码久久久久久1区2区| 免播放器亚洲一区| 欧美一区二区三区视频免费播放| 亚洲国产日韩a在线播放性色| 91久久久免费一区二区| 亚洲欧美福利一区二区| 成人国产精品视频| 一色屋精品亚洲香蕉网站| eeuss鲁片一区二区三区在线观看 eeuss鲁片一区二区三区在线看 | 欧美性三三影院| 日本乱人伦aⅴ精品| 日韩影院精彩在线| 另类小说视频一区二区| 欧美日本一道本| 国内久久精品视频| 亚洲视频图片小说| 久久精品一区二区| 日韩一区二区三区电影在线观看 | 欧美系列在线观看| 在线观看国产精品网站| 91精品国产欧美一区二区18 | 国产精品77777竹菊影视小说| 国产丝袜欧美中文另类| 91久久精品国产91性色tv| 美女视频第一区二区三区免费观看网站| 亚洲丝袜美腿综合| 亚洲精品国久久99热| 国产精品国产三级国产普通话蜜臀| 99久久伊人精品| 国产精品一区二区久久精品爱涩 | 亚洲一区二区美女| 51久久夜色精品国产麻豆| 偷拍与自拍一区| 日韩欧美亚洲国产另类| 国产一区久久久| 亚洲国产成人自拍| 欧美午夜精品电影| 日本欧美一区二区三区乱码| 精品理论电影在线| 国产91在线观看丝袜| 亚洲男人电影天堂| 欧美情侣在线播放| 精品亚洲aⅴ乱码一区二区三区| 国产午夜精品一区二区三区视频 | 亚洲综合激情另类小说区| 欧美日韩亚洲高清一区二区| 麻豆精品精品国产自在97香蕉 | av在线不卡观看免费观看| 一级女性全黄久久生活片免费| 欧美精品日韩精品| 极品少妇一区二区三区精品视频| 中文字幕中文乱码欧美一区二区| 日本高清不卡aⅴ免费网站| 午夜电影一区二区三区| 亚洲精品视频免费观看| 亚洲午夜激情av| 粉嫩欧美一区二区三区高清影视| 国产91丝袜在线播放九色| 国产成人夜色高潮福利影视| 国产精品中文字幕欧美| 色琪琪一区二区三区亚洲区| 欧美一级国产精品| 色综合天天综合网天天狠天天| 日韩一区二区精品在线观看| 日韩精品福利网| 欧美情侣在线播放| 肉丝袜脚交视频一区二区| 99re6这里只有精品视频在线观看| 国产精品毛片大码女人| 成人av片在线观看| 亚洲日本va午夜在线影院| 国产iv一区二区三区| 欧美女孩性生活视频| 日本一二三不卡| 日本不卡视频一二三区| 91搞黄在线观看| 国产精品久久一卡二卡| 国产999精品久久久久久| 4438x成人网最大色成网站| 国产精品麻豆网站| 精品亚洲成av人在线观看| 欧美成人艳星乳罩| 青青草国产精品97视觉盛宴 | 亚洲综合偷拍欧美一区色| 久久嫩草精品久久久精品一| 欧美性高清videossexo| 高清不卡一二三区| 日本欧美一区二区| 亚洲网友自拍偷拍| 亚洲视频中文字幕| 久久久影院官网| 91精品国产综合久久久蜜臀粉嫩| 99riav久久精品riav| 韩国精品在线观看| 日韩电影在线免费看| 一区二区三区日韩| 国产精品丝袜黑色高跟| 精品国偷自产国产一区| 欧美久久久久久蜜桃| 欧洲视频一区二区| 99这里只有久久精品视频| 国产一区二区三区四| 免费观看成人鲁鲁鲁鲁鲁视频| 一区二区三区产品免费精品久久75| 国产人成亚洲第一网站在线播放 | 国产99久久久国产精品| 久久国产精品露脸对白| 日本亚洲欧美天堂免费| 亚洲一区二区精品3399| 亚洲www啪成人一区二区麻豆| 欧美电影精品一区二区| 欧美视频自拍偷拍| 亚洲成a人v欧美综合天堂| 在线观看网站黄不卡| 一卡二卡三卡日韩欧美| 欧美日韩国产首页| 国产精品自拍在线| 一区二区三区国产豹纹内裤在线| 午夜精品福利久久久| 精品美女被调教视频大全网站| 欧美精品电影在线播放| 欧美三级电影一区| 色欧美片视频在线观看在线视频| 懂色av噜噜一区二区三区av| 国产一区二区网址| 国产精品自拍网站| 国产成人精品亚洲午夜麻豆| 国产精品 日产精品 欧美精品| 国产精品一二三四| 国产精品99久久久久久有的能看| 一区二区三区四区精品在线视频| 制服丝袜亚洲色图| 色天天综合色天天久久| 成人精品小蝌蚪| 亚洲高清久久久| 亚洲综合一区二区精品导航| 亚洲男同性恋视频| 精品久久久久久久人人人人传媒| 欧美一区二区三区男人的天堂| 91在线视频免费观看| 风间由美一区二区av101 | 日韩美女一区二区三区|