Finish code sweep
[nikiroo-utils.git] / src / jexer / TInputBox.java
index 6ade42fb6d0cd5d70ed4fe8fd34933ec6cac4fb5..02a468f7dd958bb13bd746efce307ef10fcd52da 100644 (file)
@@ -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();
     }
 
+    // ------------------------------------------------------------------------
+    // TMessageBox ------------------------------------------------------------
+    // ------------------------------------------------------------------------
+
+    // ------------------------------------------------------------------------
+    // TInputBox --------------------------------------------------------------
+    // ------------------------------------------------------------------------
+
+    /**
+     * Retrieve the answer text.
+     *
+     * @return the answer text
+     */
+    public String getText() {
+        return field.getText();
+    }
+
 }