com.kitfox.svg.xml
Class ColorTable

java.lang.Object
  extended by com.kitfox.svg.xml.ColorTable

public class ColorTable
extends java.lang.Object

Author:
Mark McKay, Mark McKay

Constructor Summary
protected ColorTable()
          Creates a new instance of ColorTable
 
Method Summary
static ColorTable instance()
           
 java.awt.Color lookupColor(java.lang.String name)
           
static java.awt.Color parseColor(java.lang.String val)
           
static int parseHex(java.lang.String val)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ColorTable

protected ColorTable()
Creates a new instance of ColorTable

Method Detail

instance

public static ColorTable instance()

lookupColor

public java.awt.Color lookupColor(java.lang.String name)

parseColor

public static java.awt.Color parseColor(java.lang.String val)

parseHex

public static int parseHex(java.lang.String val)