|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.tecnick.htmlutils.htmlcolors.HTMLColors
public class HTMLColors
Collection of static methods to handle HTML colors.
Copyright (c) 2004-2005
Tecnick.com S.r.l (www.tecnick.com)
Via Ugo Foscolo n.19 - 09045 Quartu Sant'Elena (CA) - ITALY
www.tecnick.com - info@tecnick.com
Project homepage: http://htmlcolors.sourceforge.net
License: http://www.gnu.org/copyleft/lesser.html LGPL
| Constructor Summary | |
|---|---|
HTMLColors()
Void Constructor. |
|
| Method Summary | |
|---|---|
static java.awt.Color |
getColorObject(java.lang.String c)
Convert HTML color (#RRGGBB) to Color object. |
static java.lang.String |
getHTMLColor(java.awt.Color c)
Convert Color object to HTML string rapresentation (#RRGGBB). |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HTMLColors()
| Method Detail |
|---|
public static java.lang.String getHTMLColor(java.awt.Color c)
c - color to convert
public static java.awt.Color getColorObject(java.lang.String c)
c - HTML color string to convert (#RRGGBB)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||