org.colos.ejs.library.control
Class ConstantParserUtil

java.lang.Object
  extended by org.colos.ejs.library.control.ConstantParserUtil

public class ConstantParserUtil
extends java.lang.Object

This class provides static methods that parse a string and return a Value with the corresponding type and value, ready to be used by the setValue() method of ControlElements


Field Summary
static java.awt.Color NULL_COLOR
           
 
Constructor Summary
ConstantParserUtil()
           
 
Method Summary
static java.awt.Color colorConstant(java.lang.String _value)
           
static java.awt.Font fontConstant(java.awt.Font _currentFont, java.lang.String _value)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NULL_COLOR

public static final java.awt.Color NULL_COLOR
Constructor Detail

ConstantParserUtil

public ConstantParserUtil()
Method Detail

fontConstant

public static java.awt.Font fontConstant(java.awt.Font _currentFont,
                                         java.lang.String _value)

colorConstant

public static java.awt.Color colorConstant(java.lang.String _value)