public InputMachine() { this.currentState = State.idle; this.currentCharSet = null; this.currentIndex = 0; this.selectionCallback = null; this.addCharacterCallback = null; this.deleteCallback = null; }
public void registerAddCharacterCallback(AddCharacterCallback cb) { this.addCharacterCallback = cb; }