public class VerifierFloat
extends javax.swing.InputVerifier
| Constructor and Description |
|---|
VerifierFloat()
Creates a new instance of VerifierFloat.
|
| 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 to verify.