Class MouseCharacterPattern

  • All Implemented Interfaces:
    CharacterPattern

    public class MouseCharacterPattern
    extends java.lang.Object
    implements CharacterPattern
    Pattern used to detect Xterm-protocol mouse events coming in on the standard input channel Created by martin on 19/07/15.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private boolean isMouseDown  
      private static char[] PATTERN  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • PATTERN

        private static final char[] PATTERN
      • isMouseDown

        private boolean isMouseDown
    • Constructor Detail

      • MouseCharacterPattern

        public MouseCharacterPattern()
    • Method Detail

      • match

        public CharacterPattern.Matching match​(java.util.List<java.lang.Character> seq)
        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 interface CharacterPattern
        Parameters:
        seq - of characters to check
        Returns:
        see Matching