checkstyle sweep
[nikiroo-utils.git] / src / jexer / bits / MnemonicString.java
index f97e1e992b1dfa02f81472e34bf7fe4c407f03fd..2cfe125f32f0e59376651046344c533d317213e8 100644 (file)
@@ -1,4 +1,4 @@
-/**
+/*
  * Jexer - Java Text User Interface
  *
  * License: LGPLv3 or later
@@ -43,6 +43,15 @@ public final class MnemonicString {
      */
     private char shortcut;
 
+    /**
+     * Get the keyboard shortcut character.
+     *
+     * @return the highlighted character
+     */
+    public char getShortcut() {
+        return shortcut;
+    }
+
     /**
      * Location of the highlighted character.
      */
@@ -70,7 +79,7 @@ public final class MnemonicString {
     public String getRawLabel() {
         return rawLabel;
     }
-    
+
     /**
      * Public constructor.
      *