Class UIManagerColorProvider

    • Field Detail

      • CONTROL_DARK_SHADOW

        public static final UIManagerColorProvider CONTROL_DARK_SHADOW
        A provider for the 'controlDkShadow' color.
      • TABBED_PANE_HIGHLIGHT

        public static final UIManagerColorProvider TABBED_PANE_HIGHLIGHT
        A provider for the 'TabbedPane.highlight' color.
      • TABBED_PANE_SHADOW

        public static final UIManagerColorProvider TABBED_PANE_SHADOW
        A provider for the 'TabbedPane.shadow' color.
      • TABBED_PANE_DARK_SHADOW

        public static final UIManagerColorProvider TABBED_PANE_DARK_SHADOW
        A provider for the 'TabbedPane.darkShadow' color.
      • TABBED_PANE_BACKGROUND

        public static final UIManagerColorProvider TABBED_PANE_BACKGROUND
        A provider for the 'TabbedPane.background' color.
      • DESKTOP_BACKGROUND

        public static final UIManagerColorProvider DESKTOP_BACKGROUND
        A provider for the 'Desktop.background' color.
    • Constructor Detail

      • UIManagerColorProvider

        public UIManagerColorProvider​(java.lang.String propertyName)
        Constructor.
        Parameters:
        propertyName - the name of the property which value will be retrieved from the UIManager.
      • UIManagerColorProvider

        public UIManagerColorProvider​(java.lang.String propertyName,
                                      java.awt.Color defaultColor)
        Constructor.
        Parameters:
        propertyName - the name of the property which value will be retrieved from the UIManager.
        defaultColor - the color to be used if the specified color doesn't exist in the UIManager
    • Method Detail

      • getColor

        public java.awt.Color getColor()
        Description copied from interface: ColorProvider
        Returns the default color when no component is available.
        Specified by:
        getColor in interface ColorProvider
        Overrides:
        getColor in class AbstractColorProvider
        Returns:
        the default color when no component is available