|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object ch.aplu.jgamegrid.GGKeyAdapter
public class GGKeyAdapter
Implementation of empty methods of GGKeyListener.
Constructor Summary | |
---|---|
GGKeyAdapter()
|
Method Summary | |
---|---|
boolean |
keyPressed(java.awt.event.KeyEvent evt)
Event callback method called when a key is pressed. |
boolean |
keyReleased(java.awt.event.KeyEvent evt)
Event callback method called when a key is released. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GGKeyAdapter()
Method Detail |
---|
public boolean keyPressed(java.awt.event.KeyEvent evt)
keyPressed
in interface GGKeyListener
evt
- the KeyEvent that gives information about the key
public boolean keyReleased(java.awt.event.KeyEvent evt)
keyReleased
in interface GGKeyListener
evt
- the KeyEvent that gives information about the key
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |