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

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

?? systemcolor.java

?? linux下的gcc編譯器
?? 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一区二区三区免费野_久草精品视频
国产精品羞羞答答xxdd| 欧美日韩国产一级| 美女网站色91| 日韩高清电影一区| 天天操天天干天天综合网| 17c精品麻豆一区二区免费| 26uuu国产一区二区三区| 欧美喷水一区二区| 欧美羞羞免费网站| 色香蕉成人二区免费| 色综合久久久网| 日本道色综合久久| 欧美三级蜜桃2在线观看| 欧美疯狂性受xxxxx喷水图片| 93久久精品日日躁夜夜躁欧美| 成人av网址在线观看| 在线播放91灌醉迷j高跟美女| 欧美日韩亚洲另类| 欧美成人video| 久久精品视频网| 一区二区高清在线| 久久精品国内一区二区三区| 东方欧美亚洲色图在线| 欧美丝袜自拍制服另类| 精品久久免费看| 亚洲第一av色| www..com久久爱| 日韩欧美不卡一区| 日韩久久一区二区| 麻豆国产精品一区二区三区| 成人av先锋影音| 亚洲欧洲国产日韩| 日本不卡视频一二三区| 9l国产精品久久久久麻豆| 欧美久久久久久蜜桃| 一区二区高清免费观看影视大全| 国产成人午夜视频| 精品成人佐山爱一区二区| 亚洲精品免费视频| 99re视频精品| 亚洲一区二区中文在线| 精品少妇一区二区三区日产乱码 | 国产自产2019最新不卡| 在线观看日韩高清av| 中文字幕在线一区| 国内精品伊人久久久久av影院| 欧美日韩亚洲国产综合| 亚洲不卡一区二区三区| 欧美日韩视频在线一区二区| 一区二区三区四区高清精品免费观看| 韩国欧美一区二区| 国产精品毛片无遮挡高清| 麻豆传媒一区二区三区| 26uuu色噜噜精品一区二区| 日本少妇一区二区| 久久久久久**毛片大全| 亚洲小说春色综合另类电影| 91最新地址在线播放| 一区二区三区在线免费播放| 欧美日韩国产大片| 成人开心网精品视频| 一区二区免费看| 国产亚洲精品aa| 欧美在线一区二区三区| 精品亚洲成a人在线观看| 亚洲精品中文字幕乱码三区| 欧美精品丝袜中出| 成人晚上爱看视频| 亚洲国产精品久久不卡毛片| 国产欧美日本一区视频| 欧洲国内综合视频| 色久综合一二码| 成人黄色小视频在线观看| 美女网站色91| 日本最新不卡在线| 在线观看免费视频综合| 国产一区视频导航| 免费观看久久久4p| 亚洲成av人影院| 亚洲精品欧美综合四区| 日本一区二区电影| 中文字幕不卡三区| 亚洲精品一二三| 亚洲女人的天堂| 亚洲制服丝袜一区| 首页国产欧美久久| 亚洲午夜激情网站| 亚洲成在人线在线播放| 亚洲电影在线免费观看| 天堂va蜜桃一区二区三区| 天堂av在线一区| 韩国三级在线一区| 一本一本久久a久久精品综合麻豆| eeuss鲁片一区二区三区在线看| 高清不卡在线观看av| av福利精品导航| 91精品国产综合久久婷婷香蕉| 欧美色图在线观看| 精品精品国产高清一毛片一天堂| 国产女主播视频一区二区| 亚洲视频香蕉人妖| 久久99精品一区二区三区三区| 激情图区综合网| 国产成人精品免费网站| 欧美日韩一级片在线观看| 久久精品亚洲精品国产欧美| 亚洲激情第一区| 国产成人精品影视| 日韩免费性生活视频播放| 国产精品午夜免费| 亚洲综合图片区| 亚洲欧洲精品一区二区三区不卡| 欧美一区二区三区小说| 9191成人精品久久| 国产精品视频麻豆| 国模娜娜一区二区三区| 91精品国产一区二区三区香蕉| 国产欧美日本一区二区三区| 国产美女av一区二区三区| 欧美xxxx在线观看| 美女视频一区二区三区| 欧美欧美欧美欧美| 图片区小说区国产精品视频| 99vv1com这只有精品| 亚洲精品欧美专区| 欧美色窝79yyyycom| 亚洲午夜av在线| 91精品黄色片免费大全| 天堂久久一区二区三区| 欧美系列一区二区| 麻豆91在线看| 久久久久国产免费免费| 国产精品一级片| 午夜欧美电影在线观看| 精品婷婷伊人一区三区三| 一区二区在线观看免费视频播放| 7777女厕盗摄久久久| 国产麻豆一精品一av一免费| 欧美国产精品劲爆| 成人精品一区二区三区四区| 国产精品欧美精品| 欧美日韩国产综合一区二区三区| 国产乱码字幕精品高清av | 国产精品护士白丝一区av| 激情国产一区二区| 欧美tk—视频vk| 色婷婷国产精品综合在线观看| 美女视频网站久久| 亚洲www啪成人一区二区麻豆 | 国产很黄免费观看久久| 一二三四区精品视频| 精品va天堂亚洲国产| 欧美日韩一区二区三区在线| 国产酒店精品激情| 国产在线视频一区二区三区| 亚洲国产精品自拍| 一区二区三区四区不卡在线| 中文字幕第一页久久| 国产欧美日韩一区二区三区在线观看| 欧美日韩精品一区二区| 95精品视频在线| 欧美一级片在线| 日韩一区二区在线看片| 精品国产一区二区三区久久久蜜月| 制服丝袜在线91| 69堂精品视频| 久久这里只有精品6| 精品播放一区二区| 国产精品欧美一区喷水| 国产精品伦一区| 亚洲人xxxx| 午夜欧美2019年伦理| 国产又粗又猛又爽又黄91精品| 国产一区二区成人久久免费影院| 国产福利一区二区三区视频在线 | 欧美一区二区三区公司| 91麻豆精品国产91久久久更新时间| 欧美精品高清视频| 精品久久人人做人人爰| 中文字幕日韩欧美一区二区三区| 欧美激情一区二区三区四区| 亚洲免费在线视频| 国产在线播放一区二区三区| 94-欧美-setu| 国产日本亚洲高清| 免费一区二区视频| 99久久久精品免费观看国产蜜| 欧美精品高清视频| 午夜精品久久久久久久99樱桃| 中文子幕无线码一区tr| 2023国产精品| 亚洲三级免费观看| 国产传媒一区在线| 精品国产一区二区亚洲人成毛片| 亚洲亚洲人成综合网络| 91在线视频播放地址| ●精品国产综合乱码久久久久 | 亚洲第一激情av| 在线精品视频免费观看| 夜夜精品视频一区二区|