t3.hrd.input
Class KeyboardInput

java.lang.Object
  extended by t3.hrd.input.KeyboardInput
All Implemented Interfaces:
java.io.Serializable

public class KeyboardInput
extends java.lang.Object
implements java.io.Serializable

Data structure representing a keyboard event.

Author:
pjt40
See Also:
Serialized Form

Field Summary
 char awtKeyChar
           
 int awtKeyCode
           
 int awtKeyModifiers
           
 int clientId
           
static int MESSAGE_TYPE_PRESSED
           
static int MESSAGE_TYPE_RELEASED
           
static int MESSAGE_TYPE_TYPED
           
 int messageType
           
 int personId
           
 
Constructor Summary
KeyboardInput(int clientId, int personId, char awtKeyChar, int awtKeyCode, int awtKeyModifiers, int messageType)
           
 
Method Summary
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

awtKeyCode

public int awtKeyCode

awtKeyModifiers

public int awtKeyModifiers

awtKeyChar

public char awtKeyChar

messageType

public int messageType

personId

public int personId

clientId

public int clientId

MESSAGE_TYPE_PRESSED

public static int MESSAGE_TYPE_PRESSED

MESSAGE_TYPE_RELEASED

public static int MESSAGE_TYPE_RELEASED

MESSAGE_TYPE_TYPED

public static int MESSAGE_TYPE_TYPED
Constructor Detail

KeyboardInput

public KeyboardInput(int clientId,
                     int personId,
                     char awtKeyChar,
                     int awtKeyCode,
                     int awtKeyModifiers,
                     int messageType)
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object