org.jagatoo.input.localization.mappings.german
Class MappingGermany

java.lang.Object
  extended by org.jagatoo.input.localization.mappings.german.MappingGermany
All Implemented Interfaces:
Mapping

public class MappingGermany
extends java.lang.Object
implements Mapping

This the Mapping implementation for germany.


Constructor Summary
MappingGermany()
           
 
Method Summary
 Key getLocalizedKey(char keyChar)
           
 java.lang.String getLocalizedKeyName(DeviceComponent key)
          Searches for a localized name for the given Key.
 Key getLowerYZKey()
          
 char getModifiedChar(Key key, char unmodChar, int modifierMask)
          Must return the char, that is assotiated to the key with the given key-code when the given modifier is pressed.
 Key getUpperYZKey()
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MappingGermany

public MappingGermany()
Method Detail

getUpperYZKey

public final Key getUpperYZKey()

Specified by:
getUpperYZKey in interface Mapping
Returns:
the key or {Y, Z}, which is the upper one. On a German keyboard this is the Z key on US or UK keyboard this is the Y key.

getLowerYZKey

public final Key getLowerYZKey()

Specified by:
getLowerYZKey in interface Mapping
Returns:
the key or {Y, Z}, which is the lower one. On a German keyboard this is the Y key on US or UK keyboard this is the Z key.

getModifiedChar

public char getModifiedChar(Key key,
                            char unmodChar,
                            int modifierMask)
Must return the char, that is assotiated to the key with the given key-code when the given modifier is pressed.

Specified by:
getModifiedChar in interface Mapping
Parameters:
key - the queried key
Returns:
the modified char.

getLocalizedKey

public Key getLocalizedKey(char keyChar)
Specified by:
getLocalizedKey in interface Mapping

getLocalizedKeyName

public java.lang.String getLocalizedKeyName(DeviceComponent key)
Description copied from interface: Mapping
Searches for a localized name for the given Key.
If none was found, the result of key.getName() is returned.

Specified by:
getLocalizedKeyName in interface Mapping
Returns:
the localized key-name.