private CmsCheckBox generateCheckBox ( Date date , boolean checkState ) { CmsCheckBox cb = new CmsCheckBox ( ) ; cb . setText ( m_dateFormat . format ( date ) ) ; cb . setChecked ( checkState ) ; cb . getElement ( ) . setPropertyObject ( "date" , date ) ; return cb ; }
Generate a new check box with the provided date and check state .