SystemColors

Inheritance: java.lang.Object

public final class SystemColors

Each property of the SystemColors class is a Color structure that is the color of a Windows display element.

Methods

MethodDescription
getActiveBorder()Gets a Color structure that is the color of the active window’s border.
getActiveCaption()Gets a Color structure that is the color of the background of the active window’s title bar.
getActiveCaptionText()Gets a Color structure that is the color of the text in the active window’s title bar.
getAppWorkspace()Gets a Color structure that is the color of the application workspace.
getButtonFace()Gets a Color structure that is the face color of a 3-D element.
getButtonHighlight()Gets a Color structure that is the highlight color of a 3-D element.
getButtonShadow()Gets a Color structure that is the shadow color of a 3-D element.
getControl()Gets a Color structure that is the face color of a 3-D element.
getControlDark()Gets a Color structure that is the shadow color of a 3-D element.
getControlDarkDark()Gets a Color structure that is the dark shadow color of a 3-D element.
getControlLight()Gets a Color structure that is the light color of a 3-D element.
getControlLightLight()Gets a Color structure that is the highlight color of a 3-D element.
getControlText()Gets a Color structure that is the color of text in a 3-D element.
getDesktop()Gets a Color structure that is the color of the desktop.
getGradientActiveCaption()Gets a Color structure that is the lightest color in the color gradient of an active window’s title bar.
getGradientInactiveCaption()Gets a Color structure that is the lightest color in the color gradient of an inactive window’s title bar.
getGrayText()Gets a Color structure that is the color of dimmed text.
getHighlight()Gets a Color structure that is the color of the background of selected items.
getHighlightText()Gets a Color structure that is the color of the text of selected items.
getHotTrack()Gets a Color structure that is the color used to designate a hot-tracked item.
getInactiveBorder()Gets a Color structure that is the color of an inactive window’s border.
getInactiveCaption()Gets a Color structure that is the color of the background of an inactive window’s title bar.
getInactiveCaptionText()Gets a Color structure that is the color of the text in an inactive window’s title bar.
getInfo()Gets a Color structure that is the color of the background of a ToolTip.
getInfoText()Gets a Color structure that is the color of the text of a ToolTip.
getMenu()Gets a Color structure that is the color of a menu’s background.
getMenuBar()Gets a Color structure that is the color of the background of a menu bar.
getMenuHighlight()Gets a Color structure that is the color used to highlight menu items when the menu appears as a flat menu.
getMenuText()Gets a Color structure that is the color of a menu’s text.
getScrollBar()Gets a Color structure that is the color of the background of a scroll bar.
getWindow()Gets a Color structure that is the color of the background in the client area of a window.
getWindowFrame()Gets a Color structure that is the color of a window frame.
getWindowText()Gets a Color structure that is the color of the text in the client area of a window.

getActiveBorder()

public static Color getActiveBorder()

Gets a Color structure that is the color of the active window’s border.

Returns: Color - a Color structure that is the color of the active window’s border.

getActiveCaption()

public static Color getActiveCaption()

Gets a Color structure that is the color of the background of the active window’s title bar.

Returns: Color - a Color structure that is the color of the background of the active window’s title bar.

getActiveCaptionText()

public static Color getActiveCaptionText()

Gets a Color structure that is the color of the text in the active window’s title bar.

Returns: Color - a Color structure that is the color of the text in the active window’s title bar.

getAppWorkspace()

public static Color getAppWorkspace()

Gets a Color structure that is the color of the application workspace.

Returns: Color - a Color structure that is the color of the application workspace.

getButtonFace()

public static Color getButtonFace()

Gets a Color structure that is the face color of a 3-D element.

Returns: Color - a Color structure that is the face color of a 3-D element.

getButtonHighlight()

public static Color getButtonHighlight()

Gets a Color structure that is the highlight color of a 3-D element.

Returns: Color - a Color structure that is the highlight color of a 3-D element.

getButtonShadow()

public static Color getButtonShadow()

Gets a Color structure that is the shadow color of a 3-D element.

Returns: Color - a Color structure that is the shadow color of a 3-D element.

getControl()

public static Color getControl()

Gets a Color structure that is the face color of a 3-D element.

Returns: Color - a Color structure that is the face color of a 3-D element.

getControlDark()

public static Color getControlDark()

Gets a Color structure that is the shadow color of a 3-D element.

Returns: Color - a Color structure that is the shadow color of a 3-D element.

getControlDarkDark()

public static Color getControlDarkDark()

Gets a Color structure that is the dark shadow color of a 3-D element.

Returns: Color - a Color structure that is the dark shadow color of a 3-D element.

getControlLight()

public static Color getControlLight()

Gets a Color structure that is the light color of a 3-D element.

Returns: Color - a Color structure that is the light color of a 3-D element.

getControlLightLight()

public static Color getControlLightLight()

Gets a Color structure that is the highlight color of a 3-D element.

Returns: Color - a Color structure that is the highlight color of a 3-D element.

getControlText()

public static Color getControlText()

Gets a Color structure that is the color of text in a 3-D element.

Returns: Color - a Color structure that is the color of text in a 3-D element.

getDesktop()

public static Color getDesktop()

Gets a Color structure that is the color of the desktop.

Returns: Color - a Color structure that is the color of the desktop.

getGradientActiveCaption()

public static Color getGradientActiveCaption()

Gets a Color structure that is the lightest color in the color gradient of an active window’s title bar.

Returns: Color - a Color structure that is the lightest color in the color gradient of an active window’s title bar.

getGradientInactiveCaption()

public static Color getGradientInactiveCaption()

Gets a Color structure that is the lightest color in the color gradient of an inactive window’s title bar.

Returns: Color - a Color structure that is the lightest color in the color gradient of an inactive window’s title bar.

getGrayText()

public static Color getGrayText()

Gets a Color structure that is the color of dimmed text.

Returns: Color - a Color structure that is the color of dimmed text.

getHighlight()

public static Color getHighlight()

Gets a Color structure that is the color of the background of selected items.

Returns: Color - a Color structure that is the color of the background of selected items.

getHighlightText()

public static Color getHighlightText()

Gets a Color structure that is the color of the text of selected items.

Returns: Color - a Color structure that is the color of the text of selected items.

getHotTrack()

public static Color getHotTrack()

Gets a Color structure that is the color used to designate a hot-tracked item.

Returns: Color - a Color structure that is the color used to designate a hot-tracked item.

getInactiveBorder()

public static Color getInactiveBorder()

Gets a Color structure that is the color of an inactive window’s border.

Returns: Color - a Color structure that is the color of an inactive window’s border.

getInactiveCaption()

public static Color getInactiveCaption()

Gets a Color structure that is the color of the background of an inactive window’s title bar.

Returns: Color - a Color structure that is the color of the background of an inactive window’s title bar.

getInactiveCaptionText()

public static Color getInactiveCaptionText()

Gets a Color structure that is the color of the text in an inactive window’s title bar.

Returns: Color - a Color structure that is the color of the text in an inactive window’s title bar.

getInfo()

public static Color getInfo()

Gets a Color structure that is the color of the background of a ToolTip.

Returns: Color - a Color structure that is the color of the background of a ToolTip.

getInfoText()

public static Color getInfoText()

Gets a Color structure that is the color of the text of a ToolTip.

Returns: Color - a Color structure that is the color of the text of a ToolTip.

getMenu()

public static Color getMenu()

Gets a Color structure that is the color of a menu’s background.

Returns: Color - a Color structure that is the color of a menu’s background.

getMenuBar()

public static Color getMenuBar()

Gets a Color structure that is the color of the background of a menu bar.

Returns: Color - a Color structure that is the color of the background of a menu bar.

getMenuHighlight()

public static Color getMenuHighlight()

Gets a Color structure that is the color used to highlight menu items when the menu appears as a flat menu.

Returns: Color - a Color structure that is the color used to highlight menu items when the menu appears as a flat menu.

getMenuText()

public static Color getMenuText()

Gets a Color structure that is the color of a menu’s text.

Returns: Color - a Color structure that is the color of a menu’s text.

getScrollBar()

public static Color getScrollBar()

Gets a Color structure that is the color of the background of a scroll bar.

Returns: Color - a Color structure that is the color of the background of a scroll bar.

getWindow()

public static Color getWindow()

Gets a Color structure that is the color of the background in the client area of a window.

Returns: Color - a Color structure that is the color of the background in the client area of a window.

getWindowFrame()

public static Color getWindowFrame()

Gets a Color structure that is the color of a window frame.

Returns: Color - a Color structure that is the color of a window frame.

getWindowText()

public static Color getWindowText()

Gets a Color structure that is the color of the text in the client area of a window.

Returns: Color - a Color structure that is the color of the text in the client area of a window.