code: private void decorate(final String id, final String caption, final String style, final String styleName,
              final boolean required, final String data) {
          // Default settings
          setRequired(required);
          addStyleName(ValoTheme.CHECKBOX_SMALL);
          if (id != null) {
              setId(id);
          }
          if (caption != null) {
              setCaption(caption);
          }
          // Add style
          if (style != null) {
              setStyleName(style);
          }
          // Add style Name
          if (styleName != null) {
              addStyleName(styleName);
          }
          // Set Data
          if (data != null) {
              setData(data);
          }
      }
docs: decorate.
  
  @param style
  style of the CheckBox
  @param styleName
  styleName of the CheckBox
  @param required
  required check for Checkbox
  @param data
  data of the CheckBox
  @param promt
  inputpromt of the CheckBox