clean up threads and timers
[nikiroo-utils.git] / src / jexer / TButton.java
index 24ee94c1abb9c0ff942ddeb90ef1a2c232cc356c..5e5edd03ca37a7a67285df1efd78bd810ede21c8 100644 (file)
@@ -51,6 +51,15 @@ public final class TButton extends TWidget {
      */
     private MnemonicString mnemonic;
 
+    /**
+     * Get the mnemonic string for this button.
+     *
+     * @return mnemonic string
+     */
+    public final MnemonicString getMnemonic() {
+        return mnemonic;
+    }
+
     /**
      * Remember mouse state.
      */