Class KeyMap<T>


  • public class KeyMap<T>
    extends Object
    The KeyMap class contains all bindings from keys to operations.
    Since:
    2.6
    Author:
    Guillaume Nodet
    • Constructor Detail

      • KeyMap

        public KeyMap()
    • Method Detail

      • translate

        public static String translate​(String str)
      • esc

        public static String esc()
      • alt

        public static String alt​(char c)
      • del

        public static String del()
      • ctrl

        public static String ctrl​(char key)
      • getUnicode

        public T getUnicode()
      • setUnicode

        public void setUnicode​(T unicode)
      • getNomatch

        public T getNomatch()
      • setNomatch

        public void setNomatch​(T nomatch)
      • getAmbiguousTimeout

        public long getAmbiguousTimeout()
      • setAmbiguousTimeout

        public void setAmbiguousTimeout​(long ambiguousTimeout)
      • getAnotherKey

        public T getAnotherKey()
      • getBoundKeys

        public Map<String,​T> getBoundKeys()
      • getBound

        public T getBound​(CharSequence keySeq,
                          int[] remaining)
      • bindIfNotBound

        public void bindIfNotBound​(T function,
                                   CharSequence keySeq)
      • bind

        public void bind​(T function,
                         CharSequence... keySeqs)