Class ConstantParser
java.lang.Object
org.opensourcephysics.ejs.control.ConstantParser
- Direct Known Subclasses:
ConstantParser
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
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Value
booleanConstant
(String _value) static Value
colorConstant
(String _value) static Value
fontConstant
(Font _currentFont, String _value) static Value
formatConstant
(String _value) static Value
rectangleConstant
(String _value)
-
Field Details
-
NULL_COLOR
-
-
Constructor Details
-
ConstantParser
public ConstantParser()
-
-
Method Details
-
fontConstant
-
booleanConstant
-
colorConstant
-
formatConstant
-
rectangleConstant
-