Package adams.gui.core
Class CheckedTextField.StringCheckModel
- java.lang.Object
-
- adams.gui.core.CheckedTextField.AbstractCheckModel
-
- adams.gui.core.CheckedTextField.StringCheckModel
-
- All Implemented Interfaces:
Serializable
- Enclosing class:
- CheckedTextField
public static class CheckedTextField.StringCheckModel extends CheckedTextField.AbstractCheckModel
A (dummy) check model that allows any string.- 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 StringCheckModel()
-
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:
- always true
-
-