Class TextFieldValidator
- java.lang.Object
-
- javax.swing.InputVerifier
-
- org.esa.snap.ui.tooladapter.validators.TextFieldValidator
-
- Direct Known Subclasses:
RequiredFieldValidator
,TypedValueValidator
public abstract class TextFieldValidator extends InputVerifier
Base validator for text-input components
-
-
Constructor Summary
Constructors Constructor Description TextFieldValidator(String message)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description boolean
verify(JComponent input)
protected abstract boolean
verifyValue(String text)
-
Methods inherited from class javax.swing.InputVerifier
shouldYieldFocus, shouldYieldFocus, verifyTarget
-
-
-
-
Constructor Detail
-
TextFieldValidator
public TextFieldValidator(String message)
-
-
Method Detail
-
verify
public boolean verify(JComponent input)
- Specified by:
verify
in classInputVerifier
-
verifyValue
protected abstract boolean verifyValue(String text)
-
-