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 Type
    Method
    Description
    void
    Resets the text in the field to a valid value.
    void
    Handles a change in text in the field.
    boolean
    Verifies that the text in the field is valid.
  • Method Details

    • verifyText

      boolean verifyText(JTextField field)
      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

      void resetText(JTextField field)
      Resets the text in the field to a valid value.
      Parameters:
      field - the text field to check.
    • textChanged

      void textChanged(JTextField field)
      Handles a change in text in the field.
      Parameters:
      field - the text field to take action on.