public class KeyboardDefinition
extends java.lang.Object
| Constructor and Description |
|---|
KeyboardDefinition() |
| Modifier and Type | Method and Description |
|---|---|
void |
addKey(KeyboardKey k)
Adds the key.
|
void |
addKeys(java.util.Collection<KeyboardKey> qwertyKeys)
Adds the keys.
|
java.awt.geom.Rectangle2D |
getBounds()
Gets the bounds.
|
KeyboardKey |
getKey(java.lang.String stringRep)
Gets the key.
|
KeyboardKey |
getKeyAt(java.awt.geom.Point2D p)
Gets the key at.
|
java.lang.Iterable<KeyboardKey> |
getKeysIterator()
Gets the keys iterator.
|
public void addKey(KeyboardKey k)
k - the kpublic void addKeys(java.util.Collection<KeyboardKey> qwertyKeys)
qwertyKeys - the qwerty keyspublic java.awt.geom.Rectangle2D getBounds()
public KeyboardKey getKey(java.lang.String stringRep)
stringRep - the string reppublic KeyboardKey getKeyAt(java.awt.geom.Point2D p)
p - the ppublic java.lang.Iterable<KeyboardKey> getKeysIterator()