location.generators
Class FakeGPSgui.FakeGPSguiKeyListener

java.lang.Object
  extended bylocation.generators.FakeGPSgui.FakeGPSguiKeyListener
All Implemented Interfaces:
java.util.EventListener, java.awt.event.KeyListener
Enclosing class:
FakeGPSgui

private class FakeGPSgui.FakeGPSguiKeyListener
extends java.lang.Object
implements java.awt.event.KeyListener

This implements what needs to be done when the key is pressed.


Constructor Summary
FakeGPSgui.FakeGPSguiKeyListener()
           
 
Method Summary
 void keyPressed(java.awt.event.KeyEvent ke)
          Determines what key was pressed and changes the next location accordingly.
 void keyReleased(java.awt.event.KeyEvent ke)
           
 void keyTyped(java.awt.event.KeyEvent ke)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FakeGPSgui.FakeGPSguiKeyListener

public FakeGPSgui.FakeGPSguiKeyListener()
Method Detail

keyPressed

public void keyPressed(java.awt.event.KeyEvent ke)
Determines what key was pressed and changes the next location accordingly.

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

keyReleased

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

keyTyped

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