net.sf.jasperreports.engine.util

## Class JRColorUtil

- java.lang.Object
- - net.sf.jasperreports.engine.util.JRColorUtil

-     public final class JRColorUtil
      extends java.lang.Object

  Version:
    $Id: JRColorUtil.java 6576 2013-10-10 11:49:01Z teodord $
  Author:
    Teodor Danciu (teodord@users.sourceforge.net)

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `static int` | `COLOR_MASK`
    `static java.lang.String` | `RGB_PREFIX`
    `static java.lang.String` | `RGBA_PREFIX`
    `static java.lang.String` | `RGBA_SUFFIX`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `static java.awt.Color` | `getColor(java.lang.String strColor, java.awt.Color defaultColor)`
    `static java.lang.String` | `getColorHexa(java.awt.Color color)`
    `static java.lang.String` | `getCssColor(java.awt.Color color)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Field Detail

    - #### COLOR_MASK

          public static final int COLOR_MASK

    - #### RGB_PREFIX

          public static final java.lang.String RGB_PREFIX

      See Also:
        Constant Field Values

    - #### RGBA_PREFIX

          public static final java.lang.String RGBA_PREFIX

      See Also:
        Constant Field Values

    - #### RGBA_SUFFIX

          public static final java.lang.String RGBA_SUFFIX

      See Also:
        Constant Field Values

  - ### Method Detail

    - #### getColorHexa

          public static java.lang.String getColorHexa(java.awt.Color color)

    - #### getCssColor

          public static java.lang.String getCssColor(java.awt.Color color)

    - #### getColor

          public static java.awt.Color getColor(java.lang.String strColor,
                                java.awt.Color defaultColor)

© 2001-2010 Jaspersoft Corporation www.jaspersoft.com