Package net.infonode.gui.colorprovider
Class ColorProviderUtil
- java.lang.Object
-
- net.infonode.gui.colorprovider.ColorProviderUtil
-
public class ColorProviderUtil extends java.lang.Object
Utility methods forColorProvider
's.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ColorProvider
getColorProvider(java.awt.Color color, ColorProvider defaultProvider)
Returns aColorProvider
for the color.
-
-
-
Method Detail
-
getColorProvider
public static ColorProvider getColorProvider(java.awt.Color color, ColorProvider defaultProvider)
Returns aColorProvider
for the color. If the color is null the default provider is returned.- Parameters:
color
- the color for which to return a providerdefaultProvider
- the default provider- Returns:
- a color provider for the color, if the color is null the default provider is returned
-
-