
public class IntegerInputVerifier extends InputVerifier implements Serializable
| Modifier and Type | Field and Description |
|---|---|
private static long |
serialVersionUID |
private boolean |
status |
private JTextField |
textField |
| Constructor and Description |
|---|
IntegerInputVerifier(JTextField field)
Builds a new IntegerInputVerifier.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isOK() |
boolean |
verify(JComponent input) |
shouldYieldFocusprivate static final long serialVersionUID
private final JTextField textField
private boolean status
public IntegerInputVerifier(JTextField field)
field - the text field to verifypublic final boolean verify(JComponent input)
verify in class InputVerifierpublic boolean isOK()