|
|||||||||
| Home >> All >> com >> mvsteenb >> javauitransformer >> xmltransformer >> [ util overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
com.mvsteenb.javauitransformer.xmltransformer.util
Class ColorUtil

java.lang.Objectcom.mvsteenb.javauitransformer.xmltransformer.util.ColorUtil
- public class ColorUtil
- extends java.lang.Object
com.mvsteenb.javauitransformer.xmltransformer.util
Description
Free Software
Copyright (C) 2003 Mario Van Steenberghe
This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
Please contact me at mario.vansteenberghe@pandora.be for more information.
Revision History
Aug 24, 2003 : mvsteenb : Initial Revision
| Constructor Summary | |
ColorUtil()
|
|
| Method Summary | |
static java.lang.String |
colorToString(java.awt.Color color)
Converts color to string |
static java.awt.Color |
toColor(java.lang.String str)
Converts given strig to color, String should be of format FFFFFF, with each pair of 2 bits representing a value [0, 255] for respectively red, green, blue |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
ColorUtil
public ColorUtil()
| Method Detail |
toColor
public static java.awt.Color toColor(java.lang.String str)
- Converts given strig to color, String should be of format FFFFFF, with each pair of 2 bits representing a value [0, 255] for respectively red, green, blue
colorToString
public static java.lang.String colorToString(java.awt.Color color)
- Converts color to string
|
|||||||||
| Home >> All >> com >> mvsteenb >> javauitransformer >> xmltransformer >> [ util overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
com.mvsteenb.javauitransformer.xmltransformer.util.ColorUtil