- java.lang.Object
-
- java.awt.event.KeyAdapter
-
- org.icepdf.ri.common.FloatTextFieldKeyListener
-
- All Implemented Interfaces:
KeyListener,EventListener
public class FloatTextFieldKeyListener extends KeyAdapter
Utility class to ignore all keyboard events that are not digits, KeyEvent.VK_BACK_SPACE, KeyEvent.VK_DELETE, KeyEvent.VK_ENTER and KeyEvent.VK_PERIOD are exempt.- Since:
- 4.0
-
-
Constructor Summary
Constructors Constructor Description FloatTextFieldKeyListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidkeyTyped(KeyEvent e)-
Methods inherited from class java.awt.event.KeyAdapter
keyPressed, keyReleased
-
-
-
-
Method Detail
-
keyTyped
public void keyTyped(KeyEvent e)
- Specified by:
keyTypedin interfaceKeyListener- Overrides:
keyTypedin classKeyAdapter
-
-