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
-
-
ACTIVE_CAPTION_BORDER
-
-
ACTIVE_CAPTION_TEXT
-
-
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
-
-
control
- The background color for control objects.
-
CONTROL_DK_SHADOW
-
-
CONTROL_HIGHLIGHT
-
-
CONTROL_LT_HIGHLIGHT
-
-
CONTROL_SHADOW
-
-
CONTROL_TEXT
-
-
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
-
-
INACTIVE_CAPTION
-
-
INACTIVE_CAPTION_BORDER
-
-
INACTIVE_CAPTION_TEXT
-
-
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
-
-
info
- The background color for info(help) text.
-
INFO_TEXT
-
-
infoText
- The text color for info(help) text.
-
menu
- The background color for menus.
-
MENU
-
-
MENU_TEXT
-
-
menuText
- The text color for menus.
-
NUM_COLORS
-
-
scrollbar
- The background color for scrollbars.
-
SCROLLBAR
-
-
TEXT
-
-
text
- The background color for text components.
-
TEXT_HIGHLIGHT
-
-
TEXT_HIGHLIGHT_TEXT
-
-
TEXT_INACTIVE_TEXT
-
-
TEXT_TEXT
-
-
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
-
-
window
- The background color for windows.
-
WINDOW_BORDER
-
-
WINDOW_TEXT
-
-
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
public final static int DESKTOP
ACTIVE_CAPTION
public final static int ACTIVE_CAPTION
ACTIVE_CAPTION_TEXT
public final static int ACTIVE_CAPTION_TEXT
ACTIVE_CAPTION_BORDER
public final static int ACTIVE_CAPTION_BORDER
INACTIVE_CAPTION
public final static int INACTIVE_CAPTION
INACTIVE_CAPTION_TEXT
public final static int INACTIVE_CAPTION_TEXT
INACTIVE_CAPTION_BORDER
public final static int INACTIVE_CAPTION_BORDER
WINDOW
public final static int WINDOW
WINDOW_BORDER
public final static int WINDOW_BORDER
WINDOW_TEXT
public final static int WINDOW_TEXT
MENU
public final static int MENU
MENU_TEXT
public final static int MENU_TEXT
TEXT
public final static int TEXT
TEXT_TEXT
public final static int TEXT_TEXT
TEXT_HIGHLIGHT
public final static int TEXT_HIGHLIGHT
TEXT_HIGHLIGHT_TEXT
public final static int TEXT_HIGHLIGHT_TEXT
TEXT_INACTIVE_TEXT
public final static int TEXT_INACTIVE_TEXT
CONTROL
public final static int CONTROL
CONTROL_TEXT
public final static int CONTROL_TEXT
CONTROL_HIGHLIGHT
public final static int CONTROL_HIGHLIGHT
CONTROL_LT_HIGHLIGHT
public final static int CONTROL_LT_HIGHLIGHT
CONTROL_SHADOW
public final static int CONTROL_SHADOW
CONTROL_DK_SHADOW
public final static int CONTROL_DK_SHADOW
SCROLLBAR
public final static int SCROLLBAR
INFO
public final static int INFO
INFO_TEXT
public final static int INFO_TEXT
NUM_COLORS
public final static int NUM_COLORS
desktop
public final static SystemColor desktop
- The color of the desktop background.
activeCaption
public final static SystemColor activeCaption
- The background color for captions in window borders.
activeCaptionText
public final static SystemColor activeCaptionText
- The text color for captions in window borders.
activeCaptionBorder
public final static SystemColor activeCaptionBorder
- The border color for captions in window borders.
inactiveCaption
public final static SystemColor inactiveCaption
- The background color for inactive captions in window borders.
inactiveCaptionText
public final static SystemColor inactiveCaptionText
- The text color for inactive captions in window borders.
inactiveCaptionBorder
public final static SystemColor inactiveCaptionBorder
- The border color for inactive captios in window borders.
window
public final static SystemColor window
- The background color for windows.
windowBorder
public final static SystemColor windowBorder
- The border color for windows.
windowText
public final static SystemColor windowText
- The text color for windows.
menu
public final static SystemColor menu
- The background color for menus.
menuText
public final static SystemColor menuText
- The text color for menus.
text
public final static SystemColor text
- The background color for text components.
textText
public final static SystemColor textText
- The text color for text components.
textHighlight
public final static SystemColor textHighlight
- The background color for highlighted text.
textHighlightText
public final static SystemColor textHighlightText
- The text color for highlighted text.
textInactiveText
public final static SystemColor textInactiveText
- The text color for inactive text.
control
public final static SystemColor control
- The background color for control objects.
controlText
public final static SystemColor controlText
- The text color for control objects.
controlHighlight
public final static SystemColor controlHighlight
- The light highlight color for control objects.
controlLtHighlight
public final static SystemColor controlLtHighlight
- The regular highlight color for control objects.
controlShadow
public final static SystemColor controlShadow
- The regular shadow color for control objects.
controlDkShadow
public final static SystemColor controlDkShadow
- The dark shadow color for control objects.
scrollbar
public final static SystemColor scrollbar
- The background color for scrollbars.
info
public final static SystemColor info
- The background color for info(help) text.
infoText
public final static SystemColor infoText
- The text color for info(help) text.
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
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