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

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

?? systemcolor.java

?? linux下建立JAVA虛擬機的源碼KAFFE
?? JAVA
字號:
/* SystemColor.java -- access dynamic system color values   Copyright (C) 1999, 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 java.awt;import java.awt.geom.AffineTransform;import java.awt.geom.Rectangle2D;import java.awt.image.ColorModel;import java.io.Serializable;/** * This class contains the various "system colors" in use by the native * windowing system. The <code>getRGB()</code> method is dynamic on systems * which support dynamic system color changes, and most methods in the * superclass are written to use this dynamic value when reporting colors. * However, the <code>equals()</code> method is not dynamic, and does not * track the actual color of instances in this class. This means that equals * may give surprising results; you are better off relying on getRGB. * * @author Aaron M. Renn (arenn@urbanophile.com) * @author Eric Blake (ebb9@email.byu.edu) * @since 1.1 * @status updated to 1.4 */public final class SystemColor extends Color implements Serializable{  // Implementation note: To be serial compatible with JDK, this class must  // violate the semantic meaning of super.value to be one of the  // NUM_COLORS constants instead of the actual RGB value. Hence there are  // a lot of ugly workarounds in Color and in this class. I would have  // designed it MUCH differently, making a separate id field in this class.  /**   * Compatible with JDK 1.1+.   */  private static final long serialVersionUID = 4503142729533789064L;  /**   * Array index of the desktop color.  Used by   * {@link Toolkit#loadSystemColors(int[])}.   *   * @see #desktop   */  public static final int DESKTOP = 0;  /**   * Array index of the active caption color.  Used by   * {@link Toolkit#loadSystemColors(int[])}.   *   * @see #activeCaption   */  public static final int ACTIVE_CAPTION = 1;  /**   * Array index of the active caption text color.  Used by   * {@link Toolkit#loadSystemColors(int[])}.   *   * @see #activeCaptionText   */  public static final int ACTIVE_CAPTION_TEXT = 2;  /**   * Array index of the active caption border color.  Used by   * {@link Toolkit#loadSystemColors(int[])}.   *   * @see #activeCaptionBorder   */  public static final int ACTIVE_CAPTION_BORDER = 3;  /**   * Array index of the inactive caption color.  Used by   * {@link Toolkit#loadSystemColors(int[])}.   *   * @see #inactiveCaption   */  public static final int INACTIVE_CAPTION = 4;  /**   * Array index of the inactive caption text color.  Used by   * {@link Toolkit#loadSystemColors(int[])}.   *   * @see #inactiveCaptionText   */  public static final int INACTIVE_CAPTION_TEXT = 5;  /**   * Array index of the inactive caption border color.  Used by   * {@link Toolkit#loadSystemColors(int[])}.   *   * @see #inactiveCaptionBorder   */  public static final int INACTIVE_CAPTION_BORDER = 6;  /**   * Array index of the window background color.  Used by   * {@link Toolkit#loadSystemColors(int[])}.   *   * @see #window   */  public static final int WINDOW = 7;  /**   * Array index of the window border color.  Used by   * {@link Toolkit#loadSystemColors(int[])}.   *   * @see #windowBorder   */  public static final int WINDOW_BORDER = 8;  /**   * Array index of the window text color.  Used by   * {@link Toolkit#loadSystemColors(int[])}.   *   * @see #windowText   */  public static final int WINDOW_TEXT = 9;  /**   * Array index of the menu background color.  Used by   * {@link Toolkit#loadSystemColors(int[])}.   *   * @see #menu   */  public static final int MENU = 10;  /**   * Array index of the menu text color.  Used by   * {@link Toolkit#loadSystemColors(int[])}.   *   * @see #menuText   */  public static final int MENU_TEXT = 11;  /**   * Array index of the text background color.  Used by   * {@link Toolkit#loadSystemColors(int[])}.   *   * @see #text   */  public static final int TEXT = 12;  /**   * Array index of the text foreground color.  Used by   * {@link Toolkit#loadSystemColors(int[])}.   *   * @see #textText  */  public static final int TEXT_TEXT = 13;  /**   * Array index of the highlighted text background color.  Used by   * {@link Toolkit#loadSystemColors(int[])}.   *   * @see #textHighlight   */  public static final int TEXT_HIGHLIGHT = 14;  /**   * Array index of the highlighted text foreground color.  Used by   * {@link Toolkit#loadSystemColors(int[])}.   *   * @see #textHighlightText   */  public static final int TEXT_HIGHLIGHT_TEXT = 15;  /**   * Array index of the inactive text foreground color.  Used by   * {@link Toolkit#loadSystemColors(int[])}.   *   * @see #textInactiveText   */  public static final int TEXT_INACTIVE_TEXT = 16;  /**   * Array index of the control background color.  Used by   * {@link Toolkit#loadSystemColors(int[])}.   *   * @see #control   */  public static final int CONTROL = 17;  /**   * Array index of the control text color.  Used by   * {@link Toolkit#loadSystemColors(int[])}.   *   * @see #controlText   */  public static final int CONTROL_TEXT = 18;  /**   * Array index of the highlighted control background color.  Used by   * {@link Toolkit#loadSystemColors(int[])}.   *   * @see #controlHighlight   */  public static final int CONTROL_HIGHLIGHT = 19;  /**   * Array index of the lightly highlighted control background color.  Used by   * {@link Toolkit#loadSystemColors(int[])}.   *   * @see #controlLtHighlight   */  public static final int CONTROL_LT_HIGHLIGHT = 20;  /**   * Array index of the shadowed control background color.  Used by   * {@link Toolkit#loadSystemColors(int[])}.   *   * @see #controlShadow   */  public static final int CONTROL_SHADOW = 21;  /**   * Array index of the darkly shadowed control background color.  Used by   * {@link Toolkit#loadSystemColors(int[])}.   *   * @see #controlDkShadow   */  public static final int CONTROL_DK_SHADOW = 22;  /**   * Array index of the scrollbar background color.  Used by   * {@link Toolkit#loadSystemColors(int[])}.   *   * @see #scrollbar   */  public static final int SCROLLBAR = 23;  /**   * Array index of the info background color.  Used by   * {@link Toolkit#loadSystemColors(int[])}.   *   * @see #info   */  public static final int INFO = 24;  /**   * Array index of the info text color.  Used by   * {@link Toolkit#loadSystemColors(int[])}.   *   * @see #infoText   */  public static final int INFO_TEXT = 25;  /**   * The number of system colors. Used by   * {@link Toolkit#loadSystemColors(int[])}.   */  public static final int NUM_COLORS = 26;  /**   * The internal array used to dynamically update <code>getRGB()</code>.   */  private static final int[] colors = new int[NUM_COLORS];  /** The desktop color. */  public static final SystemColor desktop    = new SystemColor(DESKTOP);  /** The active caption background color. */  public static final SystemColor activeCaption    = new SystemColor(ACTIVE_CAPTION);  /** The active caption text color. */  public static final SystemColor activeCaptionText    = new SystemColor(ACTIVE_CAPTION_TEXT);  /** The active caption border color. */  public static final SystemColor activeCaptionBorder    = new SystemColor(ACTIVE_CAPTION_BORDER);  /** The inactive caption background color. */  public static final SystemColor inactiveCaption    = new SystemColor(INACTIVE_CAPTION);  /** The inactive caption text color. */  public static final SystemColor inactiveCaptionText    = new SystemColor(INACTIVE_CAPTION_TEXT);  /** The inactive caption border color. */  public static final SystemColor inactiveCaptionBorder    = new SystemColor(INACTIVE_CAPTION_BORDER);  /** The window background color. */  public static final SystemColor window    = new SystemColor(WINDOW);  /** The window border color. */  public static final SystemColor windowBorder    = new SystemColor(WINDOW_BORDER);  /** The window text color. */  public static final SystemColor windowText    = new SystemColor(WINDOW_TEXT);  /** The menu background color. */  public static final SystemColor menu    = new SystemColor(MENU);  /** The menu text color. */  public static final SystemColor menuText    = new SystemColor(MENU_TEXT);  /** The text background color. */  public static final SystemColor text    = new SystemColor(TEXT);  /** The text foreground color. */  public static final SystemColor textText    = new SystemColor(TEXT_TEXT);  /** The highlighted text background color. */  public static final SystemColor textHighlight    = new SystemColor(TEXT_HIGHLIGHT);  /** The highlighted text foreground color. */  public static final SystemColor textHighlightText    = new SystemColor(TEXT_HIGHLIGHT_TEXT);  /** The inactive text color. */  public static final SystemColor textInactiveText    = new SystemColor(TEXT_INACTIVE_TEXT);  /** The control background color. */  public static final SystemColor control    = new SystemColor(CONTROL);  /** The control text color. */  public static final SystemColor controlText    = new SystemColor(CONTROL_TEXT);  /** The control highlight color. */  public static final SystemColor controlHighlight    = new SystemColor(CONTROL_HIGHLIGHT);  /** The control light highlight color. */  public static final SystemColor controlLtHighlight    = new SystemColor(CONTROL_LT_HIGHLIGHT);  /** The control shadow color. */  public static final SystemColor controlShadow    = new SystemColor(CONTROL_SHADOW);  /** The control dark shadow color. */  public static final SystemColor controlDkShadow    = new SystemColor(CONTROL_DK_SHADOW);  /** The scrollbar color. */  public static final SystemColor scrollbar    = new SystemColor(SCROLLBAR);  /** The info text background color. */  public static final SystemColor info    = new SystemColor(INFO);  /** The info text foreground color. */  public static final SystemColor infoText    = new SystemColor(INFO_TEXT);  /**   * Construct a system color which is dynamically updated.   *   * @param id the color id   */  private SystemColor(int id)  {    // Note: See Color#Color(int, boolean) to explain why we use this    // particular constructor.    super(id, true);  }  /**   * Returns the RGB value for this color, in the sRGB color space. The blue   * value will be in bits 0-7, green in 8-15, red in 6-23, and the alpha   * value (bits 24-31) is 0xff. This is dynamically updated, so it may not   * match the results of <code>getRed()</code>, <code>getGreen()</code>, or   * <code>getBlue()</code>.   *   * @return the current RGB value   */  public int getRGB()  {    Toolkit.getDefaultToolkit().loadSystemColors(colors);    return colors[value] | ALPHA_MASK;  }  /**   * Returns a paint context, used for filling areas of a raster scan with   * the current value of this system color. Since the system colors may be   * dynamically updated, the returned value may not always be the same; but   * as the system color is solid, the context does not need any of the   * passed parameters to do its job.   *   * @param cm the requested color model   * @param deviceBounds the bounding box in device coordinates, ignored   * @param userBounds the bounding box in user coordinates, ignored   * @param xform the bounds transformation, ignored   * @param hints any rendering hints, ignored   * @return a context for painting this solid color   */  public PaintContext createContext(ColorModel cm, Rectangle deviceBounds,                                    Rectangle2D userBounds,                                    AffineTransform xform,                                    RenderingHints hints)  {    Toolkit.getDefaultToolkit().loadSystemColors(colors);    int color = colors[value] | ALPHA_MASK;    if (context == null || color != context.color || !context.getColorModel().equals(cm))      context = new ColorPaintContext(cm,color);    return context;  }      /**   * Returns a string describing this color. This is in the format   * "java.awt.SystemColor[i=" + index + ']', where index is one of the   * integer constants of this class. Unfortunately, this description   * does not describe the current value of the color; for that you should   * use <code>new Color(syscolor.getRGB()).toString()</code>.   *   * @return a string describing this color   */  public String toString()  {    return "java.awt.SystemColor[i=" + value + ']';  }} // class SystemColor

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产婷婷色一区二区三区四区| 亚洲一区二区在线观看视频| 中文字幕av一区二区三区| 亚洲色图.com| 国内精品国产成人| 欧美另类videos死尸| 中文字幕欧美激情一区| 舔着乳尖日韩一区| 97精品视频在线观看自产线路二| 日韩欧美中文字幕一区| 一区二区三区中文在线观看| 国产精品夜夜爽| 亚洲精品在线免费播放| 午夜精品一区二区三区免费视频 | 337p日本欧洲亚洲大胆精品| 一区二区三区在线播| 粉嫩13p一区二区三区| 精品久久国产老人久久综合| 亚洲午夜精品17c| 91色综合久久久久婷婷| 国产欧美在线观看一区| 久久99蜜桃精品| 欧美一区永久视频免费观看| 一区二区三区欧美激情| 91免费视频网址| 一区二区三区在线影院| 白白色 亚洲乱淫| 国产日韩欧美制服另类| 国产精品一区二区久激情瑜伽| 欧美不卡在线视频| 极品瑜伽女神91| 精品少妇一区二区三区在线视频| 婷婷六月综合网| 69精品人人人人| 日韩激情在线观看| 91精品国产手机| 蜜桃精品在线观看| 26uuuu精品一区二区| 精品一区二区在线视频| 精品区一区二区| 国产电影一区二区三区| 精品国产一二三| 国产精品1区2区3区| 久久嫩草精品久久久精品一| 国产在线精品不卡| 国产精品网站在线观看| 成人夜色视频网站在线观看| 日本一区二区三区国色天香| 白白色 亚洲乱淫| 亚洲最新在线观看| 欧美老年两性高潮| 激情综合五月婷婷| 国产亚洲女人久久久久毛片| 国产一区91精品张津瑜| 国产免费久久精品| 91搞黄在线观看| 日本强好片久久久久久aaa| 精品国产一区二区亚洲人成毛片 | 视频在线观看一区| 久久影院午夜片一区| 成人av在线观| 亚洲国产精品久久久男人的天堂| 欧美一区二区三区成人| 国产精品一区二区果冻传媒| 1000部国产精品成人观看| 欧美天堂一区二区三区| 国内外成人在线| 亚洲欧美另类小说| 欧美一级高清片在线观看| 国产99久久久国产精品潘金| 亚洲乱码中文字幕综合| 欧美sm极限捆绑bd| 成人亚洲一区二区一| 亚洲一区二区视频| 久久影视一区二区| 91福利精品视频| 国产一区二区三区免费播放| 亚洲精选视频免费看| 日韩一区二区三区四区五区六区| 丰满岳乱妇一区二区三区| 日韩国产在线一| 中文字幕一区二区日韩精品绯色| 欧美日韩中文字幕精品| 成人短视频下载| 久久99精品久久久久久久久久久久| 国产精品嫩草影院com| 日韩一区二区电影| 欧美在线一区二区| 波波电影院一区二区三区| 免费不卡在线观看| 亚洲最大成人综合| 国产精品乱码一区二区三区软件 | 久久久久9999亚洲精品| 欧美日韩精品一区二区三区| 94-欧美-setu| 国产成人在线视频播放| 麻豆成人久久精品二区三区小说| 一区二区在线观看视频在线观看| 国产日产欧产精品推荐色| 日韩欧美一级片| 欧美精品v国产精品v日韩精品| 91麻豆福利精品推荐| 成人午夜免费av| 国产成人在线色| 国产乱色国产精品免费视频| 奇米色一区二区三区四区| 亚洲一区二区欧美| 一区二区三区四区视频精品免费 | 亚洲精品一区二区三区99| 在线不卡的av| 欧美理论片在线| 91精品国产色综合久久不卡蜜臀| 在线免费观看一区| 91成人国产精品| 欧美视频第二页| 欧美主播一区二区三区美女| 色94色欧美sute亚洲线路二| 99精品在线观看视频| 91亚洲国产成人精品一区二区三| 懂色av噜噜一区二区三区av| 成人看片黄a免费看在线| 成人丝袜高跟foot| av不卡在线播放| 色哟哟一区二区在线观看| 91精品福利在线| 欧美三级日韩三级| 欧美一区二区三区视频在线| 日韩午夜激情视频| 久久综合九色综合久久久精品综合 | 韩国成人在线视频| 国产精品亚洲成人| 99久久婷婷国产综合精品电影| 91香蕉视频mp4| 欧美亚洲另类激情小说| 91精品国产91久久久久久最新毛片| 日韩一区二区三区视频在线观看| 久久免费电影网| 亚洲国产成人一区二区三区| 亚洲摸摸操操av| 蜜臀av一区二区| 不卡av在线网| 欧美伦理电影网| 国产亚洲1区2区3区| |精品福利一区二区三区| 亚洲444eee在线观看| 激情综合一区二区三区| 91麻豆免费在线观看| 91精品综合久久久久久| 久久久国产精品麻豆| 亚洲精品视频一区二区| 美女视频黄免费的久久| av亚洲精华国产精华| 欧美日韩精品一区二区三区蜜桃| 日韩精品一区二区三区在线| 国产精品进线69影院| 日韩高清电影一区| 成人综合婷婷国产精品久久| 91国产成人在线| 国产日韩精品久久久| 午夜一区二区三区在线观看| 国产九色sp调教91| 欧美日精品一区视频| 国产精品美女久久久久aⅴ国产馆| 亚洲国产你懂的| 成人一区二区三区中文字幕| 5566中文字幕一区二区电影| 国产精品久久三区| 国内外精品视频| 在线成人av影院| 一级中文字幕一区二区| 国产精品资源在线看| 91精品国产综合久久久蜜臀粉嫩| 亚洲天堂2014| 国产激情一区二区三区桃花岛亚洲| 欧美日韩在线精品一区二区三区激情| 亚洲国产精品高清| 国产一区二区三区四区五区美女 | 奇米777欧美一区二区| 在线看一区二区| 1000部国产精品成人观看| 国产精品小仙女| 亚洲精品一区二区三区蜜桃下载 | 91亚洲国产成人精品一区二区三| 精品国产一区二区三区忘忧草| 亚洲bt欧美bt精品| 欧美无砖砖区免费| 伊人一区二区三区| 99re这里都是精品| 国产精品不卡在线| 不卡av在线免费观看| 国产精品乱码一区二三区小蝌蚪| 国产传媒一区在线| 久久久久久久久久久久电影 | 91在线丨porny丨国产| 欧美极品少妇xxxxⅹ高跟鞋| 狠狠色丁香九九婷婷综合五月| 日韩精品一区二区三区在线| 青青草国产成人av片免费| 制服丝袜亚洲色图| 日韩成人av影视|