public class VerifierInt
extends javax.swing.InputVerifier
| Constructor and Description |
|---|
VerifierInt()
Creates a new instance of VerifierInt.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
shouldYieldFocus(javax.swing.JComponent input)
Calls the verify method.
|
boolean |
verify(javax.swing.JComponent input)
Checks the validity of a String typed into a JTextField.
|
public boolean verify(javax.swing.JComponent input)
verify in class javax.swing.InputVerifierinput - A JTextFieldpublic boolean shouldYieldFocus(javax.swing.JComponent input)
shouldYieldFocus in class javax.swing.InputVerifierinput - The input that needs to be verified.