nl.knowledgeplaza.util
Class ColorUtil
java.lang.Object
nl.knowledgeplaza.util.ColorUtil
public class ColorUtil
- extends Object
Some Color Utils methods a.o. convert a HTML Color string to Color and vice versa.
- Version:
- $Revision: 1.2 $
- Author:
- $Author: toeukpap $
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ColorUtil
public ColorUtil()
toStringColor
public static String toStringColor(Color aColor)
- Generates a HTML color description
- Parameters:
aColor -
- Returns:
- string "#XXYYZZ"
fromStringColor
public static Color fromStringColor(String color)
- Convert a HTML color string ("#RRGGBB") to a Color
- Parameters:
color -
- Returns:
Copyright © 2011 KnowledgePlaza. All Rights Reserved.