CharacterPattern
public class ScreenInfoCharacterPattern extends EscapeSequenceCharacterPattern
CharacterPattern.Matching
Constructor | Description |
---|---|
ScreenInfoCharacterPattern() |
Modifier and Type | Method | Description |
---|---|---|
protected KeyStroke |
getKeyStrokeRaw(char first,
int num1,
int num2,
char last,
boolean bEsc) |
combines the raw parts of the sequence into a KeyStroke.
|
static ScreenInfoAction |
tryToAdopt(KeyStroke ks) |
getKeyStroke, match
protected KeyStroke getKeyStrokeRaw(char first, int num1, int num2, char last, boolean bEsc)
EscapeSequenceCharacterPattern
getKeyStrokeRaw
in class EscapeSequenceCharacterPattern
first
- the char following after Esc in the sequence (either [ or O)num1
- the first decimal, or 0 if not in the sequencenum2
- the second decimal, or 0 if not in the sequencelast
- the terminating char.bEsc
- whether an extra Escape-prefix was found.public static ScreenInfoAction tryToAdopt(KeyStroke ks)
Copyright © 2020. All rights reserved.