nl.knowledgeplaza.util
Class ColorUtil

java.lang.Object
  extended by 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 $

Constructor Summary
ColorUtil()
           
 
Method Summary
static Color fromStringColor(String color)
          Convert a HTML color string ("#RRGGBB") to a Color
static String toStringColor(Color aColor)
          Generates a HTML color description
 
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

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 © 2012 KnowledgePlaza. All Rights Reserved.