org.qi4j.envisage.util
Class ColorUtilities

java.lang.Object
  extended by org.qi4j.envisage.util.ColorUtilities

public class ColorUtilities
extends java.lang.Object

Collection of Color Utilities


Method Summary
static java.awt.Color hexStringToColor(java.lang.String hexString)
          Return the equivalent AWT Color of the supplied hexString in format eg #FF33D2
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

hexStringToColor

public static java.awt.Color hexStringToColor(java.lang.String hexString)
Return the equivalent AWT Color of the supplied hexString in format eg #FF33D2

Parameters:
hexString - Color in hexString format eg: #FF33D2
Returns:
the AWT Color or null if fail to parse