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() |
getColor
public static final BackgroundColorProvider INSTANCE
public java.awt.Color getColor(java.awt.Component component)
ColorProvider
getColor
in interface ColorProvider
getColor
in class AbstractColorProvider
component
- the componentprotected java.lang.Object readResolve() throws java.io.ObjectStreamException
java.io.ObjectStreamException