| com.jeta.forms.colormgr.ColorManager
All known Subclasses: com.jeta.forms.colormgr.DefaultColorManager,
ColorManager | public interface ColorManager (Code) | | This interface defines methods for an object that handles color management
for an application. The main purpose of this interface is to allow forms to
update their colors when the look and feel changes. This is especially
important for gradients that fade to the background color of the current
form/control.
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() |
COMPONENT_ID | final public static String COMPONENT_ID(Code) | | The id for the component. Generally used for lookups in the JETARegistry
|
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. |
|
|