net.infonode.gui.colorprovider
public class UIManagerColorProvider extends AbstractColorProvider implements Serializable
Version: $Revision: 1.10 $
Field Summary | |
---|---|
static UIManagerColorProvider | CONTROL_COLOR
A provider for the 'control' color. |
static UIManagerColorProvider | CONTROL_DARK_SHADOW
A provider for the 'controlDkShadow' color. |
static UIManagerColorProvider | DESKTOP_BACKGROUND
A provider for the 'Desktop.background' color. |
static UIManagerColorProvider | TABBED_PANE_BACKGROUND
A provider for the 'TabbedPane.background' color. |
static UIManagerColorProvider | TABBED_PANE_DARK_SHADOW
A provider for the 'TabbedPane.darkShadow' color. |
static UIManagerColorProvider | TABBED_PANE_HIGHLIGHT
A provider for the 'TabbedPane.highlight' color. |
static UIManagerColorProvider | TABBED_PANE_SHADOW
A provider for the 'TabbedPane.shadow' color. |
Constructor Summary | |
---|---|
UIManagerColorProvider(String propertyName)
Constructor.
| |
UIManagerColorProvider(String propertyName, Color defaultColor)
Constructor.
|
Method Summary | |
---|---|
Color | getColor() |
Parameters: propertyName the name of the property which value will be retrieved from the {@link UIManager}.
Parameters: propertyName the name of the property which value will be retrieved from the {@link UIManager}. defaultColor the color to be used if the specified color doesn't exist in the UIManager