Class KeyCombo


  • public class KeyCombo
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private char[] chars  
      private int matchIndex  
      private java.lang.Runnable onCompletion  
    • Constructor Summary

      Constructors 
      Constructor Description
      KeyCombo​(char[] p_i51793_1_, java.lang.Runnable p_i51793_2_)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean keyPressed​(char p_224799_1_)  
      void reset()  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

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

      • chars

        private final char[] chars
      • matchIndex

        private int matchIndex
      • onCompletion

        private final java.lang.Runnable onCompletion
    • Constructor Detail

      • KeyCombo

        public KeyCombo​(char[] p_i51793_1_,
                        java.lang.Runnable p_i51793_2_)
    • Method Detail

      • keyPressed

        public boolean keyPressed​(char p_224799_1_)
      • reset

        public void reset()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object