X-Git-Url: http://git.nikiroo.be/?a=blobdiff_plain;f=src%2Fjexer%2Fbackend%2FTSessionInfo.java;h=63c12f565a9c24f63d6846ca92a09c4cdce77b45;hb=d36057dfab8def933a64be042b039d76708ac5ba;hp=bc32175398ddc8c77d91a08deb4c7824710baa30;hpb=eb29bbb5ec70c43895dd0f053630c7e3cd402cba;p=fanfix.git diff --git a/src/jexer/backend/TSessionInfo.java b/src/jexer/backend/TSessionInfo.java index bc32175..63c12f5 100644 --- a/src/jexer/backend/TSessionInfo.java +++ b/src/jexer/backend/TSessionInfo.java @@ -34,6 +34,10 @@ package jexer.backend; */ public final class TSessionInfo implements SessionInfo { + // ------------------------------------------------------------------------ + // Variables -------------------------------------------------------------- + // ------------------------------------------------------------------------ + /** * User name. */ @@ -54,6 +58,32 @@ public final class TSessionInfo implements SessionInfo { */ private int windowHeight = 24; + // ------------------------------------------------------------------------ + // Constructors ----------------------------------------------------------- + // ------------------------------------------------------------------------ + + /** + * Public constructor. + */ + public TSessionInfo() { + this(80, 24); + } + + /** + * Public constructor. + * + * @param width the number of columns + * @param height the number of rows + */ + public TSessionInfo(final int width, final int height) { + this.windowWidth = width; + this.windowHeight = height; + } + + // ------------------------------------------------------------------------ + // SessionInfo ------------------------------------------------------------ + // ------------------------------------------------------------------------ + /** * Username getter. * @@ -115,22 +145,4 @@ public final class TSessionInfo implements SessionInfo { // NOP } - /** - * Public constructor. - */ - public TSessionInfo() { - this(80, 24); - } - - /** - * Public constructor. - * - * @param width the number of columns - * @param height the number of rows - */ - public TSessionInfo(final int width, final int height) { - this.windowWidth = width; - this.windowHeight = height; - } - }