Package net.infonode.gui.colorprovider
Class ColorProviderUtil
java.lang.Object
net.infonode.gui.colorprovider.ColorProviderUtil
Utility methods for
ColorProvider's.-
Method Summary
Modifier and TypeMethodDescriptionstatic ColorProvidergetColorProvider(Color color, ColorProvider defaultProvider) Returns aColorProviderfor the color.
-
Method Details
-
getColorProvider
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
-