@Override public DCol add(final EventType eventType, final String jsText) { super.add(eventType, jsText); return this; }
@Override public DCol add(final EventType eventType, final IJsFunc func) { super.add(eventType, func); return this; }
/** * Shorthand for add(new DText(value)) <br> * <code> * ex: node.add("Address") * </code> * * @param value to be added as a DText node. Throws DOMException if value is null. * @return this * @throws DOMException */ @Override public DCol add(final String value) throws DOMException { super.add(value); return this; }
// // Framework - Event Wiring // @Override public DCol add(final EventType eventType, final ISimpleJsEventHandler handler) { super.add(eventType, handler); return this; }
/** * Shorthand of appendChild(Node) but takes a DNode arg. * Returns "this" DNode vs. the added child - this is nice for * cascade style programming. * <code> * node.add(anotherNode).addRaw(" ") ; * vs. * node.add(anotherNode); * node.addRaw(" "); * @param newChild node to be appended. Throws DOMException if value is null. * @return this * @throws DOMException */ @Override public DCol add(final DNode newChild) throws DOMException { super.add(newChild); return this; }