Class ConstantParser
java.lang.Object
org.opensourcephysics.ejs.control.ConstantParser
org.opensourcephysics.ejs.control.swing.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 inherited from class org.opensourcephysics.ejs.control.ConstantParser
NULL_COLOR -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ValuealignmentConstant(String _value) static ValueconstraintsConstant(String _value) static ValuedimensionConstant(String _value) static ValuelayoutConstant(Container _container, String _value) static ValueorientationConstant(String _value) static ValueplacementConstant(String _value) static ValuepointConstant(String _value) Methods inherited from class org.opensourcephysics.ejs.control.ConstantParser
booleanConstant, colorConstant, fontConstant, formatConstant, rectangleConstant
-
Constructor Details
-
ConstantParser
public ConstantParser()
-
-
Method Details
-
pointConstant
-
dimensionConstant
-
placementConstant
-
layoutConstant
-
constraintsConstant
-
orientationConstant
-
alignmentConstant
-