Class ConstantParser

java.lang.Object
org.opensourcephysics.ejs.control.ConstantParser
org.opensourcephysics.ejs.control.swing.ConstantParser

public class ConstantParser extends 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
  • Constructor Details

    • ConstantParser

      public ConstantParser()
  • Method Details

    • pointConstant

      public static Value pointConstant(String _value)
    • dimensionConstant

      public static Value dimensionConstant(String _value)
    • placementConstant

      public static Value placementConstant(String _value)
    • layoutConstant

      public static Value layoutConstant(Container _container, String _value)
    • constraintsConstant

      public static Value constraintsConstant(String _value)
    • orientationConstant

      public static Value orientationConstant(String _value)
    • alignmentConstant

      public static Value alignmentConstant(String _value)