jmathlib.ui.awt
Class ConsoleKeyHandler

java.lang.Object
  extended by jmathlib.ui.awt.ConsoleKeyHandler
All Implemented Interfaces:
java.awt.event.KeyListener, java.util.EventListener

public class ConsoleKeyHandler
extends java.lang.Object
implements java.awt.event.KeyListener

Class for handling key events It only works with the Console class


Constructor Summary
ConsoleKeyHandler()
           
 
Method Summary
 void keyPressed(java.awt.event.KeyEvent e)
          Interpret key presses
 void keyReleased(java.awt.event.KeyEvent e)
           
 void keyTyped(java.awt.event.KeyEvent e)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConsoleKeyHandler

public ConsoleKeyHandler()
Method Detail

keyTyped

public void keyTyped(java.awt.event.KeyEvent e)
Specified by:
keyTyped in interface java.awt.event.KeyListener

keyPressed

public void keyPressed(java.awt.event.KeyEvent e)
Interpret key presses

Specified by:
keyPressed in interface java.awt.event.KeyListener

keyReleased

public void keyReleased(java.awt.event.KeyEvent e)
Specified by:
keyReleased in interface java.awt.event.KeyListener

FOOTER

BOTTOM