public final class NumericInputHandler extends KeyAdapter
| Constructor and Description | 
|---|
| NumericInputHandler(int numChar)Constructor | 
| Modifier and Type | Method and Description | 
|---|---|
| void | keyTyped(KeyEvent e)determine whether a key press is processed or not | 
keyPressed, keyReleasedpublic NumericInputHandler(int numChar)
numChar - no. of characters allowedpublic void keyTyped(KeyEvent e)
keyTyped in interface KeyListenerkeyTyped in class KeyAdaptere - a key event