# Uses of Class
javax.swing.plaf.ColorUIResource

Packages that use ColorUIResource
Package
Description
javax.swing.plaf.metal
Provides user interface objects built according to the Java look and feel (once codenamed Metal), which is the default look and feel.

- ## Uses of ColorUIResource in javax.swing.plaf.metal

  Methods in javax.swing.plaf.metal that return ColorUIResource
  Modifier and Type
  Method
  Description
  `static ColorUIResource`
  MetalLookAndFeel.`getAcceleratorForeground()`
  Returns the accelerator foreground color of the current theme.
  `ColorUIResource`
  MetalTheme.`getAcceleratorForeground()`
  Returns the accelerator foreground color.
  `static ColorUIResource`
  MetalLookAndFeel.`getAcceleratorSelectedForeground()`
  Returns the accelerator selected foreground color of the current theme.
  `ColorUIResource`
  MetalTheme.`getAcceleratorSelectedForeground()`
  Returns the accelerator selected foreground color.
  `static ColorUIResource`
  MetalLookAndFeel.`getBlack()`
  Returns the black color of the current theme.
  `protected ColorUIResource`
  MetalTheme.`getBlack()`
  Returns the black color.
  `protected ColorUIResource`
  OceanTheme.`getBlack()`
  Returns the black color.
  `static ColorUIResource`
  MetalLookAndFeel.`getControl()`
  Returns the control color of the current theme.
  `ColorUIResource`
  MetalTheme.`getControl()`
  Returns the control color.
  `static ColorUIResource`
  MetalLookAndFeel.`getControlDarkShadow()`
  Returns the control dark shadow color of the current theme.
  `ColorUIResource`
  MetalTheme.`getControlDarkShadow()`
  Returns the control dark shadow color.
  `static ColorUIResource`
  MetalLookAndFeel.`getControlDisabled()`
  Returns the control disabled color of the current theme.
  `ColorUIResource`
  MetalTheme.`getControlDisabled()`
  Returns the control disabled color.
  `static ColorUIResource`
  MetalLookAndFeel.`getControlHighlight()`
  Returns the control highlight color of the current theme.
  `ColorUIResource`
  MetalTheme.`getControlHighlight()`
  Returns the control highlight color.
  `static ColorUIResource`
  MetalLookAndFeel.`getControlInfo()`
  Returns the control info color of the current theme.
  `ColorUIResource`
  MetalTheme.`getControlInfo()`
  Returns the control info color.
  `static ColorUIResource`
  MetalLookAndFeel.`getControlShadow()`
  Returns the control shadow color of the current theme.
  `ColorUIResource`
  MetalTheme.`getControlShadow()`
  Returns the control shadow color.
  `static ColorUIResource`
  MetalLookAndFeel.`getControlTextColor()`
  Returns the control text color of the current theme.
  `ColorUIResource`
  MetalTheme.`getControlTextColor()`
  Returns the control text color.
  `ColorUIResource`
  OceanTheme.`getControlTextColor()`
  Returns the control text color.
  `static ColorUIResource`
  MetalLookAndFeel.`getDesktopColor()`
  Returns the desktop color of the current theme.
  `ColorUIResource`
  MetalTheme.`getDesktopColor()`
  Returns the desktop color.
  `ColorUIResource`
  OceanTheme.`getDesktopColor()`
  Returns the desktop color.
  `static ColorUIResource`
  MetalLookAndFeel.`getFocusColor()`
  Returns the focus color of the current theme.
  `ColorUIResource`
  MetalTheme.`getFocusColor()`
  Returns the focus color.
  `static ColorUIResource`
  MetalLookAndFeel.`getHighlightedTextColor()`
  Returns the highlighted text color of the current theme.
  `ColorUIResource`
  MetalTheme.`getHighlightedTextColor()`
  Returns the highlighted text color.
  `static ColorUIResource`
  MetalLookAndFeel.`getInactiveControlTextColor()`
  Returns the inactive control text color of the current theme.
  `ColorUIResource`
  MetalTheme.`getInactiveControlTextColor()`
  Returns the inactive control text color.
  `ColorUIResource`
  OceanTheme.`getInactiveControlTextColor()`
  Returns the inactive control text color.
  `static ColorUIResource`
  MetalLookAndFeel.`getInactiveSystemTextColor()`
  Returns the inactive system text color of the current theme.
  `ColorUIResource`
  MetalTheme.`getInactiveSystemTextColor()`
  Returns the inactive system text color.
  `static ColorUIResource`
  MetalLookAndFeel.`getMenuBackground()`
  Returns the menu background color of the current theme.
  `ColorUIResource`
  MetalTheme.`getMenuBackground()`
  Returns the menu background color.
  `static ColorUIResource`
  MetalLookAndFeel.`getMenuDisabledForeground()`
  Returns the menu disabled foreground color of the current theme.
  `ColorUIResource`
  MetalTheme.`getMenuDisabledForeground()`
  Returns the menu disabled foreground color.
  `ColorUIResource`
  OceanTheme.`getMenuDisabledForeground()`
  Returns the menu disabled foreground color.
  `static ColorUIResource`
  MetalLookAndFeel.`getMenuForeground()`
  Returns the menu foreground color of the current theme.
  `ColorUIResource`
  MetalTheme.`getMenuForeground()`
  Returns the menu foreground color.
  `static ColorUIResource`
  MetalLookAndFeel.`getMenuSelectedBackground()`
  Returns the menu selected background color of the current theme.
  `ColorUIResource`
  MetalTheme.`getMenuSelectedBackground()`
  Returns the menu selected background color.
  `static ColorUIResource`
  MetalLookAndFeel.`getMenuSelectedForeground()`
  Returns the menu selected foreground color of the current theme.
  `ColorUIResource`
  MetalTheme.`getMenuSelectedForeground()`
  Returns the menu selected foreground color.
  `protected ColorUIResource`
  DefaultMetalTheme.`getPrimary1()`
  Returns the primary 1 color.
  `protected abstract ColorUIResource`
  MetalTheme.`getPrimary1()`
  Returns the primary 1 color.
  `protected ColorUIResource`
  OceanTheme.`getPrimary1()`
  Returns the primary 1 color.
  `protected ColorUIResource`
  DefaultMetalTheme.`getPrimary2()`
  Returns the primary 2 color.
  `protected abstract ColorUIResource`
  MetalTheme.`getPrimary2()`
  Returns the primary 2 color.
  `protected ColorUIResource`
  OceanTheme.`getPrimary2()`
  Returns the primary 2 color.
  `protected ColorUIResource`
  DefaultMetalTheme.`getPrimary3()`
  Returns the primary 3 color.
  `protected abstract ColorUIResource`
  MetalTheme.`getPrimary3()`
  Returns the primary 3 color.
  `protected ColorUIResource`
  OceanTheme.`getPrimary3()`
  Returns the primary 3 color.
  `static ColorUIResource`
  MetalLookAndFeel.`getPrimaryControl()`
  Returns the primary control color of the current theme.
  `ColorUIResource`
  MetalTheme.`getPrimaryControl()`
  Returns the primary control color.
  `static ColorUIResource`
  MetalLookAndFeel.`getPrimaryControlDarkShadow()`
  Returns the primary control dark shadow color of the current theme.
  `ColorUIResource`
  MetalTheme.`getPrimaryControlDarkShadow()`
  Returns the primary control dark shadow color.
  `static ColorUIResource`
  MetalLookAndFeel.`getPrimaryControlHighlight()`
  Returns the primary control highlight color of the current theme.
  `ColorUIResource`
  MetalTheme.`getPrimaryControlHighlight()`
  Returns the primary control highlight color.
  `static ColorUIResource`
  MetalLookAndFeel.`getPrimaryControlInfo()`
  Returns the primary control info color of the current theme.
  `ColorUIResource`
  MetalTheme.`getPrimaryControlInfo()`
  Returns the primary control info color.
  `static ColorUIResource`
  MetalLookAndFeel.`getPrimaryControlShadow()`
  Returns the primary control shadow color of the current theme.
  `ColorUIResource`
  MetalTheme.`getPrimaryControlShadow()`
  Returns the primary control shadow color.
  `protected ColorUIResource`
  DefaultMetalTheme.`getSecondary1()`
  Returns the secondary 1 color.
  `protected abstract ColorUIResource`
  MetalTheme.`getSecondary1()`
  Returns the secondary 1 color.
  `protected ColorUIResource`
  OceanTheme.`getSecondary1()`
  Returns the secondary 1 color.
  `protected ColorUIResource`
  DefaultMetalTheme.`getSecondary2()`
  Returns the secondary 2 color.
  `protected abstract ColorUIResource`
  MetalTheme.`getSecondary2()`
  Returns the secondary 2 color.
  `protected ColorUIResource`
  OceanTheme.`getSecondary2()`
  Returns the secondary 2 color.
  `protected ColorUIResource`
  DefaultMetalTheme.`getSecondary3()`
  Returns the secondary 3 color.
  `protected abstract ColorUIResource`
  MetalTheme.`getSecondary3()`
  Returns the secondary 3 color.
  `protected ColorUIResource`
  OceanTheme.`getSecondary3()`
  Returns the secondary 3 color.
  `static ColorUIResource`
  MetalLookAndFeel.`getSeparatorBackground()`
  Returns the separator background color of the current theme.
  `ColorUIResource`
  MetalTheme.`getSeparatorBackground()`
  Returns the separator background color.
  `static ColorUIResource`
  MetalLookAndFeel.`getSeparatorForeground()`
  Returns the separator foreground color of the current theme.
  `ColorUIResource`
  MetalTheme.`getSeparatorForeground()`
  Returns the separator foreground color.
  `static ColorUIResource`
  MetalLookAndFeel.`getSystemTextColor()`
  Returns the system text color of the current theme.
  `ColorUIResource`
  MetalTheme.`getSystemTextColor()`
  Returns the system text color.
  `static ColorUIResource`
  MetalLookAndFeel.`getTextHighlightColor()`
  Returns the text highlight color of the current theme.
  `ColorUIResource`
  MetalTheme.`getTextHighlightColor()`
  Returns the text highlight color.
  `static ColorUIResource`
  MetalLookAndFeel.`getUserTextColor()`
  Returns the user text color of the current theme.
  `ColorUIResource`
  MetalTheme.`getUserTextColor()`
  Returns the user text color.
  `static ColorUIResource`
  MetalLookAndFeel.`getWhite()`
  Returns the white color of the current theme.
  `protected ColorUIResource`
  MetalTheme.`getWhite()`
  Returns the white color.
  `static ColorUIResource`
  MetalLookAndFeel.`getWindowBackground()`
  Returns the window background color of the current theme.
  `ColorUIResource`
  MetalTheme.`getWindowBackground()`
  Returns the window background color.
  `static ColorUIResource`
  MetalLookAndFeel.`getWindowTitleBackground()`
  Returns the window title background color of the current theme.
  `ColorUIResource`
  MetalTheme.`getWindowTitleBackground()`
  Returns the window title background color.
  `static ColorUIResource`
  MetalLookAndFeel.`getWindowTitleForeground()`
  Returns the window title foreground color of the current theme.
  `ColorUIResource`
  MetalTheme.`getWindowTitleForeground()`
  Returns the window title foreground color.
  `static ColorUIResource`
  MetalLookAndFeel.`getWindowTitleInactiveBackground()`
  Returns the window title inactive background color of the current theme.
  `ColorUIResource`
  MetalTheme.`getWindowTitleInactiveBackground()`
  Returns the window title inactive background color.
  `static ColorUIResource`
  MetalLookAndFeel.`getWindowTitleInactiveForeground()`
  Returns the window title inactive foreground color of the current theme.
  `ColorUIResource`
  MetalTheme.`getWindowTitleInactiveForeground()`
  Returns the window title inactive foreground color.