private void initComponents ( List < CmsSetupComponent > components ) { for ( CmsSetupComponent component : components ) { CheckBox checkbox = new CheckBox ( ) ; checkbox . setValue ( component . isChecked ( ) ) ; checkbox . setCaption ( component . getName ( ) + " - " + component . getDescription ( ) ) ; checkbox . setDescription ( component . getDescription ( ) ) ; checkbox . setData ( component ) ; checkbox . setWidth ( "100%" ) ; m_components . addComponent ( checkbox ) ; m_componentCheckboxes . add ( checkbox ) ; m_componentMap . put ( component . getId ( ) , component ) ; } }
Initializes the components .