public class ColorProviderUtil
extends java.lang.Object
ColorProvider
's.Modifier and Type | Method and Description |
---|---|
static ColorProvider |
getColorProvider(java.awt.Color color,
ColorProvider defaultProvider)
Returns a
ColorProvider for the color. |
public static ColorProvider getColorProvider(java.awt.Color color, ColorProvider defaultProvider)
ColorProvider
for the color. If the color is null the default provider is returned.color
- the color for which to return a providerdefaultProvider
- the default provider