SystemColorNameSystemColor
DescriptionSystemColor 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. Class Definition
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(); } ConstantsactiveCaptionpublic static final SystemColor activeCaptionBackground color for captions in window borders. activeCaptionBorderpublic static final SystemColor activeCaptionBorderBorder color for captions in window borders. activeCaptionTextpublic static final SystemColor activeCaptionTextText color for captions in window borders. controlpublic static final SystemColor controlBackground color for controls. controlDkShadowpublic static final SystemColor controlDkShadowDark shadow color for controls. controlHighlightpublic static final SystemColor controlHighlightHighlight color for controls. controlLtHighlightpublic static final SystemColor controlLtHighlightLight highlight color for controls. controlShadowpublic static final SystemColor controlShadowShadow color for controls. controlTextpublic static final SystemColor controlTextText color for controls. desktoppublic static final SystemColor desktopDesktop background color. inactiveCaptionpublic static final SystemColor inactiveCaptionBackground color for inactive captions in window borders. inactiveCaptionBorderpublic static final SystemColor inactiveCaptionBorderBorder color for inactive captions in window borders. inactiveCaptionTextpublic static final SystemColor inactiveCaptionTextText color for inactive captions in window borders. infopublic static final SystemColor infoBackground color for informational text. infoTextpublic static final SystemColor infoTextText color for informational text. menupublic static final SystemColor menuBackground color for menus. menuTextpublic static final SystemColor menuTextText color for menus. scrollbarpublic static final SystemColor scrollbarBackground color for scrollbars. textpublic static final SystemColor textBackground color for text components. textHighlightpublic static final SystemColor textHighlightBackground color for highlighted text. textHighlightTextpublic static final SystemColor textHighlightTextText color for highlighted text. textInactiveTextpublic static final SystemColor textInactiveTextText color for inactive text. textTextpublic static final SystemColor textTextText color for text components. windowpublic static final SystemColor windowBackground color for windows. windowBorderpublic static final SystemColor windowBorderBorder color for windows. windowTextpublic static final SystemColor windowTextText color for windows. Instance MethodsgetRGBpublic int getRGB()
toStringpublic String toString()
See AlsoColor, Serializable, String |
|