Object oldValue = value;
value = (Boolean)object;
if (!value.equals(oldValue)) {
Form form = getForm();
if (hasValueChangedListeners() || this.getForm().hasFormHandler()) {
form.addWidgetEvent(new ValueChangedEvent(this, oldValue, value));
}
form.addWidgetUpdate(this);
}
}