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
 o ACTIVE_CAPTION_BORDER
 o ACTIVE_CAPTION_TEXT
 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
 o control
The background color for control objects.
 o CONTROL_DK_SHADOW
 o CONTROL_HIGHLIGHT
 o CONTROL_LT_HIGHLIGHT
 o CONTROL_SHADOW
 o CONTROL_TEXT
 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
 o INACTIVE_CAPTION
 o INACTIVE_CAPTION_BORDER
 o INACTIVE_CAPTION_TEXT
 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
 o info
The background color for info(help) text.
 o INFO_TEXT
 o infoText
The text color for info(help) text.
 o menu
The background color for menus.
 o MENU
 o MENU_TEXT
 o menuText
The text color for menus.
 o NUM_COLORS
 o scrollbar
The background color for scrollbars.
 o SCROLLBAR
 o TEXT
 o text
The background color for text components.
 o TEXT_HIGHLIGHT
 o TEXT_HIGHLIGHT_TEXT
 o TEXT_INACTIVE_TEXT
 o TEXT_TEXT
 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
 o window
The background color for windows.
 o WINDOW_BORDER
 o WINDOW_TEXT
 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
  public final static int DESKTOP
 o ACTIVE_CAPTION
  public final static int ACTIVE_CAPTION
 o ACTIVE_CAPTION_TEXT
  public final static int ACTIVE_CAPTION_TEXT
 o ACTIVE_CAPTION_BORDER
  public final static int ACTIVE_CAPTION_BORDER
 o INACTIVE_CAPTION
  public final static int INACTIVE_CAPTION
 o INACTIVE_CAPTION_TEXT
  public final static int INACTIVE_CAPTION_TEXT
 o INACTIVE_CAPTION_BORDER
  public final static int INACTIVE_CAPTION_BORDER
 o WINDOW
  public final static int WINDOW
 o WINDOW_BORDER
  public final static int WINDOW_BORDER
 o WINDOW_TEXT
  public final static int WINDOW_TEXT
 o MENU
  public final static int MENU
 o MENU_TEXT
  public final static int MENU_TEXT
 o TEXT
  public final static int TEXT
 o TEXT_TEXT
  public final static int TEXT_TEXT
 o TEXT_HIGHLIGHT
  public final static int TEXT_HIGHLIGHT
 o TEXT_HIGHLIGHT_TEXT
  public final static int TEXT_HIGHLIGHT_TEXT
 o TEXT_INACTIVE_TEXT
  public final static int TEXT_INACTIVE_TEXT
 o CONTROL
  public final static int CONTROL
 o CONTROL_TEXT
  public final static int CONTROL_TEXT
 o CONTROL_HIGHLIGHT
  public final static int CONTROL_HIGHLIGHT
 o CONTROL_LT_HIGHLIGHT
  public final static int CONTROL_LT_HIGHLIGHT
 o CONTROL_SHADOW
  public final static int CONTROL_SHADOW
 o CONTROL_DK_SHADOW
  public final static int CONTROL_DK_SHADOW
 o SCROLLBAR
  public final static int SCROLLBAR
 o INFO
  public final static int INFO
 o INFO_TEXT
  public final static int INFO_TEXT
 o NUM_COLORS
  public final static int NUM_COLORS
 o desktop
  public final static SystemColor desktop
The color of the desktop background.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

 o controlHighlight
  public final static SystemColor controlHighlight
The light highlight color for control objects.

 o controlLtHighlight
  public final static SystemColor controlLtHighlight
The regular highlight color for control objects.

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

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

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

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

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

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, getRed, getGreen, getBlue
 o toString
  public 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