Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| RichFaces Core Implementation 4.1.0.CR2
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.ajax4jsf.util
Class HtmlColor

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

    public final class HtmlColor

extends java.lang.Object

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

Method Summary
`static java.awt.Color` | `decode(java.lang.String color)` Decode HTML-attribute style of color to `Color`
`static java.lang.String` | `encodeRGB(java.awt.Color color)`
`static java.lang.Integer` | `integerValue(java.lang.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 java.awt.Color decode(java.lang.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 java.lang.Integer integerValue(java.lang.String color)

### encodeRGB

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

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| RichFaces Core Implementation 4.1.0.CR2
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.