@SuppressWarnings("unchecked") public void onAdd() { final NormalFilterUnitModel unit = new NormalFilterUnitModel(); unit.update(modelTemplates.get(0)); rows.add(new RowModel(unit)); ZKBinderHelper.loadComponent(self); }
public void onSelectColumn(final Combobox columnbox) { final Combobox operatorBox = (Combobox) columnbox.getNextSibling(); ZKBinderHelper.loadComponent(operatorBox); refreshComponents((Row) columnbox.getParent()); }
public void onRemoveAll() { rows.clear(); ZKBinderHelper.loadComponent(self); }
public void onRemove(final Row row) { // removes actual row final RowModel model = getModelFromComponent(row); rows.remove(model); ZKBinderHelper.loadComponent(self); }