Package de.redsix.pdfcompare.ui
Class PositiveIntegerVerifier
java.lang.Object
javax.swing.InputVerifier
de.redsix.pdfcompare.ui.PositiveIntegerVerifier
allow only valid numbers to be input into a JTextField.
Validity is verified by using Integer.parseInt on the text.
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class javax.swing.InputVerifier
shouldYieldFocus, shouldYieldFocus, verifyTarget
-
Constructor Details
-
PositiveIntegerVerifier
public PositiveIntegerVerifier()
-
-
Method Details
-
verify
- Specified by:
verifyin classInputVerifier
-