code: public static TextBox newTextBox (String text, int maxLength, int visibleLength)
      {
          return initTextBox(new TextBox(), text, maxLength, visibleLength);
      }
docs: Creates a text box with all of the configuration that you're bound to want to do.