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

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

?? systemcolor.java

?? 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., 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一区二区在线观看| 日本欧美肥老太交大片| 成人国产精品免费网站| 欧美一区二区性放荡片| 中文字幕一区二| 国产一区视频网站| 欧美理论在线播放| 亚洲欧美二区三区| 成人av在线电影| 精品99一区二区三区| 丝袜脚交一区二区| 色欧美88888久久久久久影院| 久久网站最新地址| 久久国产乱子精品免费女| 欧美日韩在线精品一区二区三区激情| 久久久久久久久免费| 男人操女人的视频在线观看欧美| 91成人在线免费观看| 中文字幕在线观看不卡视频| 国产剧情在线观看一区二区| 日韩一区二区三区观看| 午夜精品久久久| 欧美日本一区二区在线观看| 一区二区三区不卡视频| 97精品久久久久中文字幕| 国产日韩精品久久久| 国产在线播放一区三区四| 欧美videos中文字幕| 毛片一区二区三区| 日韩精品中文字幕一区二区三区| 日韩精品成人一区二区在线| 欧美人妇做爰xxxⅹ性高电影| 一区二区在线免费| 日本道免费精品一区二区三区| **网站欧美大片在线观看| 99麻豆久久久国产精品免费优播| 国产精品水嫩水嫩| 99精品欧美一区二区蜜桃免费| 中文字幕一区二区日韩精品绯色| 成人免费看视频| 亚洲视频一区二区在线| 色8久久人人97超碰香蕉987| 亚洲综合在线五月| 777奇米四色成人影色区| 裸体歌舞表演一区二区| 精品电影一区二区三区| 国产成人综合在线播放| 国产精品女人毛片| 91蜜桃免费观看视频| 亚洲高清免费观看| 欧美一级欧美三级| 国产精品99久| 一区二区三区四区高清精品免费观看| 欧美性猛交xxxxxxxx| 秋霞午夜鲁丝一区二区老狼| 久久久亚洲精品石原莉奈| voyeur盗摄精品| 日日夜夜精品视频天天综合网| 26uuuu精品一区二区| av不卡在线播放| 日本在线播放一区二区三区| wwwwxxxxx欧美| 一本色道久久综合精品竹菊| 婷婷久久综合九色综合绿巨人| 精品国产第一区二区三区观看体验| 国产宾馆实践打屁股91| 亚洲一区二区视频在线| 久久一区二区三区四区| 91久久精品一区二区二区| 久久精品免费观看| 亚洲情趣在线观看| 精品国产亚洲在线| 91传媒视频在线播放| 国产乱一区二区| 亚洲一二三区在线观看| 久久久精品一品道一区| 欧美日免费三级在线| 成人福利视频在线看| 天堂影院一区二区| 亚洲视频一二三区| 久久久久97国产精华液好用吗| 欧美日韩美女一区二区| 不卡电影一区二区三区| 韩国成人福利片在线播放| 亚洲国产视频a| 中文字幕第一页久久| 精品国产成人在线影院| 欧美日本在线看| 欧美在线免费视屏| eeuss国产一区二区三区| 精品亚洲国内自在自线福利| 亚洲成人777| 亚洲精品乱码久久久久久久久| 久久精品视频网| 日韩你懂的在线观看| 欧美日韩在线电影| 在线一区二区三区四区五区| 成人aa视频在线观看| 国产二区国产一区在线观看| 人人超碰91尤物精品国产| 亚洲成av人影院在线观看网| 亚洲欧美在线另类| 中文字幕国产一区| 亚洲国产高清在线观看视频| 国产日韩欧美制服另类| 精品区一区二区| 日韩免费观看高清完整版 | 欧美精品1区2区3区| 日本福利一区二区| 在线观看日韩一区| 色婷婷久久99综合精品jk白丝| 成人app软件下载大全免费| 成人免费毛片a| 9l国产精品久久久久麻豆| jlzzjlzz亚洲女人18| 成人爱爱电影网址| 色综合天天做天天爱| 色94色欧美sute亚洲线路一ni | 国产suv精品一区二区883| 国产在线精品免费| 国产精品一二三四五| 成人一区二区三区在线观看| 国产精品一卡二| 成人福利视频在线| 99精品国产视频| 一本大道久久精品懂色aⅴ| 欧美中文字幕一区二区三区亚洲| 欧美丝袜丝交足nylons图片| 91 com成人网| 26uuu国产一区二区三区| 国产精品久久午夜夜伦鲁鲁| 一区二区三区在线免费观看| 亚洲一级二级在线| 日韩成人免费在线| 国产乱码精品一区二区三区忘忧草| 高清国产午夜精品久久久久久| youjizz国产精品| 精品污污网站免费看| 精品国精品国产尤物美女| 中文字幕一区二区三区在线不卡 | 日韩欧美国产1| 国产嫩草影院久久久久| 亚洲另类在线视频| 久久精品二区亚洲w码| 成人性生交大合| 欧美三区在线观看| 国产日韩欧美高清| 图片区日韩欧美亚洲| 成人午夜在线播放| 欧美军同video69gay| 日本一区二区三区在线不卡| 亚洲成在线观看| 粉嫩一区二区三区性色av| 欧美日韩激情一区二区三区| 国产午夜亚洲精品午夜鲁丝片| 一区二区三区成人| 丁香一区二区三区| 日韩一区二区三区高清免费看看| 国产精品国产馆在线真实露脸| 日韩国产欧美在线视频| 99综合电影在线视频| 日韩三级伦理片妻子的秘密按摩| 国产精品免费视频一区| 强制捆绑调教一区二区| 99视频热这里只有精品免费| 69精品人人人人| 国产无遮挡一区二区三区毛片日本| 午夜激情久久久| 国产精品99久久久久久似苏梦涵 | 欧美国产视频在线| 中文字幕一区二区三区在线不卡 | 大桥未久av一区二区三区中文| www.在线成人| 91精品国产综合久久久蜜臀粉嫩| 日韩欧美色综合| 亚洲一区二区欧美日韩| 激情综合色播激情啊| 一本色道久久综合亚洲aⅴ蜜桃 | 丰满亚洲少妇av| 欧美色精品在线视频| 国产日韩欧美综合在线| 日一区二区三区| 欧美日韩午夜精品| 国产精品麻豆一区二区| 蜜桃视频一区二区| 色综合一区二区三区| 久久综合九色综合97婷婷| 亚洲另类春色国产| 成人动漫一区二区在线| 国产清纯白嫩初高生在线观看91| 亚洲一区二区精品久久av| 高清国产一区二区| 日韩欧美国产综合一区| 午夜欧美一区二区三区在线播放| 成人免费视频视频在线观看免费| 一本大道av伊人久久综合| 亚洲欧美日本韩国| 成人午夜在线免费| 亚洲精品在线免费观看视频|