void (final boolean valid) { for (int i = 0; i < myRoot.getChildCount(); i++) { final MyNode node = (MyNode) myRoot.getChildAt(i); final GroupConfigurable groupConfigurable = (GroupConfigurable) node.getConfigurable(); groupConfigurable.setIsValid(valid); } }