Package org.odftoolkit.odfdom.dom.element.script

Examples of org.odftoolkit.odfdom.dom.element.script.ScriptEventListenerElement


   * @param scriptEventNameValue  the <code>String</code> value of <code>ScriptEventNameAttribute</code>, see {@odf.attribute  script:event-name} at specification
   * @param scriptLanguageValue  the <code>String</code> value of <code>ScriptLanguageAttribute</code>, see {@odf.attribute  script:language} at specification
   * @return the element {@odf.element script:event-listener}
   */
   public ScriptEventListenerElement newScriptEventListenerElement(String scriptEventNameValue, String scriptLanguageValue) {
    ScriptEventListenerElement scriptEventListener = ((OdfFileDom) this.ownerDocument).newOdfElement(ScriptEventListenerElement.class);
    scriptEventListener.setScriptEventNameAttribute(scriptEventNameValue);
    scriptEventListener.setScriptLanguageAttribute(scriptLanguageValue);
    this.appendChild(scriptEventListener);
    return scriptEventListener;
  }
View Full Code Here

TOP

Related Classes of org.odftoolkit.odfdom.dom.element.script.ScriptEventListenerElement

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.