Package net.infonode.gui.colorprovider
Class BackgroundColorProvider
java.lang.Object
net.infonode.gui.colorprovider.AbstractColorProvider
net.infonode.gui.colorprovider.BackgroundColorProvider
- All Implemented Interfaces:
Serializable,ColorProvider
Returns the background color of a component.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final BackgroundColorProviderThe only instance of this class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the color obtained from the given component.protected ObjectMethods inherited from class net.infonode.gui.colorprovider.AbstractColorProvider
getColor
-
Field Details
-
INSTANCE
The only instance of this class.
-
-
Method Details
-
getColor
Description copied from interface:ColorProviderReturns the color obtained from the given component.- Specified by:
getColorin interfaceColorProvider- Overrides:
getColorin classAbstractColorProvider- Parameters:
component- the component- Returns:
- the color obtained from the given component
-
readResolve
- Throws:
ObjectStreamException
-