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 voidkeyPressed(KeyEvent e)voidkeyReleased(KeyEvent e)voidkeyTyped(KeyEvent e)booleanverify(JComponent c)-
Methods inherited from class javax.swing.InputVerifier
shouldYieldFocus, shouldYieldFocus, verifyTarget
-
-
-
-
Method Detail
-
verify
public boolean verify(JComponent c)
- Specified by:
verifyin classInputVerifier
-
keyPressed
public void keyPressed(KeyEvent e)
- Specified by:
keyPressedin interfaceKeyListener- See Also:
KeyListener
-
keyTyped
public void keyTyped(KeyEvent e)
- Specified by:
keyTypedin interfaceKeyListener- See Also:
KeyListener
-
keyReleased
public void keyReleased(KeyEvent e)
- Specified by:
keyReleasedin interfaceKeyListener- See Also:
KeyListener
-
-