javax.swing
public abstract class InputVerifier extends Object
InputVerifier
subclass registered, that permits or vetos a focus change request.
| Constructor Summary | |
|---|---|
| InputVerifier()
Creates a InputVerifier | |
| Method Summary | |
|---|---|
| boolean | shouldYieldFocus(JComponent component)
shouldYieldFocus
|
| abstract boolean | verify(JComponent component)
verify
|
InputVerifierParameters: component the component to verify
Returns: true if valid, false otherwise.
Parameters: component the component to verify
Returns: true if valid, false otherwise.