Event
27282930313233343536
return combo; } private CheckBox createReadOnlyForComboBox(ComboBox combo) { CheckBox readonly = new CheckBox("Second combobox is read only", new MethodProperty(combo, "readOnly")); readonly.setImmediate(true); addComponent(readonly); return readonly; }
650651652653654655656657
return hl; } } public static <V extends Property.Viewer, T> V bindProperty(V viewer, T object, String property) { viewer.setPropertyDataSource(new MethodProperty(object, property)); return viewer; }