X-Git-Url: http://git.nikiroo.be/?a=blobdiff_plain;f=src%2Fjexer%2FTInputBox.java;h=487664ab01af2dac599282f3a9fedb46e03ee330;hb=107bba162165a2e6fc88913065f52c14d04b3883;hp=6ade42fb6d0cd5d70ed4fe8fd34933ec6cac4fb5;hpb=72b6bd90316d58e87afbed110164cc2f203ec919;p=fanfix.git diff --git a/src/jexer/TInputBox.java b/src/jexer/TInputBox.java index 6ade42f..487664a 100644 --- a/src/jexer/TInputBox.java +++ b/src/jexer/TInputBox.java @@ -44,19 +44,18 @@ package jexer; */ public class TInputBox extends TMessageBox { + // ------------------------------------------------------------------------ + // Variables -------------------------------------------------------------- + // ------------------------------------------------------------------------ + /** * The input field. */ private TField field; - /** - * Retrieve the answer text. - * - * @return the answer text - */ - public String getText() { - return field.getText(); - } + // ------------------------------------------------------------------------ + // Constructors ----------------------------------------------------------- + // ------------------------------------------------------------------------ /** * Public constructor. The input box will be centered on screen. @@ -116,4 +115,21 @@ public class TInputBox extends TMessageBox { getApplication().yield(); } + // ------------------------------------------------------------------------ + // TInputBox -------------------------------------------------------------- + // ------------------------------------------------------------------------ + + // ------------------------------------------------------------------------ + // TMessageBox ------------------------------------------------------------ + // ------------------------------------------------------------------------ + + /** + * Retrieve the answer text. + * + * @return the answer text + */ + public String getText() { + return field.getText(); + } + }