apps.threedbuttonsexperiment.logger
Class KeyPressRecord

java.lang.Object
  extended by apps.threedbuttonsexperiment.logger.KeyPressRecord

public class KeyPressRecord
extends java.lang.Object

The Class KeyPressRecord.


Constructor Summary
KeyPressRecord(long pressTime, java.lang.String charactor, long lastKeyPressTime)
          Instantiates a new key press record.
 
Method Summary
 java.lang.String getCharactor()
          Gets the charactor.
 long getDurationTime()
          Gets the duration time.
 long getPressTime()
          Gets the press time.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KeyPressRecord

public KeyPressRecord(long pressTime,
                      java.lang.String charactor,
                      long lastKeyPressTime)
Instantiates a new key press record.

Parameters:
pressTime - the press time
charactor - the charactor
lastKeyPressTime - the last key press time
Method Detail

getCharactor

public java.lang.String getCharactor()
Gets the charactor.

Returns:
the charactor

getDurationTime

public long getDurationTime()
Gets the duration time.

Returns:
the duration time

getPressTime

public long getPressTime()
Gets the press time.

Returns:
the press time