public Field . CheckBox addCheckBoxField ( String fldName , String label , boolean defValue ) { Field . CheckBox fld = new Field . CheckBox ( fldName , label , defValue , storeData ) ; addField ( fld ) ; return fld ; }
Add a boolean field as a checkbox .