public class VerifierUFloat
extends javax.swing.InputVerifier
Constructor and Description |
---|
VerifierUFloat()
Creates a new instance of VerifierUFloat.
|
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.InputVerifier
input
- A JTextFieldpublic boolean shouldYieldFocus(javax.swing.JComponent input)
shouldYieldFocus
in class javax.swing.InputVerifier
input
- The input that needs to be verified.