public void setDatesWithCheckState ( Collection < CmsPair < Date , Boolean > > datesWithCheckInfo ) { SortedSet < Date > dates = new TreeSet <> ( ) ; m_checkBoxes . clear ( ) ; for ( CmsPair < Date , Boolean > p : datesWithCheckInfo ) { addCheckBox ( p . getFirst ( ) , p . getSecond ( ) . booleanValue ( ) ) ; dates . add ( p . getFirst ( ) ) ; } reInitLayoutElements ( ) ; setDatesInternal ( dates ) ; }
Set dates with the provided check states .