GeezerVison is showing docs.oracle.com — SystemColor (Java Platform SE 8 )
Java™ Platform Standard Ed. 8
java.awt
Class SystemColor
-
-
Field Summary
Fields
| Modifier and Type |
Field |
Description |
static int |
ACTIVE_CAPTION |
|
static int |
ACTIVE_CAPTION_BORDER |
|
static int |
ACTIVE_CAPTION_TEXT |
|
static SystemColor |
activeCaption |
The color rendered for the window-title background of the currently active window.
|
static SystemColor |
activeCaptionBorder |
The color rendered for the border around the currently active window.
|
static SystemColor |
activeCaptionText |
The color rendered for the window-title text of the currently active window.
|
static SystemColor |
control |
The color rendered for the background of control panels and control objects,
such as pushbuttons.
|
static int |
CONTROL |
The array index for the
control system color.
|
static int |
CONTROL_DK_SHADOW |
|
static int |
CONTROL_HIGHLIGHT |
|
static int |
CONTROL_LT_HIGHLIGHT |
|
static int |
CONTROL_SHADOW |
|
static int |
CONTROL_TEXT |
|
static SystemColor |
controlDkShadow |
The color rendered for dark shadow areas on 3D control objects, such as pushbuttons.
|
static SystemColor |
controlHighlight |
The color rendered for light areas of 3D control objects, such as pushbuttons.
|
static SystemColor |
controlLtHighlight |
The color rendered for highlight areas of 3D control objects, such as pushbuttons.
|
static SystemColor |
controlShadow |
The color rendered for shadow areas of 3D control objects, such as pushbuttons.
|
static SystemColor |
controlText |
The color rendered for the text of control panels and control objects,
such as pushbuttons.
|
static SystemColor |
desktop |
The color rendered for the background of the desktop.
|
static int |
DESKTOP |
The array index for the
desktop system color.
|
static int |
INACTIVE_CAPTION |
|
static int |
INACTIVE_CAPTION_BORDER |
|
static int |
INACTIVE_CAPTION_TEXT |
|
static SystemColor |
inactiveCaption |
The color rendered for the window-title background of inactive windows.
|
static SystemColor |
inactiveCaptionBorder |
The color rendered for the border around inactive windows.
|
static SystemColor |
inactiveCaptionText |
The color rendered for the window-title text of inactive windows.
|
static SystemColor |
info |
The color rendered for the background of tooltips or spot help.
|
static int |
INFO |
The array index for the
info system color.
|
static int |
INFO_TEXT |
The array index for the
infoText system color.
|
static SystemColor |
infoText |
The color rendered for the text of tooltips or spot help.
|
static SystemColor |
menu |
The color rendered for the background of menus.
|
static int |
MENU |
The array index for the
menu system color.
|
static int |
MENU_TEXT |
The array index for the
menuText system color.
|
static SystemColor |
menuText |
The color rendered for the text of menus.
|
static int |
NUM_COLORS |
The number of system colors in the array.
|
static SystemColor |
scrollbar |
The color rendered for the background of scrollbars.
|
static int |
SCROLLBAR |
The array index for the
scrollbar system color.
|
static SystemColor |
text |
The color rendered for the background of text control objects, such as
textfields and comboboxes.
|
static int |
TEXT |
The array index for the
text system color.
|
static int |
TEXT_HIGHLIGHT |
|
static int |
TEXT_HIGHLIGHT_TEXT |
|
static int |
TEXT_INACTIVE_TEXT |
|
static int |
TEXT_TEXT |
The array index for the
textText system color.
|
static SystemColor |
textHighlight |
The color rendered for the background of selected items, such as in menus,
comboboxes, and text.
|
static SystemColor |
textHighlightText |
The color rendered for the text of selected items, such as in menus, comboboxes,
and text.
|
static SystemColor |
textInactiveText |
The color rendered for the text of inactive items, such as in menus.
|
static SystemColor |
textText |
The color rendered for the text of text control objects, such as textfields
and comboboxes.
|
static SystemColor |
window |
The color rendered for the background of interior regions inside windows.
|
static int |
WINDOW |
The array index for the
window system color.
|
static int |
WINDOW_BORDER |
|
static int |
WINDOW_TEXT |
|
static SystemColor |
windowBorder |
The color rendered for the border around interior regions inside windows.
|
static SystemColor |
windowText |
The color rendered for text of interior regions inside windows.
|
-
Fields inherited from class java.awt.Color
black, 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
-
Method Summary
All Methods Instance Methods Concrete Methods
| Modifier and Type |
Method |
Description |
String |
toString() |
Returns a string representation of this Color's values.
|
-
Methods inherited from class java.awt.Color
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
-
-
Field Detail
-
text
public static final SystemColor text
The color rendered for the background of text control objects, such as
textfields and comboboxes.
-
textText
public static final SystemColor textText
The color rendered for the text of text control objects, such as textfields
and comboboxes.
-
textHighlight
public static final SystemColor textHighlight
The color rendered for the background of selected items, such as in menus,
comboboxes, and text.
-
textHighlightText
public static final SystemColor textHighlightText
The color rendered for the text of selected items, such as in menus, comboboxes,
and text.
-
textInactiveText
public static final SystemColor textInactiveText
The color rendered for the text of inactive items, such as in menus.
-
control
public static final SystemColor control
The color rendered for the background of control panels and control objects,
such as pushbuttons.
-
controlText
public static final SystemColor controlText
The color rendered for the text of control panels and control objects,
such as pushbuttons.
-
controlHighlight
public static final SystemColor controlHighlight
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
public static final SystemColor controlLtHighlight
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
public static final SystemColor controlShadow
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.
-
controlDkShadow
public static final SystemColor controlDkShadow
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.
Java™ Platform Standard Ed. 8
Submit a bug or feature For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples. Copyright © 1993, 2026, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.
|