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

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

?? jscrollpane.java

?? linux下編程用 編譯軟件
?? 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一区二区三区免费野_久草精品视频
亚洲欧美一区二区三区久本道91 | 日韩美一区二区三区| 精品一区二区久久| 亚洲欧美日本在线| 欧美mv日韩mv| 欧美女孩性生活视频| 91免费版pro下载短视频| 韩国精品主播一区二区在线观看 | 色婷婷精品久久二区二区蜜臂av| 蜜桃av一区二区三区| 一区二区三区欧美视频| 中文字幕精品—区二区四季| 日韩精品一区二区三区在线播放 | 精品人在线二区三区| 色哦色哦哦色天天综合| 成人一道本在线| 国产成人精品网址| 精品无码三级在线观看视频 | 韩国成人在线视频| 五月婷婷欧美视频| 亚洲福利视频导航| 亚洲一区二区视频在线观看| 中文字幕欧美区| 久久―日本道色综合久久| 日韩你懂的在线播放| 制服丝袜中文字幕一区| 欧美三级欧美一级| 欧美艳星brazzers| 在线免费观看一区| 色综合中文综合网| 欧美视频在线观看一区二区| 91在线免费播放| 成人av电影在线| 丁香激情综合国产| 国产成人av福利| 国产盗摄精品一区二区三区在线| 激情综合色综合久久| 国内精品久久久久影院色| 极品少妇一区二区| 国产精品一区二区无线| 国产在线播放一区二区三区| 精品亚洲国产成人av制服丝袜| 欧美96一区二区免费视频| 免费成人av资源网| 久久丁香综合五月国产三级网站| 久久电影网站中文字幕 | 韩国一区二区在线观看| 久久精品国产99国产精品| 理论电影国产精品| 国产乱国产乱300精品| 国产成人在线观看免费网站| 成人午夜视频在线| 99久久久免费精品国产一区二区| 色婷婷亚洲一区二区三区| 精品污污网站免费看| 欧美电影在哪看比较好| 日韩欧美国产三级电影视频| 精品国产一区二区三区不卡| 欧美国产精品久久| 亚洲精品美腿丝袜| 日韩专区一卡二卡| 国产一区二区三区久久悠悠色av | 99re6这里只有精品视频在线观看 99re8在线精品视频免费播放 | 一区二区不卡在线播放 | 日韩电影在线免费观看| 国产一区在线视频| 不卡av电影在线播放| 欧美在线视频不卡| 精品噜噜噜噜久久久久久久久试看 | av激情综合网| 欧美精品 国产精品| 久久亚洲春色中文字幕久久久| 国产欧美日本一区二区三区| 亚洲精品视频在线观看网站| 日韩va亚洲va欧美va久久| 国产精品一品二品| 在线视频你懂得一区| 欧美大片在线观看| 亚洲日本电影在线| 久久精品免费看| 91在线视频观看| 欧美大片免费久久精品三p| 亚洲欧洲日韩女同| 青青青爽久久午夜综合久久午夜| 国产91露脸合集magnet| 欧美亚洲另类激情小说| 久久免费视频色| 一区二区三区四区视频精品免费| 激情综合五月天| 在线观看日韩毛片| 国产欧美综合在线| 人妖欧美一区二区| 色香蕉久久蜜桃| 久久精品亚洲精品国产欧美 | 久久精品国产99国产| 色婷婷久久久久swag精品 | 亚洲精品一区在线观看| 亚洲在线视频网站| 国产69精品久久99不卡| 欧美一区二区高清| 亚洲综合免费观看高清在线观看| 国产福利精品导航| 日韩欧美国产综合| 天堂在线亚洲视频| 色综合天天在线| 国产精品久久久久久一区二区三区| 三级欧美韩日大片在线看| 色综合久久中文综合久久牛| 国产亚洲欧美一区在线观看| 日本欧美在线看| 欧洲另类一二三四区| 国产精品美女久久久久久久| 国内精品嫩模私拍在线| 91精品国产综合久久精品app | 欧美做爰猛烈大尺度电影无法无天| 久久久久久亚洲综合| 男人操女人的视频在线观看欧美| 91精品1区2区| 亚洲理论在线观看| 99精品桃花视频在线观看| 国产三区在线成人av| 国内久久婷婷综合| 日韩免费在线观看| 理论片日本一区| 欧美二区乱c少妇| 日韩经典中文字幕一区| 欧美日高清视频| 午夜av一区二区三区| 欧美日韩在线直播| 亚洲影院免费观看| 在线观看国产91| 亚洲地区一二三色| 8v天堂国产在线一区二区| 亚洲一二三四在线| 精品视频资源站| 日韩激情一二三区| 欧美一区二区三区系列电影| 奇米色一区二区| 久久综合色天天久久综合图片| 狠狠狠色丁香婷婷综合激情 | 久久久一区二区三区| 国产精品18久久久久久vr| 久久久影视传媒| k8久久久一区二区三区| 中文字幕亚洲电影| 91麻豆文化传媒在线观看| 一区二区三区免费在线观看| 日本精品视频一区二区三区| 午夜亚洲国产au精品一区二区| 欧美狂野另类xxxxoooo| 日韩国产欧美视频| 2021久久国产精品不只是精品| 国产精品99久久久久| 亚洲视频一区二区免费在线观看| 色呦呦日韩精品| 五月激情六月综合| 久久天堂av综合合色蜜桃网| 成人激情免费网站| 亚洲精品中文在线影院| 欧美激情一区二区三区全黄| 91免费在线视频观看| 亚洲高清三级视频| 欧美精品一区二区精品网| 成人免费av网站| 亚洲国产日韩精品| 日韩精品一区国产麻豆| av电影在线观看不卡| 亚洲成人av一区二区三区| 精品国产自在久精品国产| 成人精品小蝌蚪| 亚洲成人av一区二区三区| 久久人人97超碰com| 色综合久久天天综合网| 美洲天堂一区二卡三卡四卡视频| 久久香蕉国产线看观看99| 在线亚洲人成电影网站色www| 日本午夜一区二区| 国产精品伦理一区二区| 欧美日韩一级大片网址| 国产精品亚洲а∨天堂免在线| 樱花影视一区二区| 精品国产网站在线观看| 在线视频欧美精品| 国产一区二区不卡老阿姨| 亚洲国产成人精品视频| 国产亚洲一区二区在线观看| 欧美制服丝袜第一页| 国产99一区视频免费| 亚洲国产日韩综合久久精品| 日本一区二区三区在线观看| 欧美肥大bbwbbw高潮| 色综合久久精品| 国产精品一区二区三区网站| 亚洲777理论| 亚洲天堂免费看| 久久久久久久久岛国免费| 欧美久久久影院| 色视频一区二区| 成人av免费在线| 国产精品影视网|