use of com.sencha.gxt.widget.core.client.form.CheckBox in project activityinfo by bedatadriven.
the class RadioGroupWidget method init.
@Override
public void init(FieldValue value) {
EnumValue enumValue = (EnumValue) value;
CheckBox checkBox = radios.get(enumValue.getValueId());
checkBox.setValue(true);
}
use of com.sencha.gxt.widget.core.client.form.CheckBox in project activityinfo by bedatadriven.
the class CheckBoxGroupWidget method init.
@Override
public void init(FieldValue value) {
EnumValue enumValue = (EnumValue) value;
for (ResourceId itemId : enumValue.getResourceIds()) {
CheckBox checkBox = checkBoxes.get(itemId);
checkBox.setValue(true);
}
}
Aggregations