|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.infonode.gui.colorprovider.AbstractColorProvider
net.infonode.gui.colorprovider.ColorMultiplier
Multiplies the RGB components of a color with the given factor.
Constructor Summary | |
ColorMultiplier(ColorProvider colorProvider,
double factor)
Constructor. |
Method Summary | |
Color |
getColor()
Returns the default color when no component is available. |
Color |
getColor(Component component)
Returns the color obtained from the given component. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ColorMultiplier(ColorProvider colorProvider, double factor)
colorProvider
- provides the color which RGB components will be multipliedfactor
- the multiply factorMethod Detail |
public Color getColor(Component component)
ColorProvider
getColor
in interface ColorProvider
getColor
in class AbstractColorProvider
public Color getColor()
ColorProvider
getColor
in interface ColorProvider
getColor
in class AbstractColorProvider
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |