/** * if the added child row is selected, add it to the set. * * @see org.fujion.component.BaseComponent#afterAddChild(org.fujion.component.BaseComponent) */ @Override protected void afterAddChild(BaseComponent child) { super.afterAddChild(child); Row row = (Row) child; if (row.isSelected()) { _updateSelected(row); } } }
protected void _setSelected(boolean selected, boolean notifyClient, boolean notifyParent) { if (propertyChange("selected", this.selected, this.selected = selected, notifyClient)) { if (notifyParent && getParent() != null) { ((Rows) getParent())._updateSelected(this); } } }