-
- All Known Implementing Classes:
AltAndCharacterPattern,BasicCharacterPattern,CtrlAltAndCharacterPattern,CtrlAndCharacterPattern,EscapeSequenceCharacterPattern,MouseCharacterPattern,NormalCharacterPattern,ScreenInfoCharacterPattern
public interface CharacterPatternUsed to compare a list of character if they match a particular pattern, and in that case, return the kind of keystroke this pattern represents
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classCharacterPattern.MatchingThis immutable class describes a matching result.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CharacterPattern.Matchingmatch(java.util.List<java.lang.Character> seq)Given a list of characters, determine whether it exactly matches any known KeyStroke, and whether a longer sequence can possibly match.
-
-
-
Method Detail
-
match
CharacterPattern.Matching match(java.util.List<java.lang.Character> seq)
Given a list of characters, determine whether it exactly matches any known KeyStroke, and whether a longer sequence can possibly match.- Parameters:
seq- of characters to check- Returns:
- see
Matching
-
-