Example usage for com.vaadin.ui AbstractJavaScriptComponent subclass-usage

List of usage examples for com.vaadin.ui AbstractJavaScriptComponent subclass-usage

Introduction

In this page you can find the example usage for com.vaadin.ui AbstractJavaScriptComponent subclass-usage.

Usage

From source file de.fatalix.vaadin.addon.timelinejs.TimelineJS.java

/**
 *
 * @author felix.husse
 */
@JavaScript({ "vaadin://timelinejs/jquery-1.7.2.min.js", "vaadin://timelinejs/storyjs-embed.js",
        "timeline-connector.js" })

From source file de.symeda.sormas.ui.highcharts.HighChart.java

/**
 * <p>Abstract Highcharts chart.</p>
 * <p>
 * Download jquery and highcharts.js (if not already loaded in your webapp) and save them in the resource directory org/vaadin/highcharts.
 * Create a new class in the package org.vaadin.highcharts (e.g. "HighChart") and inherit it from AbstractHighChart.
 * Then add a proper JavaScript annotation to the newly created class in order to load all necessary JavaScript

From source file de.symeda.sormas.ui.map.LeafletMap.java

/**
 * JS and CSS files are in the VAADIN folder, so we can also access required
 * images and other resources.
 * 
 * @author Martin Wahnschaffe
 */

From source file edu.kit.dama.ui.admin.d3.Diagram.java

@JavaScript({ "d3.v3.min.js", "nv.d3.min.js", "diagram_connector.js" })
public class Diagram extends AbstractJavaScriptComponent {

    public void setData(final String data) {
        getState().setData(data);
    }

From source file fi.m1kah.JsComponent.java

@JavaScript("vaadin://js-component.js")
public class JsComponent extends AbstractJavaScriptComponent {
    public JsComponent() {
        registerNewJavascriptFunction();
    }

From source file fi.semantum.strategia.widget.Browser.java

@JavaScript(value = { "app://VAADIN/js/d3.nocache.js", "app://VAADIN/js/map.nocache.js" })
public class Browser extends AbstractJavaScriptComponent {

    private static final long serialVersionUID = 400460883943268636L;

    public interface BrowserListener {

From source file net.easychart.charts.Chart.java

/**
 *
 * @author SShadow
 */
//@StyleSheet("vaadin://addons/c3wrapper/c3.min.css")
// "c3component.js",

From source file org.agocontrol.site.component.flot.Flot.java

/**
 * Flot chart component.
 *
 * @author Tommi S.E. Laukkanen
 */
@JavaScript({ "flotr2.min.js", "flot.js" })

From source file org.jdal.vaadin.ui.HighlightLabel.java

/**
 * Label with highlight.js support 
 * 
 * @author Jose Luis Martin
 * @since 2.1
 */

From source file org.jumpmind.metl.ui.diagram.Diagram.java

@JavaScript({ "jquery-2.2.0.min.js", "dom.jsPlumb-1.7.5-min.js", "diagram.js" })
@StyleSheet({ "diagram.css" })
public class Diagram extends AbstractJavaScriptComponent {

    private static final long serialVersionUID = 1L;