public class Key extends Object
Modifier and Type | Class and Description |
---|---|
static class |
Key.Kind |
Constructor and Description |
---|
Key(char character) |
Key(char character,
boolean ctrlPressed,
boolean altPressed) |
Key(Key.Kind kind) |
Key(Key.Kind kind,
boolean ctrlPressed,
boolean altPressed) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
char |
getCharacter() |
Key.Kind |
getKind() |
int |
hashCode() |
boolean |
isAltPressed() |
boolean |
isCtrlPressed() |
String |
toString() |
public Key(char character)
public Key(char character, boolean ctrlPressed, boolean altPressed)
public Key(Key.Kind kind)
public Key(Key.Kind kind, boolean ctrlPressed, boolean altPressed)
public Key.Kind getKind()
public char getCharacter()
public boolean isAltPressed()
public boolean isCtrlPressed()
Copyright © 2015. All Rights Reserved.