net.infonode.gui.colorprovider
Class ColorProviderUtil
java.lang.Object
net.infonode.gui.colorprovider.ColorProviderUtil
- public class ColorProviderUtil
- extends Object
Utility methods for ColorProvider
's.
- Version:
- $Revision: 1.5 $
getColorProvider
public static ColorProvider getColorProvider(Color color,
ColorProvider defaultProvider)
- Returns a
ColorProvider
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
Copyright © 2007 NNL Technology AB. All Rights Reserved.