org.ajax4jsf.util

## Class HtmlColor

- java.lang.Object
- - org.ajax4jsf.util.HtmlColor

-     public final class HtmlColor
      extends Object

  Version:
    $Revision: 1.1.2.1 $ $Date: 2007/01/09 18:59:16 $
  Author:
    shura (latest modification by $Author: alexsmirnov $)

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `static Color` | `decode(String color)` Decode HTML-attribute style of color to `Color`
    `static String` | `encodeRGB(Color color)`
    `static Integer` | `integerValue(String color)`

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

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

- - ### Method Detail

    - #### decode

          public static Color decode(String color)

      Decode HTML-attribute style of color to `Color`
      Parameters:
        `color` - - color name or #RRGGBB string
      Returns:
        - color for this value.

    - #### integerValue

          public static Integer integerValue(String color)

    - #### encodeRGB

          public static String encodeRGB(Color color)

Copyright © 2013 JBoss by Red Hat. All Rights Reserved.