Package net.sf.jasperreports.engine.util
Class JRColorUtil
- java.lang.Object
-
- net.sf.jasperreports.engine.util.JRColorUtil
-
public final class JRColorUtil extends Object
- Author:
- Teodor Danciu (teodord@users.sourceforge.net)
-
-
Field Summary
Fields Modifier and Type Field Description static int
COLOR_MASK
static String
EXCEPTION_MESSAGE_KEY_INVALID_COLOR
static String
RGB_PREFIX
static String
RGBA_PREFIX
static String
RGBA_SUFFIX
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Color
getColor(String strColor, Color defaultColor)
static String
getColorHexa(Color color)
static String
getCssColor(Color color)
static int
getOpaqueArgb(Color color, Color defaultColor)
-
-
-
Field Detail
-
EXCEPTION_MESSAGE_KEY_INVALID_COLOR
public static final String EXCEPTION_MESSAGE_KEY_INVALID_COLOR
- See Also:
- Constant Field Values
-
COLOR_MASK
public static final int COLOR_MASK
-
RGB_PREFIX
public static final String RGB_PREFIX
- See Also:
- Constant Field Values
-
RGBA_PREFIX
public static final String RGBA_PREFIX
- See Also:
- Constant Field Values
-
RGBA_SUFFIX
public static final String RGBA_SUFFIX
- See Also:
- Constant Field Values
-
-