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

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

?? systemcolor.java

?? 俄羅斯高人Mamaich的Pocket gcc編譯器(運行在PocketPC上)的全部源代碼。
?? JAVA
字號:
/* SystemColor.java -- access dynamic system color values   Copyright (C) 1999, 2002 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., 59 Temple Place, Suite 330, Boston, MA02111-1307 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.image.ColorModel;import java.awt.geom.AffineTransform;import java.awt.geom.Rectangle2D;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()}.   *   * @see #desktop   */  public static final int DESKTOP = 0;  /**   * Array index of the active caption color.  Used by   * {@link Toolkit#loadSystemColors()}.   *   * @see #activeCaption   */  public static final int ACTIVE_CAPTION = 1;  /**   * Array index of the active caption text color.  Used by   * {@link Toolkit#loadSystemColors()}.   *   * @see #activeCaptionText   */  public static final int ACTIVE_CAPTION_TEXT = 2;  /**   * Array index of the active caption border color.  Used by   * {@link Toolkit#loadSystemColors()}.   *   * @see #activeCaptionBorder   */  public static final int ACTIVE_CAPTION_BORDER = 3;  /**   * Array index of the inactive caption color.  Used by   * {@link Toolkit#loadSystemColors()}.   *   * @see #inactiveCaption   */  public static final int INACTIVE_CAPTION = 4;  /**   * Array index of the inactive caption text color.  Used by   * {@link Toolkit#loadSystemColors()}.   *   * @see #inactiveCaptionText   */  public static final int INACTIVE_CAPTION_TEXT = 5;  /**   * Array index of the inactive caption border color.  Used by   * {@link Toolkit#loadSystemColors()}.   *   * @see #inactiveCaptionBorder   */  public static final int INACTIVE_CAPTION_BORDER = 6;  /**   * Array index of the window background color.  Used by   * {@link Toolkit#loadSystemColors()}.   *   * @see #window   */  public static final int WINDOW = 7;  /**   * Array index of the window border color.  Used by   * {@link Toolkit#loadSystemColors()}.   *   * @see #windowBorder   */  public static final int WINDOW_BORDER = 8;  /**   * Array index of the window text color.  Used by   * {@link Toolkit#loadSystemColors()}.   *   * @see #windowText   */  public static final int WINDOW_TEXT = 9;  /**   * Array index of the menu background color.  Used by   * {@link Toolkit#loadSystemColors()}.   *   * @see #menu   */  public static final int MENU = 10;  /**   * Array index of the menu text color.  Used by   * {@link Toolkit#loadSystemColors()}.   *   * @see #menuText   */  public static final int MENU_TEXT = 11;  /**   * Array index of the text background color.  Used by   * {@link Toolkit#loadSystemColors()}.   *   * @see #text   */  public static final int TEXT = 12;  /**   * Array index of the text foreground color.  Used by   * {@link Toolkit#loadSystemColors()}.   *   * @see #textText  */  public static final int TEXT_TEXT = 13;  /**   * Array index of the highlighted text background color.  Used by   * {@link Toolkit#loadSystemColors()}.   *   * @see #textHighlight   */  public static final int TEXT_HIGHLIGHT = 14;  /**   * Array index of the highlighted text foreground color.  Used by   * {@link Toolkit#loadSystemColors()}.   *   * @see #textHighlightText   */  public static final int TEXT_HIGHLIGHT_TEXT = 15;  /**   * Array index of the inactive text foreground color.  Used by   * {@link Toolkit#loadSystemColors()}.   *   * @see #textInactiveText   */  public static final int TEXT_INACTIVE_TEXT = 16;  /**   * Array index of the control background color.  Used by   * {@link Toolkit#loadSystemColors()}.   *   * @see #control   */  public static final int CONTROL = 17;  /**   * Array index of the control text color.  Used by   * {@link Toolkit#loadSystemColors()}.   *   * @see #controlText   */  public static final int CONTROL_TEXT = 18;  /**   * Array index of the highlighted control background color.  Used by   * {@link Toolkit#loadSystemColors()}.   *   * @see #controlHighlight   */  public static final int CONTROL_HIGHLIGHT = 19;  /**   * Array index of the lightly highlighted control background color.  Used by   * {@link Toolkit#loadSystemColors()}.   *   * @see #controlLtHighlight   */  public static final int CONTROL_LT_HIGHLIGHT = 20;  /**   * Array index of the shadowed control background color.  Used by   * {@link Toolkit#loadSystemColors()}.   *   * @see #controlShadow   */  public static final int CONTROL_SHADOW = 21;  /**   * Array index of the darkly shadowed control background color.  Used by   * {@link Toolkit#loadSystemColors()}.   *   * @see #controlDkShadow   */  public static final int CONTROL_DK_SHADOW = 22;  /**   * Array index of the scrollbar background color.  Used by   * {@link Toolkit#loadSystemColors()}.   *   * @see #scrollbar   */  public static final int SCROLLBAR = 23;  /**   * Array index of the info background color.  Used by   * {@link Toolkit#loadSystemColors()}.   *   * @see #info   */  public static final int INFO = 24;  /**   * Array index of the info text color.  Used by   * {@link Toolkit#loadSystemColors()}.   *   * @see #infoText   */  public static final int INFO_TEXT = 25;  /**   * The number of system colors. Used by   * {@link Toolkit#loadSystemColors()}.   */  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, ignored   * @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 = new ColorPaintContext(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一区二区三区免费野_久草精品视频
婷婷开心激情综合| 国产成人综合亚洲91猫咪| 在线观看一区不卡| 国产精品电影一区二区三区| 国产美女在线精品| 久久综合久久综合久久综合| 精品一区二区三区日韩| 欧美一级理论性理论a| 天堂成人免费av电影一区| 欧美日韩一级黄| 亚洲综合色在线| 色婷婷综合久久久中文字幕| 亚洲免费观看高清| 色嗨嗨av一区二区三区| 亚洲男人的天堂av| 色婷婷av一区| 一区二区三区久久| 欧美撒尿777hd撒尿| 亚洲成人高清在线| 欧美高清视频不卡网| 污片在线观看一区二区| 欧美精品久久久久久久多人混战| 亚洲激情图片qvod| 91福利视频在线| 亚洲国产一二三| 欧美日韩视频在线第一区| 亚洲va天堂va国产va久| 欧美一级爆毛片| 国产乱对白刺激视频不卡| 国产婷婷一区二区| 不卡电影免费在线播放一区| 中文字幕亚洲区| 日本丶国产丶欧美色综合| 亚洲夂夂婷婷色拍ww47| 欧美高清视频一二三区 | 欧美人体做爰大胆视频| 日韩影院免费视频| 亚洲精品一区二区精华| 国产成人aaa| 一区二区三区中文字幕在线观看| 欧美精品一二三区| 黄网站免费久久| 国产欧美精品一区二区三区四区 | 国产伦精一区二区三区| 日韩三级免费观看| 国产高清不卡一区| 一级做a爱片久久| 欧美日本在线视频| 国产精品自拍毛片| 亚洲精品久久嫩草网站秘色| 欧美一级欧美一级在线播放| 国产成人高清在线| 一区二区三区免费看视频| 日韩视频免费观看高清完整版| 国产一区二区三区| 亚洲伦理在线精品| 欧美一区日韩一区| 成人激情文学综合网| 亚洲a一区二区| 国产欧美一区视频| 欧美日韩一区二区三区在线看| 国产一区视频网站| 亚洲欧美日韩精品久久久久| 91精品国产91综合久久蜜臀| 成人avav在线| 日韩国产欧美视频| 国产精品毛片高清在线完整版 | 色噜噜狠狠成人网p站| 免费视频最近日韩| 18涩涩午夜精品.www| 欧美一级二级三级蜜桃| 99re热视频这里只精品| 蜜桃av噜噜一区| 亚洲色图制服丝袜| 26uuu另类欧美亚洲曰本| 在线视频观看一区| 国产在线观看一区二区| 亚洲午夜久久久久久久久电影院| 精品福利视频一区二区三区| 色老汉一区二区三区| 国产精品一区二区你懂的| 性做久久久久久久久| 国产九色sp调教91| 亚洲电影在线播放| 国产精品第一页第二页第三页| 欧美一级高清片| 91福利在线导航| 成人午夜视频网站| 免费av成人在线| 亚洲精品欧美综合四区| 国产片一区二区| 日韩精品中午字幕| 欧美午夜一区二区三区| 盗摄精品av一区二区三区| 久久精品999| 五月婷婷综合网| 亚洲色图20p| 国产日韩欧美不卡| 欧美成人bangbros| 欧美美女网站色| 色婷婷亚洲综合| 大桥未久av一区二区三区中文| 久久av老司机精品网站导航| 亚洲chinese男男1069| 亚洲美女免费视频| 国产精品亲子乱子伦xxxx裸| 精品国产免费久久| 51午夜精品国产| 欧美午夜视频网站| 91社区在线播放| 成人一级片网址| 国产成人av电影免费在线观看| 精品一二三四在线| 91在线观看成人| 成人激情小说乱人伦| 高清视频一区二区| 国产最新精品免费| 韩国毛片一区二区三区| 久久国产婷婷国产香蕉| 美女mm1313爽爽久久久蜜臀| 日本不卡在线视频| 丝袜美腿成人在线| 天天综合网天天综合色| 亚洲影院理伦片| 亚洲一区在线观看网站| 洋洋成人永久网站入口| 一区二区三区成人| 一区二区三区在线不卡| 亚洲女与黑人做爰| 综合激情网...| 亚洲男同1069视频| 亚洲精品菠萝久久久久久久| 樱桃国产成人精品视频| 亚洲黄色免费电影| 亚洲精品视频一区| 夜夜嗨av一区二区三区网页| 亚洲一区二区三区中文字幕在线 | 中文字幕精品一区| 国产欧美日韩精品a在线观看| 国产免费成人在线视频| 中文字幕欧美区| 欧美激情一二三区| 亚洲三级电影网站| 一区二区三区欧美久久| 亚洲va在线va天堂| 蜜桃视频一区二区| 激情综合网最新| 韩国精品免费视频| 高清不卡一区二区| 99久久国产综合色|国产精品| 色欧美乱欧美15图片| 欧美视频一区二区三区在线观看 | 欧美日韩一区精品| 日韩一区二区三区在线视频| 精品久久久久av影院 | 久久久精品影视| 中文一区二区在线观看| 亚洲人成电影网站色mp4| 亚洲综合另类小说| 免费一级片91| 国产激情视频一区二区三区欧美| 99精品在线免费| 欧美日韩国产bt| 欧美精品一区二区在线播放| 国产精品三级av| 亚洲午夜精品在线| 久久国产日韩欧美精品| 成人免费的视频| 欧美伊人久久大香线蕉综合69| 日韩一区二区三区电影在线观看| 久久免费视频色| 亚洲美腿欧美偷拍| 蜜臀av一区二区| 成人涩涩免费视频| 欧美午夜精品免费| 精品福利一区二区三区免费视频| 成人免费一区二区三区视频| 天天av天天翘天天综合网 | 91丝袜国产在线播放| 欧美年轻男男videosbes| 久久久精品综合| 亚洲自拍另类综合| 国内精品写真在线观看| 色88888久久久久久影院野外| 日韩三级视频在线看| 亚洲私人影院在线观看| 麻豆中文一区二区| 99免费精品视频| 欧美一区二区三区电影| 一区视频在线播放| 色国产精品一区在线观看| 欧美一级搡bbbb搡bbbb| 日韩理论电影院| 麻豆成人av在线| 色又黄又爽网站www久久| 精品成a人在线观看| 亚洲精品大片www| 国产精品资源在线观看| 精品视频在线免费观看| 中文字幕av资源一区|