java.lang.Object
com.googlecode.lanterna.input.MouseCharacterPattern
- All Implemented Interfaces:
CharacterPattern
Pattern used to detect Xterm-protocol mouse events coming in on the standard input channel
Created by martin on 19/07/15.
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.googlecode.lanterna.input.CharacterPattern
CharacterPattern.Matching
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGiven a list of characters, determine whether it exactly matches any known KeyStroke, and whether a longer sequence can possibly match.
-
Field Details
-
PATTERN
private static final char[] PATTERN -
isMouseDown
private boolean isMouseDown
-
-
Constructor Details
-
MouseCharacterPattern
public MouseCharacterPattern()
-
-
Method Details
-
match
Description copied from interface:CharacterPattern
Given a list of characters, determine whether it exactly matches any known KeyStroke, and whether a longer sequence can possibly match.- Specified by:
match
in interfaceCharacterPattern
- Parameters:
seq
- of characters to check- Returns:
- see
Matching
-