// Copyright 1997
// Black Dirt Software
// All rights reserved

public class bdcListBox extends Control {
   

    /////////////////////////////////
    // Component Definition Methods
    //////////////////////////////////

    public void initialize(Control c) {
      super.initialize(c);
      this.setType("ListBox");
      this.setJavaType("List");
    }



    public String declareString() {
        return ("    List  " + this.getName() + " = new List(" +  (int) (this.getHeight()/10) + ", false); "  );
    }

    public String controlArrayInitString() {
        return ("      " + this.getName() + "[" + getIndex() + "] = new List(" + (int) (this.getHeight()/10) + ", false);"  );
    }
    public String addString( Control cParent) {
      return (defaultAddString(cParent));
    }
    public String addString11( Control cParent) {
      return (defaultAddString11(cParent));
    }


}
