net.infonode.gui.colorprovider
Class BackgroundColorProvider

java.lang.Object
  extended by net.infonode.gui.colorprovider.AbstractColorProvider
      extended by net.infonode.gui.colorprovider.BackgroundColorProvider
All Implemented Interfaces:
java.io.Serializable, ColorProvider

public class BackgroundColorProvider
extends AbstractColorProvider
implements java.io.Serializable

Returns the background color of a component.

Version:
$Revision: 1.9 $
Author:
$Author: jesper $
See Also:
Serialized Form

Field Summary
static BackgroundColorProvider INSTANCE
          The only instance of this class.
private static long serialVersionUID
           
 
Constructor Summary
private BackgroundColorProvider()
           
 
Method Summary
 java.awt.Color getColor(java.awt.Component component)
          Returns the color obtained from the given component.
protected  java.lang.Object readResolve()
           
 
Methods inherited from class net.infonode.gui.colorprovider.AbstractColorProvider
getColor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

INSTANCE

public static final BackgroundColorProvider INSTANCE
The only instance of this class.

Constructor Detail

BackgroundColorProvider

private BackgroundColorProvider()
Method Detail

getColor

public java.awt.Color getColor(java.awt.Component component)
Description copied from interface: ColorProvider
Returns the color obtained from the given component.

Specified by:
getColor in interface ColorProvider
Overrides:
getColor in class AbstractColorProvider
Parameters:
component - the component
Returns:
the color obtained from the given component

readResolve

protected java.lang.Object readResolve()
                                throws java.io.ObjectStreamException
Throws:
java.io.ObjectStreamException