Package net.infonode.gui.colorprovider
Class ColorProviderUtil
- java.lang.Object
-
- net.infonode.gui.colorprovider.ColorProviderUtil
-
public class ColorProviderUtil extends java.lang.ObjectUtility methods forColorProvider's.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ColorProvidergetColorProvider(java.awt.Color color, ColorProvider defaultProvider)Returns aColorProviderfor the color.
-
-
-
Method Detail
-
getColorProvider
public static ColorProvider getColorProvider(java.awt.Color color, ColorProvider defaultProvider)
Returns aColorProviderfor 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
-
-