code: public void addControl(Control control) {
          if (controls == null) {
              controls = new FormData.Controls();
          }
  
          this.controls.add(control);
      }
docs: Adds new form control.
  @param control