Package adams.gui.core
Class RangeTextField.RangeCheckModel
- java.lang.Object
-
- adams.gui.core.CheckedTextField.AbstractCheckModel
-
- adams.gui.core.RangeTextField.RangeCheckModel
-
- All Implemented Interfaces:
Serializable
- Enclosing class:
- RangeTextField
public static class RangeTextField.RangeCheckModel extends CheckedTextField.AbstractCheckModel
A model for checking Range values.- Author:
- fracpete (fracpete at waikato dot ac dot nz)
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class adams.gui.core.CheckedTextField.AbstractCheckModel
m_DefaultValue
-
-
Constructor Summary
Constructors Constructor Description RangeCheckModel()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isValid(String text)
Checks whether the content is valid.-
Methods inherited from class adams.gui.core.CheckedTextField.AbstractCheckModel
getDefaultValue, setDefaultValue, toString
-
-
-
-
Method Detail
-
isValid
public boolean isValid(String text)
Checks whether the content is valid.- Specified by:
isValid
in classCheckedTextField.AbstractCheckModel
- Parameters:
text
- the string to check- Returns:
- true if valid
-
-