Merge branch 'master' of https://github.com/klamonte/jexer
[fanfix.git] / src / jexer / event / TMenuEvent.java
index 2fc8dc56e6befe63d72adc9e8a1d76b4e3240494..45c6b8aa9c98d438db037e193e71f70faeea7c2e 100644 (file)
@@ -1,4 +1,4 @@
-/**
+/*
  * Jexer - Java Text User Interface
  *
  * License: LGPLv3 or later
@@ -40,14 +40,14 @@ public final class TMenuEvent extends TInputEvent {
     /**
      * MenuItem ID.
      */
-    private short id;
+    private int id;
 
     /**
      * Get the MenuItem ID.
      *
      * @return the ID
      */
-    public short getId() {
+    public int getId() {
         return id;
     }
 
@@ -56,7 +56,7 @@ public final class TMenuEvent extends TInputEvent {
      *
      * @param id the MenuItem ID
      */
-    public TMenuEvent(final short id) {
+    public TMenuEvent(final int id) {
         this.id = id;
     }