use of au.com.vaadinutils.crud.splitFields.SplitCheckBox in project VaadinUtils by rlsutton1.
the class FormHelper method bindBooleanField.
public CheckBox bindBooleanField(AbstractLayout form, ValidatingFieldGroup<E> group, String fieldLabel, String fieldName) {
CheckBox field = new SplitCheckBox(fieldLabel);
field.setWidth("100%");
field.setImmediate(true);
addValueChangeListeners(field);
doBinding(group, fieldName, field);
form.addComponent(field);
return field;
}
Aggregations