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

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

?? view.java

?? linux下編程用 編譯軟件
?? JAVA
?? 第 1 頁 / 共 2 頁
字號:
/* View.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.text;import java.awt.Container;import java.awt.Graphics;import java.awt.Rectangle;import java.awt.Shape;import javax.swing.SwingConstants;import javax.swing.event.DocumentEvent;public abstract class View implements SwingConstants{  public static final int BadBreakWeight = 0;  public static final int ExcellentBreakWeight = 2000;  public static final int ForcedBreakWeight = 3000;  public static final int GoodBreakWeight = 1000;  public static final int X_AXIS = 0;  public static final int Y_AXIS = 1;      private float width, height;  private Element elt;  private View parent;  /**   * Creates a new <code>View</code> instance.   *   * @param elem an <code>Element</code> value   */  public View(Element elem)  {    elt = elem;  }  public abstract void paint(Graphics g, Shape s);  public void setParent(View parent)  {    this.parent = parent;  }      public View getParent()  {    return parent;  }      public Container getContainer()  {    View parent = getParent();    if (parent == null)      return null;    else      return parent.getContainer();  }    public Document getDocument()  {    return getElement().getDocument();  }      public Element getElement()  {    return elt;  }  public abstract float getPreferredSpan(int axis);  public int getResizeWeight(int axis)  {    return 0;  }  public float getMaximumSpan(int axis)  {    if (getResizeWeight(axis) <= 0)      return getPreferredSpan(axis);    return Integer.MAX_VALUE;  }  public float getMinimumSpan(int axis)  {    if (getResizeWeight(axis) <= 0)      return getPreferredSpan(axis);    return Integer.MAX_VALUE;  }    public void setSize(float width, float height)  {    // The default implementation does nothing.  }    public float getAlignment(int axis)  {    return 0.5f;  }  public AttributeSet getAttributes()  {    return getElement().getAttributes();  }    public boolean isVisible()  {    return true;  }  public int getViewCount()  {    return 0;  }    public View getView(int index)  {    return null;  }  public ViewFactory getViewFactory()  {    View parent = getParent();    return parent != null ? parent.getViewFactory() : null;  }  public void replace(int offset, int length, View[] views)  {    // Default implementation does nothing.  }  public void insert(int offset, View view)  {    View[] array = { view };    replace(offset, 1, array);  }  public void append(View view)  {    View[] array = { view };    int offset = getViewCount();    replace(offset, 0, array);  }  public void removeAll()  {    replace(0, getViewCount(), new View[0]);   }  public void remove(int index)  {    replace(index, 1, null);   }  public View createFragment(int p0, int p1)  {    // The default implementation doesn't support fragmentation.    return this;  }  public int getStartOffset()  {    return getElement().getStartOffset();  }  public int getEndOffset()  {    return getElement().getEndOffset();  }  public Shape getChildAllocation(int index, Shape a)  {    return null;  }    /**   * @since 1.4   */  public int getViewIndex(float x, float y, Shape allocation)  {    return -1;  }    /**   * @since 1.4   */  public String getToolTipText(float x, float y, Shape allocation)  {    int index = getViewIndex(x, y, allocation);    if (index < -1)      return null;    Shape childAllocation = getChildAllocation(index, allocation);    if (childAllocation.getBounds().contains(x, y))      return getView(index).getToolTipText(x, y, childAllocation);    return null;  }  /**   * @since 1.3   */  public Graphics getGraphics()  {    return getContainer().getGraphics();  }  public void preferenceChanged(View child, boolean width, boolean height)  {    if (parent != null)      parent.preferenceChanged(this, width, height);  }  public int getBreakWeight(int axis, float pos, float len)  {    return BadBreakWeight;  }  public View breakView(int axis, int offset, float pos, float len)  {    return this;  }  /**   * @since 1.3   */  public int getViewIndex(int pos, Position.Bias b)  {    return -1;  }  /**   * Receive notification about an insert update to the text model.   *   * The default implementation of this method does the following:   * <ul>   * <li>Call {@link #updateChildren} if the element that this view is   * responsible for has changed. This makes sure that the children can   * correctly represent the model.<li>   * <li>Call {@link #forwardUpdate}. This forwards the DocumentEvent to   * the child views.<li>   * <li>Call {@link #updateLayout}. Gives the view a chance to either   * repair its layout, reschedule layout or do nothing at all.</li>   * </ul>   *   * @param ev the DocumentEvent that describes the change   * @param shape the shape of the view   * @param vf the ViewFactory for creating child views   */  public void insertUpdate(DocumentEvent ev, Shape shape, ViewFactory vf)  {    Element el = getElement();    DocumentEvent.ElementChange ec = ev.getChange(el);    if (ec != null)      updateChildren(ec, ev, vf);    forwardUpdate(ec, ev, shape, vf);    updateLayout(ec, ev, shape);  }  /**   * Receive notification about a remove update to the text model.   *   * The default implementation of this method does the following:   * <ul>   * <li>Call {@link #updateChildren} if the element that this view is   * responsible for has changed. This makes sure that the children can   * correctly represent the model.<li>   * <li>Call {@link #forwardUpdate}. This forwards the DocumentEvent to   * the child views.<li>   * <li>Call {@link #updateLayout}. Gives the view a chance to either   * repair its layout, reschedule layout or do nothing at all.</li>   * </ul>   *   * @param ev the DocumentEvent that describes the change

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲欧洲精品成人久久奇米网| 亚洲人成在线观看一区二区| 欧美激情一区三区| 亚洲国产cao| 不卡av免费在线观看| 日韩一区二区免费电影| 亚洲色图视频网| 国产成人精品影视| 日韩免费在线观看| 亚洲第一电影网| 91精彩视频在线| 自拍偷拍国产精品| 成人蜜臀av电影| 久久久久久一二三区| 久久精品国产**网站演员| 欧美怡红院视频| 亚洲免费伊人电影| 99精品视频在线免费观看| 欧美国产激情一区二区三区蜜月| 久久99久久99精品免视看婷婷| 91麻豆精品91久久久久同性| 亚洲一区二区三区自拍| 久久人人爽爽爽人久久久| 婷婷综合五月天| 欧美男女性生活在线直播观看| 亚洲图片你懂的| av不卡免费在线观看| 中文字幕亚洲不卡| 91亚洲午夜精品久久久久久| 国产精品久久久久久久第一福利 | 亚洲国产成人av网| 欧美午夜影院一区| 亚洲成a人v欧美综合天堂| 欧美午夜电影一区| 亚洲成人第一页| 日韩视频免费观看高清完整版| 蜜桃91丨九色丨蝌蚪91桃色| 日韩欧美综合在线| 国产尤物一区二区| 欧美国产成人精品| 91在线国产福利| 亚洲图片自拍偷拍| 欧美精品一二三| 免费视频最近日韩| 国产欧美日韩精品a在线观看| www.欧美亚洲| 一区二区三区在线观看网站| 欧美日韩1区2区| 久久99久久99精品免视看婷婷 | 69久久99精品久久久久婷婷| 日日夜夜一区二区| 精品国产一区二区三区忘忧草| 国产乱码精品一区二区三区av| 中文字幕欧美激情| 色女孩综合影院| 日韩高清不卡一区二区三区| 久久嫩草精品久久久久| 成人爽a毛片一区二区免费| 亚洲天堂2014| 91精品在线观看入口| 国产精品系列在线播放| 亚洲欧美日韩久久| 欧美videos中文字幕| 成年人午夜久久久| 婷婷中文字幕一区三区| 久久久99精品免费观看| 欧美性猛交xxxxxxxx| 国产精品自在欧美一区| 亚洲日本免费电影| wwwwww.欧美系列| 色婷婷av一区二区三区gif| 日韩电影一区二区三区| 中文字幕欧美一区| 日韩一级高清毛片| 欧美在线制服丝袜| 国产激情精品久久久第一区二区| 亚洲图片一区二区| 国产欧美日韩另类视频免费观看| 欧美日韩国产乱码电影| 成人av在线影院| 经典一区二区三区| 亚洲r级在线视频| 亚洲欧洲日产国码二区| 日韩欧美高清一区| 欧美日韩激情一区二区三区| 成人成人成人在线视频| 九九热在线视频观看这里只有精品| 亚洲色欲色欲www| 欧美高清在线精品一区| 欧美成va人片在线观看| 制服丝袜一区二区三区| 91麻豆精品视频| 成人avav在线| 国产成人免费视| 国产乱子轮精品视频| 日本大胆欧美人术艺术动态| 亚洲国产一区视频| 亚洲美腿欧美偷拍| 亚洲精品va在线观看| 亚洲欧洲无码一区二区三区| 久久免费美女视频| 精品噜噜噜噜久久久久久久久试看| 欧美中文字幕亚洲一区二区va在线 | 亚洲精品v日韩精品| 最新欧美精品一区二区三区| 国产欧美日本一区视频| 久久久久久综合| 久久免费视频一区| 久久精品这里都是精品| 欧美精品一区二区三区在线播放 | 亚洲免费毛片网站| 日本一区二区在线不卡| 国产精品视频一二三区| 国产精品丝袜91| 中文字幕在线不卡| 亚洲视频一区在线观看| 亚洲欧美日韩一区二区三区在线观看| 亚洲国产精品二十页| 国产精品国产自产拍高清av | 中文幕一区二区三区久久蜜桃| 久久久久久久网| 国产精品嫩草影院com| 国产精品久久久久久久岛一牛影视| 欧美国产国产综合| 亚洲女人****多毛耸耸8| 亚洲另类春色校园小说| 亚洲第一在线综合网站| 麻豆久久久久久| 东方欧美亚洲色图在线| 一本一道久久a久久精品综合蜜臀| 91在线观看视频| 91麻豆精品91久久久久久清纯| 精品美女在线播放| 亚洲欧洲一区二区三区| 亚洲国产婷婷综合在线精品| 免费在线观看不卡| 懂色av中文一区二区三区| 91福利视频网站| 日韩精品一区二| 中文字幕亚洲一区二区av在线| 一区二区三区中文字幕精品精品 | 亚洲综合无码一区二区| 日韩黄色免费网站| 国产成人午夜视频| 欧美色偷偷大香| 精品久久久三级丝袜| 国产精品久久久久毛片软件| 一区二区三区成人| 精品一区二区三区免费播放| 成人午夜大片免费观看| 欧美制服丝袜第一页| 久久综合狠狠综合久久综合88| 亚洲色图欧洲色图婷婷| 美国三级日本三级久久99| 99久久伊人精品| 91精品国模一区二区三区| 国产精品三级视频| 日韩精品欧美精品| av不卡免费在线观看| 精品成a人在线观看| 一区二区三区久久| 国产大陆精品国产| 欧美精品日韩一本| 亚洲高清视频中文字幕| 午夜一区二区三区在线观看| 亚洲三级在线免费| 午夜精品久久久久久久蜜桃app | 亚洲欧美影音先锋| av在线免费不卡| 欧美人体做爰大胆视频| 亚洲欧美偷拍三级| 国产精品自在在线| 日韩欧美亚洲另类制服综合在线| 亚洲免费伊人电影| 成人av综合在线| 久久久亚洲精品石原莉奈| 日日摸夜夜添夜夜添精品视频| 91香蕉视频mp4| 国产精品人人做人人爽人人添| 老司机精品视频一区二区三区| 欧美日韩视频第一区| 一区二区三区四区中文字幕| 99久久精品免费精品国产| 欧美r级在线观看| 日本va欧美va精品发布| 欧美日韩在线亚洲一区蜜芽| 中文字幕一区二区在线播放| 国产综合一区二区| 日韩欧美激情四射| 久久不见久久见中文字幕免费| 欧美日韩成人在线| 石原莉奈在线亚洲三区| 欧美日韩国产另类不卡| 天堂成人国产精品一区| 欧美日免费三级在线| 一区二区三区四区不卡在线 | 春色校园综合激情亚洲| 久久亚洲欧美国产精品乐播| 久88久久88久久久| 精品久久国产字幕高潮|