vcd.addRow(event);
}
});
sfw =
FieldFactory.fradiogroup("fradiogroup", "fradiogroup", "Radio Group", "Radio Group", data, new GridRenderer(
3, GridStyles.GRID));
sfw.setValue("valueB");
sfw.setRequired(true);
group.addField(sfw);
sfw.addValueChangeHandler(new ValueChangeHandler<String>() {
@Override
public void onValueChange(ValueChangeEvent<String> event) {
vcd.addRow(event);
}
});
sfw = FieldFactory.fsuggest("fsuggest", "fsuggest", "Suggest", "Suggest", data);
sfw.setValue("valueB");
sfw.setRequired(true);
group.addField(sfw);
sfw.addValueChangeHandler(new ValueChangeHandler<String>() {
@Override
public void onValueChange(ValueChangeEvent<String> event) {
vcd.addRow(event);
}
});
efw =
FieldFactory.fenumradio("fenumradio", "fenumradio", "Enum Radio", "Enum Radio", TestEnum.class,
new GridRenderer(3, GridStyles.GRID));
efw.setValue(TestEnum.ENUM_7);
efw.setRequired(true);
group.addField(efw);
efw.addValueChangeHandler(new ValueChangeHandler<TestEnum>() {