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

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

?? systemcolor.java

?? Mac OS X 10.4.9 for x86 Source Code gcc 實現源代碼
?? 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., 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.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一区二区三区| 日韩精品一区二区三区在线 | 久久综合九色综合欧美98| 欧美视频在线一区二区三区 | 日韩激情在线观看| 日韩视频123| 精品国产一区久久| 亚洲国产精品ⅴa在线观看| 精品欧美一区二区三区精品久久| 久久先锋资源网| 国产成人自拍在线| 欧美亚洲综合久久| a在线欧美一区| 不卡一区在线观看| 99精品欧美一区二区三区综合在线| 国产九色精品成人porny | 亚洲成人精品影院| 一级做a爱片久久| 综合色中文字幕| 亚洲一区av在线| 天堂一区二区在线| 久久99久久精品欧美| 大胆亚洲人体视频| 91精品91久久久中77777| 欧美日韩一卡二卡三卡| 欧美探花视频资源| 欧美精品丝袜中出| 久久毛片高清国产| 国产日产欧产精品推荐色| 国产精品久久久久久亚洲毛片 | 9人人澡人人爽人人精品| 91美女在线视频| 欧美日韩精品一区二区天天拍小说| 色噜噜夜夜夜综合网| 欧美日本在线看| xfplay精品久久| 亚洲女人的天堂| 国产在线国偷精品免费看| 波多野结衣在线一区| 欧美日韩在线三级| 久久午夜色播影院免费高清 | 久久精品99国产精品| 成人av网站大全| 宅男在线国产精品| 亚洲欧洲日本在线| 日本欧美久久久久免费播放网| 国产成人一级电影| 欧美美女直播网站| 中国av一区二区三区| 视频在线观看一区| 色国产精品一区在线观看| 欧美不卡在线视频| 亚洲一区在线电影| 成人国产在线观看| 日韩美女在线视频| 最新高清无码专区| 国产成人精品影院| 欧美电影免费观看高清完整版| 亚洲综合在线观看视频| 国产黄色精品网站| 国产精品视频免费看| 免费观看一级欧美片| 色综合视频在线观看| 日韩视频国产视频| 夜色激情一区二区| 91视频国产观看| 中文字幕亚洲不卡| 成人午夜视频福利| 国产午夜精品美女毛片视频| 日韩成人一级片| 欧美男人的天堂一二区| 亚洲成在人线在线播放| 欧美亚洲一区二区在线观看| 亚洲另类在线制服丝袜| 99久精品国产| 亚洲欧美一区二区在线观看| 成人精品免费看| 国产精品久久久久一区| 99久久精品免费看| 国产精品久久久久久久久晋中| 国产精品亚洲第一| 国产精品国产三级国产专播品爱网| 国产精品一区二区黑丝| 中文一区在线播放| 99精品国产99久久久久久白柏| 中文字幕在线观看不卡| 99久久国产免费看| 亚洲一区在线看| 日韩三级视频在线看| 麻豆国产一区二区| 久久中文字幕电影| 不卡av免费在线观看| 亚洲精品国产一区二区三区四区在线| 99精品视频在线观看免费| 中文字幕综合网| 欧美在线免费播放| 麻豆久久久久久| 欧美极品美女视频| eeuss鲁片一区二区三区在线观看| 1024亚洲合集| 成人动漫一区二区在线| 日韩欧美一卡二卡| 国产精品一二三四五| 中文字幕亚洲电影| 日韩视频一区二区| 99精品欧美一区| 美日韩一级片在线观看| 中文字幕欧美激情一区| 欧美日韩一区高清| 极品瑜伽女神91| 亚洲黄色在线视频| 精品国产乱码久久久久久久久| 成人av在线网站| 亚洲高清免费一级二级三级| 国产日韩在线不卡| 欧美日韩视频第一区| 韩国欧美国产1区| 欧美系列日韩一区| 成人黄页毛片网站| kk眼镜猥琐国模调教系列一区二区| 丁香啪啪综合成人亚洲小说| 久久麻豆一区二区| 欧美在线一区二区| 国精产品一区一区三区mba桃花 | 一区二区三区在线观看国产| 91精品国产麻豆国产自产在线| 国产91对白在线观看九色| 一区二区三区在线看| 欧美激情综合网| 欧美xxxxxxxxx| 91麻豆精品秘密| 国产精品一区二区在线看| 日韩精品电影一区亚洲| 最新国产成人在线观看| 久久久一区二区三区| 91精品国产欧美一区二区18| 欧美色爱综合网| 93久久精品日日躁夜夜躁欧美| 久久精品人人做人人爽97| 在线不卡a资源高清| 色视频成人在线观看免| 亚洲一区免费视频| 亚洲精品五月天| 免费在线欧美视频| 久久9热精品视频| 亚洲嫩草精品久久| 欧美一区二区三区在线观看| 日本久久电影网| www.欧美色图| 99久久er热在这里只有精品66| 国产精品99久久久久久久vr| 日本中文字幕一区| 久久久精品国产99久久精品芒果| 久久久无码精品亚洲日韩按摩| 成人欧美一区二区三区小说| 亚洲v日本v欧美v久久精品| 91成人免费在线| 免费在线观看视频一区| 丝袜诱惑制服诱惑色一区在线观看| 亚洲国产精品自拍| 亚洲成人动漫av| 日本怡春院一区二区| 麻豆91免费看| 国产成人综合亚洲网站| 国产精品一区一区三区| 国产成人精品免费| 国产91在线观看| 99视频有精品| 成人自拍视频在线| 成人午夜私人影院| aa级大片欧美| 国产精品资源在线看| 国产乱码精品一区二区三| 国产精品一区二区男女羞羞无遮挡| 免费观看30秒视频久久| 精品一区二区三区在线播放| 国产毛片精品视频| 国产传媒久久文化传媒| 国产在线视频一区二区| 成人免费看视频| 欧美日韩视频一区二区| 日韩午夜激情免费电影| 欧美国产一区二区| 一区二区在线观看视频在线观看| 偷拍自拍另类欧美| 麻豆91精品91久久久的内涵| 国产91在线观看| 在线观看一区日韩| 精品日韩一区二区三区| 国产欧美日韩在线视频| 日韩美女视频一区| 亚洲高清一区二区三区| 国产不卡视频一区二区三区| 97aⅴ精品视频一二三区| 欧美一区二区三区色| 欧美激情一区在线观看| 国产福利一区二区| 色欧美88888久久久久久影院| 911国产精品| 亚洲人成网站影音先锋播放|