public class BackgroundColorProvider extends AbstractColorProvider
| Modifier and Type | Field and Description |
|---|---|
static BackgroundColorProvider |
INSTANCE
The only instance of this class.
|
| Modifier and Type | Method and Description |
|---|---|
java.awt.Color |
getColor(java.awt.Component component)
Returns the color obtained from the given component.
|
protected java.lang.Object |
readResolve() |
getColorpublic static final BackgroundColorProvider INSTANCE
public java.awt.Color getColor(java.awt.Component component)
ColorProvidergetColor in interface ColorProvidergetColor in class AbstractColorProvidercomponent - the componentprotected java.lang.Object readResolve()
throws java.io.ObjectStreamException
java.io.ObjectStreamException