Java Doc for SystemColor.java in  » 6.0-JDK-Core » AWT » java » awt » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Home
Java Source Code / Java Documentation
1.6.0 JDK Core
2.6.0 JDK Modules
3.6.0 JDK Modules com.sun
4.6.0 JDK Modules com.sun.java
5.6.0 JDK Modules sun
6.6.0 JDK Platform
7.Ajax
8.Apache Harmony Java SE
9.Aspect oriented
10.Authentication Authorization
11.Blogger System
12.Build
13.Byte Code
14.Cache
15.Chart
16.Chat
17.Code Analyzer
18.Collaboration
19.Content Management System
20.Database Client
21.Database DBMS
22.Database JDBC Connection Pool
23.Database ORM
24.Development
25.EJB Server
26.ERP CRM Financial
27.ESB
28.Forum
29.Game
30.GIS
31.Graphic 3D
32.Graphic Library
33.Groupware
34.HTML Parser
35.IDE
36.IDE Eclipse
37.IDE Netbeans
38.Installer
39.Internationalization Localization
40.Inversion of Control
41.Issue Tracking
42.J2EE
43.J2ME
44.JBoss
45.JMS
46.JMX
47.Library
48.Mail Clients
49.Music
50.Net
51.Parser
52.PDF
53.Portal
54.Profiler
55.Project Management
56.Report
57.RSS RDF
58.Rule Engine
59.Science
60.Scripting
61.Search Engine
62.Security
63.Sevlet Container
64.Source Control
65.Swing Library
66.Template Engine
67.Test Coverage
68.Testing
69.UML
70.Web Crawler
71.Web Framework
72.Web Mail
73.Web Server
74.Web Services
75.Web Services apache cxf 2.2.6
76.Web Services AXIS2
77.Wiki Engine
78.Workflow Engines
79.XML
80.XML UI
Java Source Code / Java Documentation » 6.0 JDK Core » AWT » java.awt 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   java.awt.Color
      java.awt.SystemColor

SystemColor
final public class SystemColor extends Color implements java.io.Serializable(Code)
A class to encapsulate symbolic colors representing the color of native GUI objects on a system. For systems which support the dynamic update of the system colors (when the user changes the colors) the actual RGB values of these symbolic colors will also change dynamically. In order to compare the "current" RGB value of a SystemColor object with a non-symbolic Color object, getRGB should be used rather than equals.

Note that the way in which these system colors are applied to GUI objects may vary slightly from platform to platform since GUI objects may be rendered differently on each platform.

System color values may also be available through the getDesktopProperty method on java.awt.Toolkit.
See Also:   Toolkit.getDesktopProperty
version:
   1.36, 06/06/07
author:
   Carl Quinn
author:
   Amy Fowler



Field Summary
final public static  intACTIVE_CAPTION
     The array index for the SystemColor.activeCaption system color.
final public static  intACTIVE_CAPTION_BORDER
     The array index for the SystemColor.activeCaptionBorder system color.
final public static  intACTIVE_CAPTION_TEXT
     The array index for the SystemColor.activeCaptionText system color.
final public static  intCONTROL
     The array index for the SystemColor.control system color.
final public static  intCONTROL_DK_SHADOW
     The array index for the SystemColor.controlDkShadow system color.
final public static  intCONTROL_HIGHLIGHT
     The array index for the SystemColor.controlHighlight system color.
final public static  intCONTROL_LT_HIGHLIGHT
     The array index for the SystemColor.controlLtHighlight system color.
final public static  intCONTROL_SHADOW
     The array index for the SystemColor.controlShadow system color.
final public static  intCONTROL_TEXT
     The array index for the SystemColor.controlText system color.
final public static  intDESKTOP
     The array index for the SystemColor.desktop system color.
final public static  intINACTIVE_CAPTION
     The array index for the SystemColor.inactiveCaption system color.
final public static  intINACTIVE_CAPTION_BORDER
     The array index for the SystemColor.inactiveCaptionBorder system color.
final public static  intINACTIVE_CAPTION_TEXT
     The array index for the SystemColor.inactiveCaptionText system color.
final public static  intINFO
     The array index for the SystemColor.info system color.
final public static  intINFO_TEXT
     The array index for the SystemColor.infoText system color.
final public static  intMENU
     The array index for the SystemColor.menu system color.
final public static  intMENU_TEXT
     The array index for the SystemColor.menuText system color.
final public static  intNUM_COLORS
     The number of system colors in the array.
final public static  intSCROLLBAR
     The array index for the SystemColor.scrollbar system color.
final public static  intTEXT
     The array index for the SystemColor.text system color.
final public static  intTEXT_HIGHLIGHT
     The array index for the SystemColor.textHighlight system color.
final public static  intTEXT_HIGHLIGHT_TEXT
     The array index for the SystemColor.textHighlightText system color.
final public static  intTEXT_INACTIVE_TEXT
     The array index for the SystemColor.textInactiveText system color.
final public static  intTEXT_TEXT
     The array index for the SystemColor.textText system color.
final public static  intWINDOW
     The array index for the SystemColor.window system color.
final public static  intWINDOW_BORDER
     The array index for the SystemColor.windowBorder system color.
final public static  intWINDOW_TEXT
     The array index for the SystemColor.windowText system color.
final public static  SystemColoractiveCaption
     The color rendered for the window-title background of the currently active window.
final public static  SystemColoractiveCaptionBorder
     The color rendered for the border around the currently active window.
final public static  SystemColoractiveCaptionText
     The color rendered for the window-title text of the currently active window.
final public static  SystemColorcontrol
     The color rendered for the background of control panels and control objects, such as pushbuttons.
final public static  SystemColorcontrolDkShadow
     The color rendered for dark shadow areas on 3D control objects, such as pushbuttons.
final public static  SystemColorcontrolHighlight
     The color rendered for light areas of 3D control objects, such as pushbuttons.
final public static  SystemColorcontrolLtHighlight
     The color rendered for highlight areas of 3D control objects, such as pushbuttons.
final public static  SystemColorcontrolShadow
     The color rendered for shadow areas of 3D control objects, such as pushbuttons.
final public static  SystemColorcontrolText
     The color rendered for the text of control panels and control objects, such as pushbuttons.
final public static  SystemColordesktop
     The color rendered for the background of the desktop.
final public static  SystemColorinactiveCaption
     The color rendered for the window-title background of inactive windows.
final public static  SystemColorinactiveCaptionBorder
     The color rendered for the border around inactive windows.
final public static  SystemColorinactiveCaptionText
     The color rendered for the window-title text of inactive windows.
final public static  SystemColorinfo
     The color rendered for the background of tooltips or spot help.
final public static  SystemColorinfoText
     The color rendered for the text of tooltips or spot help.
final public static  SystemColormenu
     The color rendered for the background of menus.
final public static  SystemColormenuText
     The color rendered for the text of menus.
final public static  SystemColorscrollbar
     The color rendered for the background of scrollbars.
final public static  SystemColortext
     The color rendered for the background of text control objects, such as textfields and comboboxes.
final public static  SystemColortextHighlight
     The color rendered for the background of selected items, such as in menus, comboboxes, and text.
final public static  SystemColortextHighlightText
     The color rendered for the text of selected items, such as in menus, comboboxes, and text.
final public static  SystemColortextInactiveText
     The color rendered for the text of inactive items, such as in menus.
final public static  SystemColortextText
     The color rendered for the text of text control objects, such as textfields and comboboxes.
final public static  SystemColorwindow
     The color rendered for the background of interior regions inside windows.
final public static  SystemColorwindowBorder
     The color rendered for the border around interior regions inside windows.
final public static  SystemColorwindowText
     The color rendered for text of interior regions inside windows.


Method Summary
public  StringtoString()
     Returns a string representation of this Color's values.

Field Detail
ACTIVE_CAPTION
final public static int ACTIVE_CAPTION(Code)
The array index for the SystemColor.activeCaption system color.
See Also:   SystemColor.activeCaption



ACTIVE_CAPTION_BORDER
final public static int ACTIVE_CAPTION_BORDER(Code)
The array index for the SystemColor.activeCaptionBorder system color.
See Also:   SystemColor.activeCaptionBorder



ACTIVE_CAPTION_TEXT
final public static int ACTIVE_CAPTION_TEXT(Code)
The array index for the SystemColor.activeCaptionText system color.
See Also:   SystemColor.activeCaptionText



CONTROL
final public static int CONTROL(Code)
The array index for the SystemColor.control system color.
See Also:   SystemColor.control



CONTROL_DK_SHADOW
final public static int CONTROL_DK_SHADOW(Code)
The array index for the SystemColor.controlDkShadow system color.
See Also:   SystemColor.controlDkShadow



CONTROL_HIGHLIGHT
final public static int CONTROL_HIGHLIGHT(Code)
The array index for the SystemColor.controlHighlight system color.
See Also:   SystemColor.controlHighlight



CONTROL_LT_HIGHLIGHT
final public static int CONTROL_LT_HIGHLIGHT(Code)
The array index for the SystemColor.controlLtHighlight system color.
See Also:   SystemColor.controlLtHighlight



CONTROL_SHADOW
final public static int CONTROL_SHADOW(Code)
The array index for the SystemColor.controlShadow system color.
See Also:   SystemColor.controlShadow



CONTROL_TEXT
final public static int CONTROL_TEXT(Code)
The array index for the SystemColor.controlText system color.
See Also:   SystemColor.controlText



DESKTOP
final public static int DESKTOP(Code)
The array index for the SystemColor.desktop system color.
See Also:   SystemColor.desktop



INACTIVE_CAPTION
final public static int INACTIVE_CAPTION(Code)
The array index for the SystemColor.inactiveCaption system color.
See Also:   SystemColor.inactiveCaption



INACTIVE_CAPTION_BORDER
final public static int INACTIVE_CAPTION_BORDER(Code)
The array index for the SystemColor.inactiveCaptionBorder system color.
See Also:   SystemColor.inactiveCaptionBorder



INACTIVE_CAPTION_TEXT
final public static int INACTIVE_CAPTION_TEXT(Code)
The array index for the SystemColor.inactiveCaptionText system color.
See Also:   SystemColor.inactiveCaptionText



INFO
final public static int INFO(Code)
The array index for the SystemColor.info system color.
See Also:   SystemColor.info



INFO_TEXT
final public static int INFO_TEXT(Code)
The array index for the SystemColor.infoText system color.
See Also:   SystemColor.infoText



MENU
final public static int MENU(Code)
The array index for the SystemColor.menu system color.
See Also:   SystemColor.menu



MENU_TEXT
final public static int MENU_TEXT(Code)
The array index for the SystemColor.menuText system color.
See Also:   SystemColor.menuText



NUM_COLORS
final public static int NUM_COLORS(Code)
The number of system colors in the array.



SCROLLBAR
final public static int SCROLLBAR(Code)
The array index for the SystemColor.scrollbar system color.
See Also:   SystemColor.scrollbar



TEXT
final public static int TEXT(Code)
The array index for the SystemColor.text system color.
See Also:   SystemColor.text



TEXT_HIGHLIGHT
final public static int TEXT_HIGHLIGHT(Code)
The array index for the SystemColor.textHighlight system color.
See Also:   SystemColor.textHighlight



TEXT_HIGHLIGHT_TEXT
final public static int TEXT_HIGHLIGHT_TEXT(Code)
The array index for the SystemColor.textHighlightText system color.
See Also:   SystemColor.textHighlightText



TEXT_INACTIVE_TEXT
final public static int TEXT_INACTIVE_TEXT(Code)
The array index for the SystemColor.textInactiveText system color.
See Also:   SystemColor.textInactiveText



TEXT_TEXT
final public static int TEXT_TEXT(Code)
The array index for the SystemColor.textText system color.
See Also:   SystemColor.textText



WINDOW
final public static int WINDOW(Code)
The array index for the SystemColor.window system color.
See Also:   SystemColor.window



WINDOW_BORDER
final public static int WINDOW_BORDER(Code)
The array index for the SystemColor.windowBorder system color.
See Also:   SystemColor.windowBorder



WINDOW_TEXT
final public static int WINDOW_TEXT(Code)
The array index for the SystemColor.windowText system color.
See Also:   SystemColor.windowText



activeCaption
final public static SystemColor activeCaption(Code)
The color rendered for the window-title background of the currently active window.



activeCaptionBorder
final public static SystemColor activeCaptionBorder(Code)
The color rendered for the border around the currently active window.



activeCaptionText
final public static SystemColor activeCaptionText(Code)
The color rendered for the window-title text of the currently active window.



control
final public static SystemColor control(Code)
The color rendered for the background of control panels and control objects, such as pushbuttons.



controlDkShadow
final public static SystemColor controlDkShadow(Code)
The color rendered for dark shadow areas on 3D control objects, such as pushbuttons. This color is typically derived from the control background color to provide a 3D effect.



controlHighlight
final public static SystemColor controlHighlight(Code)
The color rendered for light areas of 3D control objects, such as pushbuttons. This color is typically derived from the control background color to provide a 3D effect.



controlLtHighlight
final public static SystemColor controlLtHighlight(Code)
The color rendered for highlight areas of 3D control objects, such as pushbuttons. This color is typically derived from the control background color to provide a 3D effect.



controlShadow
final public static SystemColor controlShadow(Code)
The color rendered for shadow areas of 3D control objects, such as pushbuttons. This color is typically derived from the control background color to provide a 3D effect.



controlText
final public static SystemColor controlText(Code)
The color rendered for the text of control panels and control objects, such as pushbuttons.



desktop
final public static SystemColor desktop(Code)
The color rendered for the background of the desktop.



inactiveCaption
final public static SystemColor inactiveCaption(Code)
The color rendered for the window-title background of inactive windows.



inactiveCaptionBorder
final public static SystemColor inactiveCaptionBorder(Code)
The color rendered for the border around inactive windows.



inactiveCaptionText
final public static SystemColor inactiveCaptionText(Code)
The color rendered for the window-title text of inactive windows.



info
final public static SystemColor info(Code)
The color rendered for the background of tooltips or spot help.



infoText
final public static SystemColor infoText(Code)
The color rendered for the text of tooltips or spot help.



menu
final public static SystemColor menu(Code)
The color rendered for the background of menus.



menuText
final public static SystemColor menuText(Code)
The color rendered for the text of menus.



scrollbar
final public static SystemColor scrollbar(Code)
The color rendered for the background of scrollbars.



text
final public static SystemColor text(Code)
The color rendered for the background of text control objects, such as textfields and comboboxes.



textHighlight
final public static SystemColor textHighlight(Code)
The color rendered for the background of selected items, such as in menus, comboboxes, and text.



textHighlightText
final public static SystemColor textHighlightText(Code)
The color rendered for the text of selected items, such as in menus, comboboxes, and text.



textInactiveText
final public static SystemColor textInactiveText(Code)
The color rendered for the text of inactive items, such as in menus.



textText
final public static SystemColor textText(Code)
The color rendered for the text of text control objects, such as textfields and comboboxes.



window
final public static SystemColor window(Code)
The color rendered for the background of interior regions inside windows.



windowBorder
final public static SystemColor windowBorder(Code)
The color rendered for the border around interior regions inside windows.



windowText
final public static SystemColor windowText(Code)
The color rendered for text of interior regions inside windows.





Method Detail
toString
public String toString()(Code)
Returns a string representation of this Color's values. This method is intended to be used only for debugging purposes, and the content and format of the returned string may vary between implementations. The returned string may be empty but may not be null. a string representation of this Color



Fields inherited from java.awt.Color
final public static Color BLACK(Code)(Java Doc)
final public static Color BLUE(Code)(Java Doc)
final public static Color CYAN(Code)(Java Doc)
final public static Color DARK_GRAY(Code)(Java Doc)
final public static Color GRAY(Code)(Java Doc)
final public static Color GREEN(Code)(Java Doc)
final public static Color LIGHT_GRAY(Code)(Java Doc)
final public static Color MAGENTA(Code)(Java Doc)
final public static Color ORANGE(Code)(Java Doc)
final public static Color PINK(Code)(Java Doc)
final public static Color RED(Code)(Java Doc)
final public static Color WHITE(Code)(Java Doc)
final public static Color YELLOW(Code)(Java Doc)
final public static Color black(Code)(Java Doc)
final public static Color blue(Code)(Java Doc)
final public static Color cyan(Code)(Java Doc)
final public static Color darkGray(Code)(Java Doc)
final public static Color gray(Code)(Java Doc)
final public static Color green(Code)(Java Doc)
final public static Color lightGray(Code)(Java Doc)
final public static Color magenta(Code)(Java Doc)
final public static Color orange(Code)(Java Doc)
final public static Color pink(Code)(Java Doc)
final public static Color red(Code)(Java Doc)
int value(Code)(Java Doc)
final public static Color white(Code)(Java Doc)
final public static Color yellow(Code)(Java Doc)

Methods inherited from java.awt.Color
public static int HSBtoRGB(float hue, float saturation, float brightness)(Code)(Java Doc)
public static float[] RGBtoHSB(int r, int g, int b, float[] hsbvals)(Code)(Java Doc)
public Color brighter()(Code)(Java Doc)
public synchronized PaintContext createContext(ColorModel cm, Rectangle r, Rectangle2D r2d, AffineTransform xform, RenderingHints hints)(Code)(Java Doc)
public Color darker()(Code)(Java Doc)
public static Color decode(String nm) throws NumberFormatException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
public int getAlpha()(Code)(Java Doc)
public int getBlue()(Code)(Java Doc)
public static Color getColor(String nm)(Code)(Java Doc)
public static Color getColor(String nm, Color v)(Code)(Java Doc)
public static Color getColor(String nm, int v)(Code)(Java Doc)
public float[] getColorComponents(float[] compArray)(Code)(Java Doc)
public float[] getColorComponents(ColorSpace cspace, float[] compArray)(Code)(Java Doc)
public ColorSpace getColorSpace()(Code)(Java Doc)
public float[] getComponents(float[] compArray)(Code)(Java Doc)
public float[] getComponents(ColorSpace cspace, float[] compArray)(Code)(Java Doc)
public int getGreen()(Code)(Java Doc)
public static Color getHSBColor(float h, float s, float b)(Code)(Java Doc)
public int getRGB()(Code)(Java Doc)
public float[] getRGBColorComponents(float[] compArray)(Code)(Java Doc)
public float[] getRGBComponents(float[] compArray)(Code)(Java Doc)
public int getRed()(Code)(Java Doc)
public int getTransparency()(Code)(Java Doc)
public int hashCode()(Code)(Java Doc)
public String toString()(Code)(Java Doc)

Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.