Example usage for com.vaadin.server AbstractJavaScriptExtension subclass-usage

List of usage examples for com.vaadin.server AbstractJavaScriptExtension subclass-usage

Introduction

In this page you can find the example usage for com.vaadin.server AbstractJavaScriptExtension subclass-usage.

Usage

From source file eu.maxschuster.vaadin.jquery.Callback.java

@JavaScript("js/callback.js")
public abstract class Callback extends AbstractJavaScriptExtension implements JavaScriptFunction {

    private static final long serialVersionUID = 24803562414458626L;
    public static final String REGEXP = "/^-jQ-Callback\\[(\\d+)\\]$/";
    private JQueryObject host;

From source file eu.maxschuster.vaadin.jquery.JQueryObject.java

@JavaScript({ "js/jquery-1.9.1.min.js", "js/jquery-object.js" })
public class JQueryObject extends AbstractJavaScriptExtension {

    private static final long serialVersionUID = -6859468566863980128L;
    private AbstractClientConnector target;
    private int length = 0;

From source file info.magnolia.ui.vaadin.editor.JCrop.java

/**
 * An {@link Image} extension that operates JCrop JQuery plugin ({@link http://deepliquid.com/content/Jcrop.html}).
 */
@JavaScript({ "jquery.color.js", "jquery.Jcrop.min.js", "jcrop_connector.js" })
public class JCrop extends AbstractJavaScriptExtension {

From source file info.magnolia.ui.workbench.tree.RowScroller.java

/**
 * Brings a table row into view.
 */
@JavaScript("rowscroller_connector.js")
public class RowScroller extends AbstractJavaScriptExtension {

From source file org.vaadin.addon.ewopener.demo.HighlightJS.java

/**
 * Created by marco on 15/06/16.
 */
@JavaScript({ "https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.6.0/highlight.min.js",
        "https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.6.0/languages/java.min.js",
        "highlightjs_connector.js" })

From source file org.vaadin.addon.googlepicker.auth.GoogleAuthorizer.java

/**
 *
 * @author se
 */
@JavaScript({ "GoogleAuthorizer.js",
        "https://apis.google.com/js/api.js?onload=org_vaadin_addon_googlepicker_auth_GoogleAuthorizer_onApiLoad" })

From source file org.vaadin.addon.twitter.demo.HighlightJS.java

/**
 * Created by marco on 15/06/16.
 */
@JavaScript({ "https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.4.0/highlight.min.js",
        "https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.4.0/languages/java.min.js",
        "highlightjs_connector.js" })

From source file org.vaadin.se.facebook.Facebook.java

/**
 *
 * @author Sami Ekblad
 */
@JavaScript({ "Facebook.js" })
public class Facebook extends AbstractJavaScriptExtension {