// Copyright 1997
// Black Dirt Software
// All rights reserved

public class bdcOptionButton extends Control {


    /////////////////////////////////
    // Component Definition Methods
    //////////////////////////////////

    public void initialize(Control c) {
      super.initialize(c);
      this.setType("RadioButton");
      this.setJavaType("Checkbox");
      this.setUsesActionEvent(false); // uses item changed
    }


    public String declareString() {
        return ("    Checkbox  " + this.getName() + " = new Checkbox(" +  "\"" + this.getCaption() + "\"" + ",group, false); "  );
    }

    public String controlArrayInitString() {
        return ("      " + this.getName() + "[" + getIndex() + "] = new Checkbox(" + "\"" +  this.getCaption() + "\""  + ",group, false);"  );
    }
    public String addString( Control cParent) {
      return (defaultAddString(cParent));
    }
    public String addString11( Control cParent) {
      return (defaultAddString11(cParent));
    }



}

