Paint
, Transparency
, Serializable
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
.
Fields
static final int
static final int
static final int
The color rendered for the window-title background of the currently active window.
The color rendered for the border around the currently active window.
The color rendered for the window-title text of the currently active window.
The color rendered for the background of control panels and control objects, such as pushbuttons.
static final int
The array index for the
control
system color.
static final int
static final int
static final int
static final int
static final int
The color rendered for dark shadow areas on 3D control objects, such as pushbuttons.
The color rendered for light areas of 3D control objects, such as pushbuttons.
The color rendered for highlight areas of 3D control objects, such as pushbuttons.
The color rendered for shadow areas of 3D control objects, such as pushbuttons.
The color rendered for the text of control panels and control objects, such as pushbuttons.
The color rendered for the background of the desktop.
static final int
The array index for the
desktop
system color.
static final int
static final int
static final int
The color rendered for the window-title background of inactive windows.
The color rendered for the border around inactive windows.
The color rendered for the window-title text of inactive windows.
The color rendered for the background of tooltips or spot help.
static final int
The array index for the
info
system color.
static final int
The array index for the
infoText
system color.
The color rendered for the text of tooltips or spot help.
The color rendered for the background of menus.
static final int
The array index for the
menu
system color.
static final int
The array index for the
menuText
system color.
The color rendered for the text of menus.
static final int
The number of system colors in the array.
The color rendered for the background of scrollbars.
static final int
The array index for the
scrollbar
system color.
The color rendered for the background of text control objects, such as textfields and comboboxes.
static final int
The array index for the
text
system color.
static final int
static final int
static final int
static final int
The array index for the
textText
system color.
The color rendered for the background of selected items, such as in menus, comboboxes, and text.
The color rendered for the text of selected items, such as in menus, comboboxes, and text.
The color rendered for the text of inactive items, such as in menus.
The color rendered for the text of text control objects, such as textfields and comboboxes.
The color rendered for the background of interior regions inside windows.
static final int
The array index for the
window
system color.
static final int
static final int
The color rendered for the border around interior regions inside windows.
The color rendered for text of interior regions inside windows.
Fields declared in class java.awt.Colorblack, BLACK, blue, BLUE, cyan, CYAN, DARK_GRAY, darkGray, gray, GRAY, green, GREEN, LIGHT_GRAY, lightGray, magenta, MAGENTA, orange, ORANGE, pink, PINK, red, RED, white, WHITE, yellow, YELLOW
Returns a string representation of this Color
's values.
brighter, createContext, darker, decode, equals, getAlpha, getBlue, getColor, getColor, getColor, getColorComponents, getColorComponents, getColorSpace, getComponents, getComponents, getGreen, getHSBColor, getRed, getRGB, getRGBColorComponents, getRGBComponents, getTransparency, hashCode, HSBtoRGB, RGBtoHSB
The array index for the
desktop
system color.
The array index for the
window
system color.
The array index for the
text
system color.
The array index for the
textText
system color.
The array index for the
control
system color.
The array index for the
scrollbar
system color.
The array index for the
info
system color.
The array index for the
infoText
system color.
The number of system colors in the array.
The color rendered for the background of the desktop.
The color rendered for the window-title background of the currently active window.
The color rendered for the window-title text of the currently active window.
The color rendered for the border around the currently active window.
The color rendered for the window-title background of inactive windows.
The color rendered for the window-title text of inactive windows.
The color rendered for the border around inactive windows.
The color rendered for the background of interior regions inside windows.
The color rendered for the border around interior regions inside windows.
The color rendered for text of interior regions inside windows.
The color rendered for the background of text control objects, such as textfields and comboboxes.
The color rendered for the text of text control objects, such as textfields and comboboxes.
The color rendered for the background of selected items, such as in menus, comboboxes, and text.
The color rendered for the text of selected items, such as in menus, comboboxes, and text.
The color rendered for the text of inactive items, such as in menus.
The color rendered for the background of control panels and control objects, such as pushbuttons.
The color rendered for the text of control panels and control objects, such as pushbuttons.
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.
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.
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.
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.
The color rendered for the background of scrollbars.
The color rendered for the background of tooltips or spot help.
The color rendered for the text of tooltips or spot help.
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
.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4