All Packages Class Hierarchy This Package Previous Next Index
Class java.awt.SystemColor
java.lang.Object
|
+----java.awt.Color
|
+----java.awt.SystemColor
- public final class SystemColor
- extends Color
- implements Serializable
A class to encapsulate symbolic colors representing the color
of 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().
-
ACTIVE_CAPTION
- The array index for the active caption background color.
-
ACTIVE_CAPTION_BORDER
- The array index for the active caption border color.
-
ACTIVE_CAPTION_TEXT
- The array index for the action caption text color.
-
activeCaption
- The background color for captions in window borders.
-
activeCaptionBorder
- The border color for captions in window borders.
-
activeCaptionText
- The text color for captions in window borders.
-
CONTROL
- The array index for the control background color.
-
control
- The background color for control objects.
-
CONTROL_DK_SHADOW
- The array index for the control dark shadow color.
-
CONTROL_HIGHLIGHT
- The array index for the control highlight color.
-
CONTROL_LT_HIGHLIGHT
- The array index for the control light highlight color.
-
CONTROL_SHADOW
- The array index for the control shadow color.
-
CONTROL_TEXT
- The array index for the control text color.
-
controlDkShadow
- The dark shadow color for control objects.
-
controlHighlight
- The light highlight color for control objects.
-
controlLtHighlight
- The regular highlight color for control objects.
-
controlShadow
- The regular shadow color for control objects.
-
controlText
- The text color for control objects.
-
desktop
- The color of the desktop background.
-
DESKTOP
- The array index for the desktop background color.
-
INACTIVE_CAPTION
- The array index for the inactive caption background color.
-
INACTIVE_CAPTION_BORDER
- The array index for the inactive caption border color.
-
INACTIVE_CAPTION_TEXT
- The array index for the inactive caption text color.
-
inactiveCaption
- The background color for inactive captions in window borders.
-
inactiveCaptionBorder
- The border color for inactive captios in window borders.
-
inactiveCaptionText
- The text color for inactive captions in window borders.
-
INFO
- The array index for the info background color.
-
info
- The background color for info(help) text.
-
INFO_TEXT
- The array index for the info text color.
-
infoText
- The text color for info(help) text.
-
menu
- The background color for menus.
-
MENU
- The array index for the menu background color.
-
MENU_TEXT
- The array index for the menu text color.
-
menuText
- The text color for menus.
-
NUM_COLORS
- The number of system colors in the array.
-
scrollbar
- The background color for scrollbars.
-
SCROLLBAR
- The array index for the scrollbar background color.
-
TEXT
- The array index for the text background color.
-
text
- The background color for text components.
-
TEXT_HIGHLIGHT
- The array index for the text highlight color.
-
TEXT_HIGHLIGHT_TEXT
- The array index for the text highlight text color.
-
TEXT_INACTIVE_TEXT
- The array index for the text inactive text color.
-
TEXT_TEXT
- The array index for the text text color.
-
textHighlight
- The background color for highlighted text.
-
textHighlightText
- The text color for highlighted text.
-
textInactiveText
- The text color for inactive text.
-
textText
- The text color for text components.
-
WINDOW
- The array index for the window background color.
-
window
- The background color for windows.
-
WINDOW_BORDER
- The array index for the window border color.
-
WINDOW_TEXT
- The array index for the window text color.
-
windowBorder
- The border color for windows.
-
windowText
- The text color for windows.
-
getRGB()
- Gets the "current" RGB value representing the symbolic color.
-
toString()
- Returns the String representation of this Color's values.
DESKTOP
Properties Public Constant
DESKTOP=int
- The array index for the desktop background color.
ACTIVE_CAPTION
Properties Public Constant
ACTIVE_CAPTION=int
- The array index for the active caption background color.
ACTIVE_CAPTION_TEXT
Properties Public Constant
ACTIVE_CAPTION_TEXT=int
- The array index for the action caption text color.
ACTIVE_CAPTION_BORDER
Properties Public Constant
ACTIVE_CAPTION_BORDER=int
- The array index for the active caption border color.
INACTIVE_CAPTION
Properties Public Constant
INACTIVE_CAPTION=int
- The array index for the inactive caption background color.
INACTIVE_CAPTION_TEXT
Properties Public Constant
INACTIVE_CAPTION_TEXT=int
- The array index for the inactive caption text color.
INACTIVE_CAPTION_BORDER
Properties Public Constant
INACTIVE_CAPTION_BORDER=int
- The array index for the inactive caption border color.
WINDOW
Properties Public Constant
WINDOW=int
- The array index for the window background color.
WINDOW_BORDER
Properties Public Constant
WINDOW_BORDER=int
- The array index for the window border color.
WINDOW_TEXT
Properties Public Constant
WINDOW_TEXT=int
- The array index for the window text color.
MENU
Properties Public Constant
MENU=int
- The array index for the menu background color.
MENU_TEXT
Properties Public Constant
MENU_TEXT=int
- The array index for the menu text color.
TEXT
Properties Public Constant
TEXT=int
- The array index for the text background color.
TEXT_TEXT
Properties Public Constant
TEXT_TEXT=int
- The array index for the text text color.
TEXT_HIGHLIGHT
Properties Public Constant
TEXT_HIGHLIGHT=int
- The array index for the text highlight color.
TEXT_HIGHLIGHT_TEXT
Properties Public Constant
TEXT_HIGHLIGHT_TEXT=int
- The array index for the text highlight text color.
TEXT_INACTIVE_TEXT
Properties Public Constant
TEXT_INACTIVE_TEXT=int
- The array index for the text inactive text color.
CONTROL
Properties Public Constant
CONTROL=int
- The array index for the control background color.
CONTROL_TEXT
Properties Public Constant
CONTROL_TEXT=int
- The array index for the control text color.
CONTROL_HIGHLIGHT
Properties Public Constant
CONTROL_HIGHLIGHT=int
- The array index for the control highlight color.
CONTROL_LT_HIGHLIGHT
Properties Public Constant
CONTROL_LT_HIGHLIGHT=int
- The array index for the control light highlight color.
CONTROL_SHADOW
Properties Public Constant
CONTROL_SHADOW=int
- The array index for the control shadow color.
CONTROL_DK_SHADOW
Properties Public Constant
CONTROL_DK_SHADOW=int
- The array index for the control dark shadow color.
SCROLLBAR
Properties Public Constant
SCROLLBAR=int
- The array index for the scrollbar background color.
INFO
Properties Public Constant
INFO=int
- The array index for the info background color.
INFO_TEXT
Properties Public Constant
INFO_TEXT=int
- The array index for the info text color.
NUM_COLORS
Properties Public Constant
NUM_COLORS=int
- The number of system colors in the array.
desktop
Properties Public Constant
desktop=SystemColor
- The color of the desktop background.
activeCaption
Properties Public Constant
activeCaption=SystemColor
- The background color for captions in window borders.
activeCaptionText
Properties Public Constant
activeCaptionText=SystemColor
- The text color for captions in window borders.
activeCaptionBorder
Properties Public Constant
activeCaptionBorder=SystemColor
- The border color for captions in window borders.
inactiveCaption
Properties Public Constant
inactiveCaption=SystemColor
- The background color for inactive captions in window borders.
inactiveCaptionText
Properties Public Constant
inactiveCaptionText=SystemColor
- The text color for inactive captions in window borders.
inactiveCaptionBorder
Properties Public Constant
inactiveCaptionBorder=SystemColor
- The border color for inactive captios in window borders.
window
Properties Public Constant
window=SystemColor
- The background color for windows.
windowBorder
Properties Public Constant
windowBorder=SystemColor
- The border color for windows.
windowText
Properties Public Constant
windowText=SystemColor
- The text color for windows.
menu
Properties Public Constant
menu=SystemColor
- The background color for menus.
menuText
Properties Public Constant
menuText=SystemColor
- The text color for menus.
text
Properties Public Constant
text=SystemColor
- The background color for text components.
textText
Properties Public Constant
textText=SystemColor
- The text color for text components.
textHighlight
Properties Public Constant
textHighlight=SystemColor
- The background color for highlighted text.
textHighlightText
Properties Public Constant
textHighlightText=SystemColor
- The text color for highlighted text.
textInactiveText
Properties Public Constant
textInactiveText=SystemColor
- The text color for inactive text.
control
Properties Public Constant
control=SystemColor
- The background color for control objects.
controlText
Properties Public Constant
controlText=SystemColor
- The text color for control objects.
controlHighlight
Properties Public Constant
controlHighlight=SystemColor
- The light highlight color for control objects.
controlLtHighlight
Properties Public Constant
controlLtHighlight=SystemColor
- The regular highlight color for control objects.
controlShadow
Properties Public Constant
controlShadow=SystemColor
- The regular shadow color for control objects.
controlDkShadow
Properties Public Constant
controlDkShadow=SystemColor
- The dark shadow color for control objects.
scrollbar
Properties Public Constant
scrollbar=SystemColor
- The background color for scrollbars.
info
Properties Public Constant
info=SystemColor
- The background color for info(help) text.
infoText
Properties Public Constant
infoText=SystemColor
- The text color for info(help) text.
getRGB
method getRGB() returns int public
- Gets the "current" RGB value representing the symbolic color.
(Bits 24-31 are 0xff, 16-23 are red, 8-15 are green, 0-7 are blue).
- Overrides:
- getRGB in class Color
- See Also:
- getRGBdefault, getBlue, getGreen, getRed
toString
method toString() returns String public
- Returns the String representation of this Color's values.
- Overrides:
- toString in class Color
All Packages Class Hierarchy This Package Previous Next Index