public abstract class InputVerifier extends Object
InputVerifier
subclass registered, that permits or vetos a focus change request.| Constructor and Description |
|---|
InputVerifier()
Creates a
InputVerifier |
| Modifier and Type | Method and Description |
|---|---|
boolean |
shouldYieldFocus(JComponent component)
shouldYieldFocus
|
abstract boolean |
verify(JComponent component)
verify
|
public InputVerifier()
InputVerifierpublic abstract boolean verify(JComponent component)
component - the component to verifytrue if valid, false otherwise.public boolean shouldYieldFocus(JComponent component)
component - the component to verifytrue if valid, false otherwise.