Modifier and Type | Class and Description |
---|---|
static class |
KeyPress.Type |
Modifier and Type | Field and Description |
---|---|
private boolean |
alt |
private Character |
character |
private boolean |
ctrl |
private boolean |
shift |
private KeyPress.Type |
type |
Constructor and Description |
---|
KeyPress(KeyPress.Type type,
Character character,
boolean alt,
boolean ctrl,
boolean shift) |
Modifier and Type | Method and Description |
---|---|
private String |
escape(Character character) |
Character |
getCharacter() |
KeyPress.Type |
getType() |
boolean |
isAlt() |
boolean |
isCtrl() |
boolean |
isShift() |
String |
toString() |
private final KeyPress.Type type
private final boolean alt
private final boolean ctrl
private final boolean shift
public KeyPress(KeyPress.Type type, @Nullable Character character, boolean alt, boolean ctrl, boolean shift)
public KeyPress.Type getType()
@Nullable public Character getCharacter()
public boolean isAlt()
public boolean isCtrl()
public boolean isShift()
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.