Package net.infonode.gui.colorprovider
Class AbstractColorProvider
java.lang.Object
net.infonode.gui.colorprovider.AbstractColorProvider
- All Implemented Interfaces:
Serializable,ColorProvider
- Direct Known Subclasses:
BackgroundColorProvider,BackgroundPainterColorProvider,ColorBlender,ColorMultiplier,ColorProviderList,FixedColorProvider,UIManagerColorProvider
Base class for color providers. It returns the color black.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
AbstractColorProvider
public AbstractColorProvider()
-
-
Method Details
-
getColor
Description copied from interface:ColorProviderReturns the default color when no component is available.- Specified by:
getColorin interfaceColorProvider- Returns:
- the default color when no component is available
-
getColor
Description copied from interface:ColorProviderReturns the color obtained from the given component.- Specified by:
getColorin interfaceColorProvider- Parameters:
component- the component- Returns:
- the color obtained from the given component
-