Class RequiredFieldValidator
- java.lang.Object
-
- javax.swing.InputVerifier
-
- org.esa.snap.ui.tooladapter.validators.TextFieldValidator
-
- org.esa.snap.ui.tooladapter.validators.RequiredFieldValidator
-
public class RequiredFieldValidator extends TextFieldValidator
Simple class for validating that a text component has no null or empty input.
-
-
Constructor Summary
Constructors Constructor Description RequiredFieldValidator(String message)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
verifyValue(String text)
-
Methods inherited from class org.esa.snap.ui.tooladapter.validators.TextFieldValidator
verify
-
Methods inherited from class javax.swing.InputVerifier
shouldYieldFocus, shouldYieldFocus, verifyTarget
-
-
-
-
Constructor Detail
-
RequiredFieldValidator
public RequiredFieldValidator(String message)
-
-
Method Detail
-
verifyValue
protected boolean verifyValue(String text)
- Specified by:
verifyValue
in classTextFieldValidator
-
-