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().


Variable Index

 o ACTIVE_CAPTION
The array index for the active caption background color.
 o ACTIVE_CAPTION_BORDER
The array index for the active caption border color.
 o ACTIVE_CAPTION_TEXT
The array index for the action caption text color.
 o activeCaption
The background color for captions in window borders.
 o activeCaptionBorder
The border color for captions in window borders.
 o activeCaptionText
The text color for captions in window borders.
 o CONTROL
The array index for the control background color.
 o control
The background color for control objects.
 o CONTROL_DK_SHADOW
The array index for the control dark shadow color.
 o CONTROL_HIGHLIGHT
The array index for the control highlight color.
 o CONTROL_LT_HIGHLIGHT
The array index for the control light highlight color.
 o CONTROL_SHADOW
The array index for the control shadow color.
 o CONTROL_TEXT
The array index for the control text color.
 o controlDkShadow
The dark shadow color for control objects.
 o controlHighlight
The light highlight color for control objects.
 o controlLtHighlight
The regular highlight color for control objects.
 o controlShadow
The regular shadow color for control objects.
 o controlText
The text color for control objects.
 o desktop
The color of the desktop background.
 o DESKTOP
The array index for the desktop background color.
 o INACTIVE_CAPTION
The array index for the inactive caption background color.
 o INACTIVE_CAPTION_BORDER
The array index for the inactive caption border color.
 o INACTIVE_CAPTION_TEXT
The array index for the inactive caption text color.
 o inactiveCaption
The background color for inactive captions in window borders.
 o inactiveCaptionBorder
The border color for inactive captios in window borders.
 o inactiveCaptionText
The text color for inactive captions in window borders.
 o INFO
The array index for the info background color.
 o info
The background color for info(help) text.
 o INFO_TEXT
The array index for the info text color.
 o infoText
The text color for info(help) text.
 o menu
The background color for menus.
 o MENU
The array index for the menu background color.
 o MENU_TEXT
The array index for the menu text color.
 o menuText
The text color for menus.
 o NUM_COLORS
The number of system colors in the array.
 o scrollbar
The background color for scrollbars.
 o SCROLLBAR
The array index for the scrollbar background color.
 o TEXT
The array index for the text background color.
 o text
The background color for text components.
 o TEXT_HIGHLIGHT
The array index for the text highlight color.
 o TEXT_HIGHLIGHT_TEXT
The array index for the text highlight text color.
 o TEXT_INACTIVE_TEXT
The array index for the text inactive text color.
 o TEXT_TEXT
The array index for the text text color.
 o textHighlight
The background color for highlighted text.
 o textHighlightText
The text color for highlighted text.
 o textInactiveText
The text color for inactive text.
 o textText
The text color for text components.
 o WINDOW
The array index for the window background color.
 o window
The background color for windows.
 o WINDOW_BORDER
The array index for the window border color.
 o WINDOW_TEXT
The array index for the window text color.
 o windowBorder
The border color for windows.
 o windowText
The text color for windows.

Method Index

 o getRGB()
Gets the "current" RGB value representing the symbolic color.
 o toString()
Returns the String representation of this Color's values.

Variables

 o DESKTOP
Properties Public Constant 
   DESKTOP=int 
The array index for the desktop background color.

 o ACTIVE_CAPTION
Properties Public Constant 
   ACTIVE_CAPTION=int 
The array index for the active caption background color.

 o ACTIVE_CAPTION_TEXT
Properties Public Constant 
   ACTIVE_CAPTION_TEXT=int 
The array index for the action caption text color.

 o ACTIVE_CAPTION_BORDER
Properties Public Constant 
   ACTIVE_CAPTION_BORDER=int 
The array index for the active caption border color.

 o INACTIVE_CAPTION
Properties Public Constant 
   INACTIVE_CAPTION=int 
The array index for the inactive caption background color.

 o INACTIVE_CAPTION_TEXT
Properties Public Constant 
   INACTIVE_CAPTION_TEXT=int 
The array index for the inactive caption text color.

 o INACTIVE_CAPTION_BORDER
Properties Public Constant 
   INACTIVE_CAPTION_BORDER=int 
The array index for the inactive caption border color.

 o WINDOW
Properties Public Constant 
   WINDOW=int 
The array index for the window background color.

 o WINDOW_BORDER
Properties Public Constant 
   WINDOW_BORDER=int 
The array index for the window border color.

 o WINDOW_TEXT
Properties Public Constant 
   WINDOW_TEXT=int 
The array index for the window text color.

 o MENU
Properties Public Constant 
   MENU=int 
The array index for the menu background color.

 o MENU_TEXT
Properties Public Constant 
   MENU_TEXT=int 
The array index for the menu text color.

 o TEXT
Properties Public Constant 
   TEXT=int 
The array index for the text background color.

 o TEXT_TEXT
Properties Public Constant 
   TEXT_TEXT=int 
The array index for the text text color.

 o TEXT_HIGHLIGHT
Properties Public Constant 
   TEXT_HIGHLIGHT=int 
The array index for the text highlight color.

 o TEXT_HIGHLIGHT_TEXT
Properties Public Constant 
   TEXT_HIGHLIGHT_TEXT=int 
The array index for the text highlight text color.

 o TEXT_INACTIVE_TEXT
Properties Public Constant 
   TEXT_INACTIVE_TEXT=int 
The array index for the text inactive text color.

 o CONTROL
Properties Public Constant 
   CONTROL=int 
The array index for the control background color.

 o CONTROL_TEXT
Properties Public Constant 
   CONTROL_TEXT=int 
The array index for the control text color.

 o CONTROL_HIGHLIGHT
Properties Public Constant 
   CONTROL_HIGHLIGHT=int 
The array index for the control highlight color.

 o CONTROL_LT_HIGHLIGHT
Properties Public Constant 
   CONTROL_LT_HIGHLIGHT=int 
The array index for the control light highlight color.

 o CONTROL_SHADOW
Properties Public Constant 
   CONTROL_SHADOW=int 
The array index for the control shadow color.

 o CONTROL_DK_SHADOW
Properties Public Constant 
   CONTROL_DK_SHADOW=int 
The array index for the control dark shadow color.

 o SCROLLBAR
Properties Public Constant 
   SCROLLBAR=int 
The array index for the scrollbar background color.

 o INFO
Properties Public Constant 
   INFO=int 
The array index for the info background color.

 o INFO_TEXT
Properties Public Constant 
   INFO_TEXT=int 
The array index for the info text color.

 o NUM_COLORS
Properties Public Constant 
   NUM_COLORS=int 
The number of system colors in the array.

 o desktop
Properties Public Constant 
    desktop=SystemColor 
The color of the desktop background.

 o activeCaption
Properties Public Constant 
    activeCaption=SystemColor 
The background color for captions in window borders.

 o activeCaptionText
Properties Public Constant 
    activeCaptionText=SystemColor 
The text color for captions in window borders.

 o activeCaptionBorder
Properties Public Constant 
    activeCaptionBorder=SystemColor 
The border color for captions in window borders.

 o inactiveCaption
Properties Public Constant 
    inactiveCaption=SystemColor 
The background color for inactive captions in window borders.

 o inactiveCaptionText
Properties Public Constant 
    inactiveCaptionText=SystemColor 
The text color for inactive captions in window borders.

 o inactiveCaptionBorder
Properties Public Constant 
    inactiveCaptionBorder=SystemColor 
The border color for inactive captios in window borders.

 o window
Properties Public Constant 
    window=SystemColor 
The background color for windows.

 o windowBorder
Properties Public Constant 
    windowBorder=SystemColor 
The border color for windows.

 o windowText
Properties Public Constant 
    windowText=SystemColor 
The text color for windows.

 o menu
Properties Public Constant 
    menu=SystemColor 
The background color for menus.

 o menuText
Properties Public Constant 
    menuText=SystemColor 
The text color for menus.

 o text
Properties Public Constant 
    text=SystemColor 
The background color for text components.

 o textText
Properties Public Constant 
    textText=SystemColor 
The text color for text components.

 o textHighlight
Properties Public Constant 
    textHighlight=SystemColor 
The background color for highlighted text.

 o textHighlightText
Properties Public Constant 
    textHighlightText=SystemColor 
The text color for highlighted text.

 o textInactiveText
Properties Public Constant 
    textInactiveText=SystemColor 
The text color for inactive text.

 o control
Properties Public Constant 
    control=SystemColor 
The background color for control objects.

 o controlText
Properties Public Constant 
    controlText=SystemColor 
The text color for control objects.

 o controlHighlight
Properties Public Constant 
    controlHighlight=SystemColor 
The light highlight color for control objects.

 o controlLtHighlight
Properties Public Constant 
    controlLtHighlight=SystemColor 
The regular highlight color for control objects.

 o controlShadow
Properties Public Constant 
    controlShadow=SystemColor 
The regular shadow color for control objects.

 o controlDkShadow
Properties Public Constant 
    controlDkShadow=SystemColor 
The dark shadow color for control objects.

 o scrollbar
Properties Public Constant 
    scrollbar=SystemColor 
The background color for scrollbars.

 o info
Properties Public Constant 
    info=SystemColor 
The background color for info(help) text.

 o infoText
Properties Public Constant 
    infoText=SystemColor 
The text color for info(help) text.

Methods

 o 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
 o 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