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

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

?? imageicon.java

?? linux下編程用 編譯軟件
?? JAVA
字號:
/* ImageIcon.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.Graphics;import java.awt.Image;import java.awt.MediaTracker;import java.awt.Toolkit;import java.awt.image.ImageObserver;import java.io.Serializable;import java.net.URL;import java.util.Locale;import javax.accessibility.Accessible;import javax.accessibility.AccessibleContext;import javax.accessibility.AccessibleIcon;import javax.accessibility.AccessibleRole;import javax.accessibility.AccessibleStateSet;/** * An {@link Icon} implementation that is backed by an {@link Image}. */public class ImageIcon  implements Icon, Serializable, Accessible{  /**   * Accessibility support for ImageIcon.   */  protected class AccessibleImageIcon    extends AccessibleContext    implements AccessibleIcon, Serializable  {    private static final long serialVersionUID = 2113430526551336564L;    /**     * Creates a new instance of AccessibleImageIcon.     */    protected AccessibleImageIcon()    {      // Nothing to do here.    }    /**     * Returns the AccessibleRole of ImageIcon, which is     * {@link AccessibleRole#ICON}.     *     * @return {@link AccessibleRole#ICON}     */    public AccessibleRole getAccessibleRole()    {      return AccessibleRole.ICON;    }    /**     * Returns the accessible state of this ImageIcon.     *     * @return the accessible state of this ImageIcon     */    public AccessibleStateSet getAccessibleStateSet()    {      // TODO: which state information from ImageIcon is returned here??      return new AccessibleStateSet();    }    /**     * Returns the accessible parent of this object, which is <code>null</code>     * in this case, because ImageIcons have no parent.     *     * @return <code>null</code>, because ImageIcons have no parent     */    public Accessible getAccessibleParent()    {      // TODO: ImageIcons have no parent, have they ??      return null;    }    /**     * Returns the index of this object in its accessible parent, which is     * -1 here, because ImageIcons have no accessible parent.     *     * @return -1 because ImageIcons have no parent     */    public int getAccessibleIndexInParent()    {      // TODO: do ImageIcons have parents??      return -1;    }    /**     * Returns the number of accessible children of this component,     * which is 0, because ImageIcons have no children.     *     * @return 0 because ImageIcons have no children     */    public int getAccessibleChildrenCount()    {      return 0;    }    /**     * Returns the accessible child at index <code>i</code>, which is     * <code>null</code> in this case because ImageIcons have no children.     *     * @param i the index of the child to be fetched     *     * @return <code>null</code> because ImageIcons have no children     */    public Accessible getAccessibleChild(int i)    {      return null;    }    /**     * Returns the locale of this object. This returns the default locale     * that is set for the current VM.     *     * @return the locale of this object     */    public Locale getLocale()    {      return Locale.getDefault();    }    /**     * Returns the accessible Icon description. This returns the     * actual 'description' property of the ImageIcon.     *     * @return the accessible Icon description     */    public String getAccessibleIconDescription()    {      return getDescription();    }    /**     * Sets the accessible Icon description. This sets the     * actual 'description' property of the ImageIcon.     *     * @param newDescr the description to be set     */    public void setAccessibleIconDescription(String newDescr)    {      setDescription(newDescr);    }    /**     * Returns the icon height. This returns the iconHeight property of     * the underlying Icon.     *     * @return the icon height     */    public int getAccessibleIconHeight()    {      return getIconHeight();    }        /**     * Returns the icon width. This returns the iconWidth property of     * the underlying Icon.     *     * @return the icon width     */    public int getAccessibleIconWidth()    {      return getIconWidth();    }  } // AccessibleIcon  private static final long serialVersionUID = 532615968316031794L;  /** A dummy Component that is used in the MediaTracker. */  protected static Component component = new Component()  {    // No need to implement this.   };  /** The MediaTracker used to monitor the loading of images. */  protected static MediaTracker tracker = new MediaTracker(component);  /** The ID that is used in the tracker. */  private static int id;  Image image;  String description;  ImageObserver observer;  /** The image loading status. */  private int loadStatus;  /** The AccessibleContext of this ImageIcon. */  private AccessibleContext accessibleContext;  /**   * Creates an ImageIcon without any properties set.   */  public ImageIcon()  {    // Nothing to do here.  }   /**   * Constructs an ImageIcon given a filename.  The icon's description   * is initially set to the filename itself.  A filename of "" means   * create a blank icon.   *   * @param filename name of file to load or "" for a blank icon   */  public ImageIcon(String filename)  {    this(filename, filename);  }  /**   * Constructs an ImageIcon from the given filename, setting its   * description to the given description.  A filename of "" means   * create a blank icon.   *   * @param filename name of file to load or "" for a blank icon   * @param description human-readable description of this icon   */  public ImageIcon(String filename, String description)  {    this(Toolkit.getDefaultToolkit().getImage(filename), description);  }  /**   * Creates an ImageIcon from the given byte array without any   * description set.   */  public ImageIcon(byte[] imageData)  {    this(imageData, null);  }    /**   * Creates an ImageIcon from the given byte array and sets the given   * description.   */  public ImageIcon(byte[] imageData, String description)  {    this(Toolkit.getDefaultToolkit().createImage(imageData), description);  }  /**   * Creates an ImageIcon from the given URL without any description   * set.   */  public ImageIcon(URL url)  {    this(url, null);  }  /**   * Creates an ImageIcon from the given URL and sets the given   * description.   */  public ImageIcon(URL url, String description)  {    this(Toolkit.getDefaultToolkit().getImage(url), description);  }  /**   * Creates an ImageIcon from the given Image without any description   * set.   */  public ImageIcon(Image image)  {    this(image, null);  }  /**   * Creates an ImageIcon from the given Image and sets the given   * description.   */  public ImageIcon(Image image, String description)  {    setImage(image);    setDescription(description);  }  /**   * Returns the ImageObserver that is used for all Image   * operations. Defaults to null when not explicitly set.   */  public ImageObserver getImageObserver()  {    return observer;  }    /**   * Sets the ImageObserver that will be used for all Image   * operations. Can be set to null (the default) when no observer is   * needed.   */  public void setImageObserver(ImageObserver newObserver)  {    observer = newObserver;  }  /**   * Returns the backing Image for this ImageIcon. Might be set to   * null in which case no image is shown.   */  public Image getImage()  {    return image;  }  /**   * Explicitly sets the backing Image for this ImageIcon. Will call   * loadImage() to make sure that the Image is completely loaded   * before returning.   */  public void setImage(Image image)  {    loadImage(image);    this.image = image;  }  /**   * Returns a human readable description for this ImageIcon or null   * when no description is set or available.   */  public String getDescription()  {    return description;  }  /**   * Sets a human readable description for this ImageIcon. Can be set   * to null when no description is available.   */  public void setDescription(String description)  {    this.description = description;  }  /**   * Returns the the height of the backing Image, or -1 if the backing   * Image is null. The getHeight() method of the Image will be called   * with the set observer of this ImageIcon.   */  public int getIconHeight()  {    if (image == null)      return -1;    return image.getHeight(observer);  }  /**   * Returns the the width of the backing Image, or -1 if the backing   * Image is null. The getWidth() method of the Image will be called   * with the set observer of this ImageIcon.   */  public int getIconWidth()  {    if (image == null)      return -1;    return image.getWidth(observer);  }  /**   * Calls <code>g.drawImage()</code> on the backing Image using the   * set observer of this ImageIcon. If the set observer is null, the   * given Component is used as observer.   */  public void paintIcon(Component c, Graphics g, int x, int y)  {    g.drawImage(image, x, y, observer != null ? observer : c);  }  /**   * Loads the image and blocks until the loading operation is finished.   *   * @param image the image to be loaded   */  protected void loadImage(Image image)  {    try      {        tracker.addImage(image, id);        id++;        tracker.waitForID(id - 1);      }    catch (InterruptedException ex)      {        // Ignore this for now.      }    finally      {        loadStatus = tracker.statusID(id - 1, false);      }  }  /**   * Returns the load status of the icon image.   *   * @return the load status of the icon image   *   * @see MediaTracker#COMPLETE   * @see MediaTracker#ABORTED   * @see MediaTracker#ERRORED   */  public int getImageLoadStatus()  {    return loadStatus;  }  /**   * Returns the AccessibleContext for this ImageIcon.   *   * @return the AccessibleContext for this ImageIcon   */  public AccessibleContext getAccessibleContext()  {    if (accessibleContext == null)      accessibleContext = new AccessibleImageIcon();    return accessibleContext;  }}

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
久久亚洲欧美国产精品乐播| 色偷偷久久一区二区三区| 日韩精品电影在线| 色综合天天综合网国产成人综合天| 国产欧美一区二区精品婷婷| 国产福利一区在线观看| 日本一区二区成人| 91啪亚洲精品| 久久综合狠狠综合久久激情| 国产精品高潮呻吟久久| 色综合一个色综合亚洲| 亚洲国产aⅴ天堂久久| 日韩一级片在线观看| 国产一区在线精品| 自拍偷在线精品自拍偷无码专区| 欧美色图第一页| 麻豆精品蜜桃视频网站| 欧美激情资源网| 欧美视频在线一区二区三区 | 欧美激情在线免费观看| 成人理论电影网| 亚洲综合视频在线观看| 正在播放一区二区| 国产99精品在线观看| 一区二区三区免费在线观看| 欧美成人性福生活免费看| 99视频精品免费视频| 日韩国产欧美三级| 久久精品欧美日韩| 欧美日韩国产在线观看| 国产伦精一区二区三区| 亚洲一区二区欧美激情| 精品国产第一区二区三区观看体验| 成人激情免费视频| 日本大胆欧美人术艺术动态 | 亚洲色图视频免费播放| 日韩视频一区二区三区在线播放 | 色乱码一区二区三区88| 久久精品国产久精国产爱| 最新热久久免费视频| 欧美一区二区三区白人| 91黄色在线观看| 国产精品996| 日本中文字幕一区二区视频 | 最新久久zyz资源站| 91精选在线观看| 成人福利在线看| 裸体在线国模精品偷拍| 亚洲永久精品大片| 国产精品毛片高清在线完整版 | 国产很黄免费观看久久| 午夜激情一区二区| 亚洲区小说区图片区qvod| 久久视频一区二区| 777久久久精品| 日本高清不卡视频| www.亚洲在线| 国产成人av在线影院| 免费久久99精品国产| 亚洲国产wwwccc36天堂| 亚洲精品国产无套在线观| 日本一区二区三区久久久久久久久不 | 成人精品gif动图一区| 日本欧美大码aⅴ在线播放| 亚洲欧美另类图片小说| 国产精品日日摸夜夜摸av| 久久先锋影音av鲁色资源网| 欧美电影免费提供在线观看| 在线观看91视频| 99re这里都是精品| 成人高清免费观看| 成人的网站免费观看| 国产精品一色哟哟哟| 国产夫妻精品视频| 国产真实乱子伦精品视频| 久久电影国产免费久久电影| 日韩精品色哟哟| 日欧美一区二区| 三级一区在线视频先锋| 日韩激情视频网站| 日韩va亚洲va欧美va久久| 日韩av高清在线观看| 毛片av一区二区| 国产综合成人久久大片91| 国产一区二三区| 粉嫩aⅴ一区二区三区四区| 丁香激情综合五月| heyzo一本久久综合| 91网上在线视频| 日本丰满少妇一区二区三区| 91福利视频网站| 欧美疯狂性受xxxxx喷水图片| 欧美精品成人一区二区三区四区| 在线看日本不卡| 欧美高清视频一二三区| 欧美哺乳videos| 国产女主播在线一区二区| 中国色在线观看另类| 一区二区三区精品在线| 亚洲不卡在线观看| 久久成人免费网| 粉嫩高潮美女一区二区三区| 色婷婷av一区二区三区大白胸| 日本韩国欧美一区| 日韩免费电影网站| 国产精品另类一区| 亚洲国产精品一区二区尤物区| 午夜精品福利一区二区三区蜜桃| 极品少妇xxxx精品少妇| caoporen国产精品视频| 欧美三级电影在线观看| 久久久亚洲精华液精华液精华液| 国产精品视频一二三区 | 欧美午夜精品理论片a级按摩| 欧美区视频在线观看| 久久久亚洲国产美女国产盗摄| 亚洲色图一区二区三区| 免费成人在线网站| proumb性欧美在线观看| 欧美一级xxx| 亚洲视频资源在线| 另类综合日韩欧美亚洲| 色哟哟亚洲精品| 亚洲精品在线一区二区| 玉足女爽爽91| 国产一区二区精品久久99| 在线国产电影不卡| 国产亚洲短视频| 五月天一区二区三区| 暴力调教一区二区三区| 欧美www视频| 亚洲综合激情另类小说区| 国产福利精品导航| 日韩三级精品电影久久久 | 日本乱人伦aⅴ精品| 久久一区二区三区国产精品| 天天操天天综合网| 91老师片黄在线观看| 久久婷婷综合激情| 奇米影视一区二区三区| 色综合色综合色综合色综合色综合 | 亚洲日本va午夜在线影院| 国产麻豆精品在线| 日韩欧美一卡二卡| 亚洲bt欧美bt精品| 91老司机福利 在线| 中文字幕精品一区二区精品绿巨人 | 国产麻豆成人传媒免费观看| 欧美精品xxxxbbbb| 亚洲亚洲人成综合网络| 粉嫩嫩av羞羞动漫久久久| 久久久久久久久97黄色工厂| 另类小说一区二区三区| 欧美一区二区免费| 天天亚洲美女在线视频| 欧美性一区二区| 一区二区三区波多野结衣在线观看| 岛国一区二区在线观看| 久久久精品2019中文字幕之3| 日本欧美大码aⅴ在线播放| 欧美日本一区二区在线观看| 亚洲综合色区另类av| 91首页免费视频| 一区精品在线播放| 成人免费看黄yyy456| 国产视频不卡一区| 国产suv一区二区三区88区| 久久精品视频免费观看| 国产成人啪免费观看软件| 久久久高清一区二区三区| 狠狠色丁香婷婷综合| 国产婷婷色一区二区三区四区| 国产成人在线网站| 欧美国产精品一区二区三区| 粉嫩久久99精品久久久久久夜| 中文字幕国产一区二区| 99精品偷自拍| 亚洲一二三四区不卡| 欧美日韩电影在线播放| 琪琪一区二区三区| 久久中文娱乐网| 成人性色生活片免费看爆迷你毛片| 国产精品第一页第二页第三页| 99久免费精品视频在线观看| 自拍偷拍国产亚洲| 欧美日韩大陆一区二区| 久久国产福利国产秒拍| 26uuu精品一区二区三区四区在线 26uuu精品一区二区在线观看 | wwwwww.欧美系列| 国产九色sp调教91| 中文字幕av在线一区二区三区| 色综合天天在线| 日韩av高清在线观看| 久久久久国产精品麻豆| 91色九色蝌蚪| 日日骚欧美日韩| 欧美精彩视频一区二区三区| 91丨porny丨首页| 日韩高清不卡一区二区三区| 久久久天堂av|