net.infonode.gui.colorprovider
Class BackgroundColorProvider

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

public class BackgroundColorProvider
extends AbstractColorProvider

Returns the background color of a component.

Version:
$Revision: 1.10 $
See Also:
Serialized Form

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

Field Detail

INSTANCE

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

Method Detail

getColor

public Color getColor(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


Copyright © 2007 NNL Technology AB. All Rights Reserved.