Class java.awt.SystemColor
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class java.awt.SystemColor

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

Version:
1.8, 07/01/98
Author:
Carl Quinn, Amy Fowler

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 CONTROL
The array index for the control background color.
 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 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 INFO
The array index for the info background color.
 o INFO_TEXT
The array index for the info text color.
 o MENU
The array index for the menu background color.
 o MENU_TEXT
The array index for the menu text color.
 o NUM_COLORS
The number of system colors in the array.
 o SCROLLBAR
The array index for the scrollbar background color.
 o TEXT
The array index for the text background color.
 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 WINDOW
The array index for the window background color.
 o WINDOW_BORDER
The array index for the window border color.
 o WINDOW_TEXT
The array index for the window 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 background color for control objects.
 o controlDkShadow
The dark shadow color for control objects.
 o controlHighlight
The regular highlight color for control objects.
 o controlLtHighlight
The light 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 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 background color for info(help) text.
 o infoText
The text color for info(help) text.
 o menu
The background color for menus.
 o menuText
The text color for menus.
 o scrollbar
The background color for scrollbars.
 o text
The background color for text components.
 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 background color for windows.
 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 ACTIVE_CAPTION
public static final int ACTIVE_CAPTION
The array index for the active caption background color.

 o ACTIVE_CAPTION_BORDER
public static final int ACTIVE_CAPTION_BORDER
The array index for the active caption border color.

 o ACTIVE_CAPTION_TEXT
public static final int ACTIVE_CAPTION_TEXT
The array index for the action caption text color.

 o CONTROL
public static final int CONTROL
The array index for the control background color.

 o CONTROL_DK_SHADOW
public static final int CONTROL_DK_SHADOW
The array index for the control dark shadow color.

 o CONTROL_HIGHLIGHT
public static final int CONTROL_HIGHLIGHT
The array index for the control highlight color.

 o CONTROL_LT_HIGHLIGHT
public static final int CONTROL_LT_HIGHLIGHT
The array index for the control light highlight color.

 o CONTROL_SHADOW
public static final int CONTROL_SHADOW
The array index for the control shadow color.

 o CONTROL_TEXT
public static final int CONTROL_TEXT
The array index for the control text color.

 o DESKTOP
public static final int DESKTOP
The array index for the desktop background color.

 o INACTIVE_CAPTION
public static final int INACTIVE_CAPTION
The array index for the inactive caption background color.

 o INACTIVE_CAPTION_BORDER
public static final int INACTIVE_CAPTION_BORDER
The array index for the inactive caption border color.

 o INACTIVE_CAPTION_TEXT
public static final int INACTIVE_CAPTION_TEXT
The array index for the inactive caption text color.

 o INFO
public static final int INFO
The array index for the info background color.

 o INFO_TEXT
public static final int INFO_TEXT
The array index for the info text color.

 o MENU
public static final int MENU
The array index for the menu background color.

 o MENU_TEXT
public static final int MENU_TEXT
The array index for the menu text color.

 o NUM_COLORS
public static final int NUM_COLORS
The number of system colors in the array.

 o SCROLLBAR
public static final int SCROLLBAR
The array index for the scrollbar background color.

 o TEXT
public static final int TEXT
The array index for the text background color.

 o TEXT_HIGHLIGHT
public static final int TEXT_HIGHLIGHT
The array index for the text highlight color.

 o TEXT_HIGHLIGHT_TEXT
public static final int TEXT_HIGHLIGHT_TEXT
The array index for the text highlight text color.

 o TEXT_INACTIVE_TEXT
public static final int TEXT_INACTIVE_TEXT
The array index for the text inactive text color.

 o TEXT_TEXT
public static final int TEXT_TEXT
The array index for the text text color.

 o WINDOW
public static final int WINDOW
The array index for the window background color.

 o WINDOW_BORDER
public static final int WINDOW_BORDER
The array index for the window border color.

 o WINDOW_TEXT
public static final int WINDOW_TEXT
The array index for the window text color.

 o activeCaption
public static final java.awt.SystemColor activeCaption
The background color for captions in window borders.

 o activeCaptionBorder
public static final java.awt.SystemColor activeCaptionBorder
The border color for captions in window borders.

 o activeCaptionText
public static final java.awt.SystemColor activeCaptionText
The text color for captions in window borders.

 o control
public static final java.awt.SystemColor control
The background color for control objects.

 o controlDkShadow
public static final java.awt.SystemColor controlDkShadow
The dark shadow color for control objects.

 o controlHighlight
public static final java.awt.SystemColor controlHighlight
The regular highlight color for control objects.

 o controlLtHighlight
public static final java.awt.SystemColor controlLtHighlight
The light highlight color for control objects.

 o controlShadow
public static final java.awt.SystemColor controlShadow
The regular shadow color for control objects.

 o controlText
public static final java.awt.SystemColor controlText
The text color for control objects.

 o desktop
public static final java.awt.SystemColor desktop
The color of the desktop background.

 o inactiveCaption
public static final java.awt.SystemColor inactiveCaption
The background color for inactive captions in window borders.

 o inactiveCaptionBorder
public static final java.awt.SystemColor inactiveCaptionBorder
The border color for inactive captios in window borders.

 o inactiveCaptionText
public static final java.awt.SystemColor inactiveCaptionText
The text color for inactive captions in window borders.

 o info
public static final java.awt.SystemColor info
The background color for info(help) text.

 o infoText
public static final java.awt.SystemColor infoText
The text color for info(help) text.

 o menu
public static final java.awt.SystemColor menu
The background color for menus.

 o menuText
public static final java.awt.SystemColor menuText
The text color for menus.

 o scrollbar
public static final java.awt.SystemColor scrollbar
The background color for scrollbars.

 o text
public static final java.awt.SystemColor text
The background color for text components.

 o textHighlight
public static final java.awt.SystemColor textHighlight
The background color for highlighted text.

 o textHighlightText
public static final java.awt.SystemColor textHighlightText
The text color for highlighted text.

 o textInactiveText
public static final java.awt.SystemColor textInactiveText
The text color for inactive text.

 o textText
public static final java.awt.SystemColor textText
The text color for text components.

 o window
public static final java.awt.SystemColor window
The background color for windows.

 o windowBorder
public static final java.awt.SystemColor windowBorder
The border color for windows.

 o windowText
public static final java.awt.SystemColor windowText
The text color for windows.

Methods

 o getRGB
public int getRGB()
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(int), getGreen(int), getRed(int)
 o toString
public java.lang.String toString()
Returns the String representation of this Color's values.

Overrides:
toString in class Color

All Packages  Class Hierarchy  This Package  Previous  Next  Index