net.infonode.gui.colorprovider

Class ColorMultiplier

public class ColorMultiplier extends AbstractColorProvider implements Serializable

Multiplies the RGB components of a color with the given factor.

Version: $Revision: 1.5 $

Author: $Author: jesper $

Constructor Summary
ColorMultiplier(ColorProvider colorProvider, double factor)
Constructor.
Method Summary
ColorgetColor(Component component)
ColorgetColor()

Constructor Detail

ColorMultiplier

public ColorMultiplier(ColorProvider colorProvider, double factor)
Constructor.

Parameters: colorProvider provides the color which RGB components will be multiplied factor the multiply factor

Method Detail

getColor

public Color getColor(Component component)

getColor

public Color getColor()