Package noaa.coastwatch.gui.value
Interface TextFieldVerifierImp
- All Known Implementing Classes:
ByteValuePanel
,DoubleValuePanel
,FloatValuePanel
,IntegerValuePanel
,LongValuePanel
,ParsableValuePanel
,ShortValuePanel
,StringValuePanel
public interface TextFieldVerifierImp
The
TextFieldVerifierImp
interface specifies methods
that a TextFieldVerifier
requires to perform the verification.- Since:
- 3.3.2
- Author:
- Peter Hollemans
-
Method Summary
Modifier and TypeMethodDescriptionvoid
resetText
(JTextField field) Resets the text in the field to a valid value.void
textChanged
(JTextField field) Handles a change in text in the field.boolean
verifyText
(JTextField field) Verifies that the text in the field is valid.
-
Method Details
-
verifyText
Verifies that the text in the field is valid.- Parameters:
field
- the text field to check.- Returns:
- true if the text is valid or false if not.
-
resetText
Resets the text in the field to a valid value.- Parameters:
field
- the text field to check.
-
textChanged
Handles a change in text in the field.- Parameters:
field
- the text field to take action on.
-