org.colos.ejs.library.control
Class ConstantParserUtil
java.lang.Object
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
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 |
NULL_COLOR
public static final java.awt.Color NULL_COLOR
ConstantParserUtil
public ConstantParserUtil()
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)