Package com.google.livingstories.client.ui

Examples of com.google.livingstories.client.ui.JavascriptLink


    createJavascriptLink(richTextArea, javascript, null);
  }
 
  public void createJavascriptLink(Element richTextArea, String javascript, String tooltip) {
    String selection = getSelection(richTextArea);
    JavascriptLink link = new JavascriptLink(selection);
    link.setOnClick(javascript);
    if (tooltip != null) {
      link.setTitle(tooltip);
    }
    insertHTML(richTextArea, link.getOuterHTML());
  }
View Full Code Here

TOP

Related Classes of com.google.livingstories.client.ui.JavascriptLink

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.