synergynetframework.jme.gfx.twod.keyboard
Class Key

java.lang.Object
  extended by synergynetframework.jme.gfx.twod.keyboard.Key
All Implemented Interfaces:
java.io.Serializable

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

The Class Key.

See Also:
Serialized Form

Field Summary
 java.awt.Rectangle area
          The area.
 int key
          The key.
 
Constructor Summary
Key(java.awt.Rectangle r, int key)
          Instantiates a new key.
 
Method Summary
 char getKeyChar(boolean upperCaseModeOn)
          Gets the key char.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

area

public java.awt.Rectangle area
The area.


key

public int key
The key.

Constructor Detail

Key

public Key(java.awt.Rectangle r,
           int key)
Instantiates a new key.

Parameters:
r - the r
key - the key
Method Detail

getKeyChar

public char getKeyChar(boolean upperCaseModeOn)
Gets the key char.

Parameters:
upperCaseModeOn - the upper case mode on
Returns:
the key char

toString

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