Package ucar.ui.prefs
Class FldInputVerifier
- java.lang.Object
-
- javax.swing.InputVerifier
-
- ucar.ui.prefs.FldInputVerifier
-
- All Implemented Interfaces:
KeyListener
,EventListener
public class FldInputVerifier extends InputVerifier implements KeyListener
started from jroller article.
-
-
Constructor Summary
Constructors Constructor Description FldInputVerifier(Component c, Field fld)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
keyPressed(KeyEvent e)
void
keyReleased(KeyEvent e)
void
keyTyped(KeyEvent e)
boolean
verify(JComponent c)
-
Methods inherited from class javax.swing.InputVerifier
shouldYieldFocus, shouldYieldFocus, verifyTarget
-
-
-
-
Method Detail
-
verify
public boolean verify(JComponent c)
- Specified by:
verify
in classInputVerifier
-
keyPressed
public void keyPressed(KeyEvent e)
- Specified by:
keyPressed
in interfaceKeyListener
- See Also:
KeyListener
-
keyTyped
public void keyTyped(KeyEvent e)
- Specified by:
keyTyped
in interfaceKeyListener
- See Also:
KeyListener
-
keyReleased
public void keyReleased(KeyEvent e)
- Specified by:
keyReleased
in interfaceKeyListener
- See Also:
KeyListener
-
-