code: private void initPatternButtonGroup() {
  
          m_groupPattern = new CmsRadioButtonGroup();
          m_patternButtons = new HashMap<>();
  
          createAndAddButton(PatternType.DAILY, Messages.GUI_SERIALDATE_TYPE_DAILY_0);
          m_patternButtons.put(PatternType.NONE, m_patternButtons.get(PatternType.DAILY));
          createAndAddButton(PatternType.WEEKLY, Messages.GUI_SERIALDATE_TYPE_WEEKLY_0);
          createAndAddButton(PatternType.MONTHLY, Messages.GUI_SERIALDATE_TYPE_MONTHLY_0);
          createAndAddButton(PatternType.YEARLY, Messages.GUI_SERIALDATE_TYPE_YEARLY_0);
          // createAndAddButton(PatternType.INDIVIDUAL, Messages.GUI_SERIALDATE_TYPE_INDIVIDUAL_0);
  
          m_groupPattern.addValueChangeHandler(new ValueChangeHandler<String>() {
  
              public void onValueChange(ValueChangeEvent<String> event) {
  
                  if (handleChange()) {
                      String value = event.getValue();
                      if (value != null) {
                          m_controller.setPattern(value);
                      }
                  }
              }
          });
  
      }
docs: Initialize the pattern choice button group.