SystemColor provides information on the colors that the windowing system uses to display windows and other graphic components. Most windowing systems allow the user to choose different color schemes; SystemColor enables programs to find out what colors are in use in order to paint themselves in a consistent manner.
public final class java.awt.SystemColor extends java.awt.Color implements java.io.Serializable { // Constants public final static int ACTIVE_CAPTION; public final static int ACTIVE_CAPTION_BORDER; public final static int ACTIVE_CAPTION_TEXT; public final static int CONTROL; public final static int CONTROL_DK_SHADOW; public final static int CONTROL_HIGHLIGHT; public final static int CONTROL_LT_HIGHLIGHT; public final static int CONTROL_SHADOW; public final static int CONTROL_TEXT; public final static int DESKTOP; public final static int INACTIVE_CAPTION; public final static int INACTIVE_CAPTION_BORDER; public final static int INACTIVE_CAPTION_TEXT; public final static int INFO; public final static int INFO_TEXT; public final static int MENU; public final static int MENU_TEXT; public final static int NUM_COLORS; public final static int SCROLLBAR; public final static int TEXT; public final static int TEXT_HIGHLIGHT; public final static int TEXT_HIGHLIGHT_TEXT; public final static int TEXT_INACTIVE_TEXT; public final static int TEXT_TEXT; public final static int WINDOW; public final static int WINDOW_BORDER; public final static int WINDOW_TEXT; public final static SystemColor activeCaption; public final static SystemColor activeCaptionBorder; public final static SystemColor activeCaptionText; public final static SystemColor control; public final static SystemColor controlDkShadow; public final static SystemColor controlHighlight; public final static SystemColor controlLtHighlight; public final static SystemColor controlShadow; public final static SystemColor controlText; public final static SystemColor desktop; public final static SystemColor inactiveCaption; public final static SystemColor inactiveCaptionBorder; public final static SystemColor inactiveCaptionText; public final static SystemColor info; public final static SystemColor infoText; public final static SystemColor menu; public final static SystemColor menuText; public final static SystemColor scrollbar; public final static SystemColor text; public final static SystemColor textHighlight; public final static SystemColor textHighlightText; public final static SystemColor textInactiveText; public final static SystemColor textText; public final static SystemColor window; public final static SystemColor windowBorder; public final static SystemColor windowText; // Public Instance Methods public int getRGB(); public String toString(); }
Background color for captions in window borders.
Border color for captions in window borders.
Text color for captions in window borders.
Background color for controls.
Dark shadow color for controls.
Highlight color for controls.
Light highlight color for controls.
Shadow color for controls.
Text color for controls.
Desktop background color.
Background color for inactive captions in window borders.
Border color for inactive captions in window borders.
Text color for inactive captions in window borders.
Background color for informational text.
Text color for informational text.
Background color for menus.
Text color for menus.
Background color for scrollbars.
Background color for text components.
Background color for highlighted text.
Text color for highlighted text.
Text color for inactive text.
Text color for text components.
Background color for windows.
Border color for windows.
Text color for windows.
Current color as a composite value
Color.getRGB()
Gets integer value of current system color.
A string representation of the SystemColor object.
Color.toString()
Color, Serializable, String
This HTML Help has been published using the chm2web software. |