@Override
  public void initialize(final WidgetModel model) {
    super.initialize(model);

    checkBox = new JCheckBox("");
    setToolTip(checkBox);
    getComponent().add(checkBox);
    checkBox.addChangeListener(this);

    refreshWidget();
  }
Beispiel #2
0
  @Override
  public void set(final WidgetModel model) {
    super.set(model);

    dateModel = new UtilDateModel();
    final JDatePickerImpl datePicker = new JDatePickerImpl(new JDatePanelImpl(dateModel), null);
    setToolTip(datePicker);
    getComponent().add(datePicker);
    datePicker.addActionListener(this);

    refreshWidget();
  }