Esempio n. 1
0
 @Override
 public DCol add(final EventType eventType, final String jsText) {
   super.add(eventType, jsText);
   return this;
 }
Esempio n. 2
0
 @Override
 public DCol add(final EventType eventType, final IJsFunc func) {
   super.add(eventType, func);
   return this;
 }
Esempio n. 3
0
 /**
  * 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;
 }
Esempio n. 4
0
 //
 // Framework - Event Wiring
 //
 @Override
 public DCol add(final EventType eventType, final ISimpleJsEventHandler handler) {
   super.add(eventType, handler);
   return this;
 }
Esempio n. 5
0
 /**
  * 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("&nbsp;") ;
  * vs.
  * node.add(anotherNode);
  * node.addRaw("&nbsp;");
  * @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;
 }