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 BackgroundColorProvider
The only instance of this class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the color obtained from the given component.protected Object
Methods 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:ColorProvider
Returns the color obtained from the given component.- Specified by:
getColor
in interfaceColorProvider
- Overrides:
getColor
in classAbstractColorProvider
- Parameters:
component
- the component- Returns:
- the color obtained from the given component
-
readResolve
- Throws:
ObjectStreamException
-