| java.lang.Object com.jeta.forms.colormgr.DefaultColorManager
DefaultColorManager | public class DefaultColorManager implements ColorManager(Code) | | The default implementation of ColorManager. All calls for getColor are
forwarded to UIManager.getColor.
author: Jeff Tassin |
Method Summary | |
public Color | getColor(String colorKey, Color defaultColor) Parameters: colorKey - the name associated with the color to retrieve. Parameters: defaultColor - the color to return if not color is found associated withcolorKey the color associated with the given color name. | public Collection | getColorKeys() |
DefaultColorManager | public DefaultColorManager()(Code) | | ctor
|
getColor | public Color getColor(String colorKey, Color defaultColor)(Code) | | Parameters: colorKey - the name associated with the color to retrieve. Parameters: defaultColor - the color to return if not color is found associated withcolorKey the color associated with the given color name. It is up to theimplementation to determine this association. Mostimplementations will probabaly use the UIManager.getColor( ObjectcolorName ) call to get the color. However, it is possible for animplementation to provide custom logic for a subset ofcolorNames. |
getColorKeys | public Collection getColorKeys()(Code) | | a Collection of color names (String objects) maintained by thiscolor manager. |
|
|