/** * Adds an element to the list, and sets its parent to this node. * @param element the property node to append to the end of the list * @throws IllegalArgumentException} if element is {@code null} */ public void addElement(ObjectProperty element) { assertNotNull(element); if (elements == null) { elements = new ArrayList<ObjectProperty>(); } elements.add(element); element.setParent(this); }
/** * Adds an element to the list, and sets its parent to this node. * @param element the property node to append to the end of the list * @throws IllegalArgumentException} if element is {@code null} */ public void addElement(ObjectProperty element) { assertNotNull(element); if (elements == null) { elements = new ArrayList<ObjectProperty>(); } elements.add(element); element.setParent(this); }
/** * Adds an element to the list, and sets its parent to this node. * @param element the property node to append to the end of the list * @throws IllegalArgumentException} if element is {@code null} */ public void addElement(ObjectProperty element) { assertNotNull(element); if (elements == null) { elements = new ArrayList<ObjectProperty>(); } elements.add(element); element.setParent(this); }
/** * Adds an element to the list, and sets its parent to this node. * @param element the property node to append to the end of the list * @throws IllegalArgumentException} if element is {@code null} */ public void addElement(ObjectProperty element) { assertNotNull(element); if (elements == null) { elements = new ArrayList<ObjectProperty>(); } elements.add(element); element.setParent(this); }