/** * Set the value for this entry. * * <p>We set the given value as the value for all our value objects. We then call our parent to * update the property we represent with the given value. We then trigger a model refresh. * * <p> * * @param newValue the new value */ private void setValue(Object newValue) { // Set the value for (int i = 0; i < values.length; i++) { values[i] = newValue; } // Inform our parent parent.valueChanged(this); // Refresh the model refreshFromRoot(); }
/** Refresh the entry tree from the root down */ private void refreshFromRoot() { if (parent == null) refreshChildEntries(); else parent.refreshFromRoot(); }