Module com.googlecode.lanterna
Package com.googlecode.lanterna.input
Class DefaultKeyDecodingProfile
- java.lang.Object
-
- com.googlecode.lanterna.input.DefaultKeyDecodingProfile
-
- All Implemented Interfaces:
KeyDecodingProfile
public class DefaultKeyDecodingProfile extends java.lang.Object implements KeyDecodingProfile
This profile attempts to collect as many code combinations as possible without causing any collisions between patterns. The patterns in here are tested with Linux terminal, XTerm, Gnome terminal, XFCE terminal, Cygwin and Mac OS X terminal.
-
-
Field Summary
Fields Modifier and Type Field Description private static java.util.List<CharacterPattern>
COMMON_PATTERNS
-
Fields inherited from interface com.googlecode.lanterna.input.KeyDecodingProfile
ESC_CODE
-
-
Constructor Summary
Constructors Constructor Description DefaultKeyDecodingProfile()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Collection<CharacterPattern>
getPatterns()
Returns a collection of character patterns that makes up this profile
-
-
-
Field Detail
-
COMMON_PATTERNS
private static final java.util.List<CharacterPattern> COMMON_PATTERNS
-
-
Method Detail
-
getPatterns
public java.util.Collection<CharacterPattern> getPatterns()
Description copied from interface:KeyDecodingProfile
Returns a collection of character patterns that makes up this profile- Specified by:
getPatterns
in interfaceKeyDecodingProfile
- Returns:
- Collection of patterns in this profile
-
-