/** * Removes the given {@link ValidationResultModel} from this container's * list of children. Also unregisters this container to no longer listen * for changes in the child. * * @param resultModel the <code>ValidationResultModel</code> to be removed * * @see #add(ValidationResultModel) */ public void remove(ValidationResultModel resultModel) { childResultModels.remove(resultModel); resultModel.removePropertyChangeListener( ValidationResultModel.PROPERTYNAME_RESULT, childResultUpdateHandler); }
/** * Removes the given {@link ValidationResultModel} from this container's * list of children. Also unregisters this container to no longer listen * for changes in the child. * * @param resultModel the {@code ValidationResultModel} to be removed * * @see #add(ValidationResultModel) */ public void remove(ValidationResultModel resultModel) { childResultModels.remove(resultModel); resultModel.removePropertyChangeListener( ValidationResultModel.PROPERTY_RESULT, childResultUpdateHandler); }