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 ValuebooleanConstant(String _value) static ValuecolorConstant(String _value) static ValuefontConstant(Font _currentFont, String _value) static ValueformatConstant(String _value) static ValuerectangleConstant(String _value)
-
Field Details
-
NULL_COLOR
-
-
Constructor Details
-
ConstantParser
public ConstantParser()
-
-
Method Details
-
fontConstant
-
booleanConstant
-
colorConstant
-
formatConstant
-
rectangleConstant
-