X-Git-Url: http://git.nikiroo.be/?a=blobdiff_plain;f=src%2Fjexer%2Fevent%2FTMenuEvent.java;h=45c6b8aa9c98d438db037e193e71f70faeea7c2e;hb=daa4106c096cd4d2b92c3cbae6491edccd25fcc4;hp=2fc8dc56e6befe63d72adc9e8a1d76b4e3240494;hpb=d4a29741fb714f71fd47c9c6e8ae93b57f015821;p=fanfix.git diff --git a/src/jexer/event/TMenuEvent.java b/src/jexer/event/TMenuEvent.java index 2fc8dc5..45c6b8a 100644 --- a/src/jexer/event/TMenuEvent.java +++ b/src/jexer/event/TMenuEvent.java @@ -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; }