Package adams.gui.core
Class IndexTextField.IndexCheckModel
- java.lang.Object
-
- adams.gui.core.CheckedTextField.AbstractCheckModel
-
- adams.gui.core.IndexTextField.IndexCheckModel
-
- All Implemented Interfaces:
Serializable
- Enclosing class:
- IndexTextField
public static class IndexTextField.IndexCheckModel extends CheckedTextField.AbstractCheckModel
A model for checking Index 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 IndexCheckModel()
-
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
-
-