psychWithJava
Class FullScreen.KeyPressed

java.lang.Object
  extended by psychWithJava.FullScreen.KeyPressed
Enclosing class:
FullScreen

public class FullScreen.KeyPressed
extends java.lang.Object

A class to handle key pressing events.

Author:
boyaci
See Also:
FullScreen.KeyPressed, KeyEvent

Field Summary
(package private)  java.lang.Integer key
           
(package private)  java.lang.Long when
           
 
Method Summary
 java.lang.Integer getKey()
           
 java.lang.Long getWhen()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

key

java.lang.Integer key

when

java.lang.Long when
Method Detail

getKey

public java.lang.Integer getKey()
Returns:
The code of the key pressed

getWhen

public java.lang.Long getWhen()
Returns:
Time of the key pressing event