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 org.vaadin.addon.paypal_button.PayPalButton.java

@JavaScript({ "paypalbutton.js", "paypalbutton-connector.js", "https://www.paypalobjects.com/api/checkout.js" })
public class PayPalButton extends AbstractJavaScriptComponent {

    public PayPalButton() {
        addFunction("succeeded", new JavaScriptFunction() {
            @Override

From source file org.vaadin.addon.twitter.AbstractWidget.java

/**
 * Base twitter widget that manages common settings.
 *
 * @param <T> the type of the concrete widget
 * @param <S> the type of concrete widget state
 */

From source file org.vaadin.addons.chart.js.ChartJS.java

/**
 *
 * @author felix.husse
 * @param <T>
 */
@JavaScript({ "vaadin://chartjs/Chart.min.js", "chartjs-connector.js" })

From source file org.vaadin.highcharts.AbstractHighChart.java

/**
 * Abstract Highcharts chart.
 *
 * 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 org.vaadin.higncharts.AbstractHighChart.java

/**
 * Abstract Highcharts chart.
 *
 * 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 org.vaadin.se.facebook.LoginButton.java

/**
 * Login button for Facebook.
 *
 * @author Sami Ekblad
 */
public class LoginButton extends AbstractJavaScriptComponent {

From source file org.yozons.vaadin.ckeditor.CKEditor.java

@JavaScript({ "app://VAADIN/addon-js/CKEditorForVaadin7/ckeditor/ckeditor.js", "ckeditorForVaadin7.js",
        "ckeditor-connector.js" })
public class CKEditor extends AbstractJavaScriptComponent {
    private static final long serialVersionUID = 2232973682989450421L;

    public CKEditor(CKEditorConfig config) {

From source file sph.vaadin.ui.svg.SvgDots.java

/**
 * SvgDots Component draws colored circles (dots) horizontally to an SVG canvas.
 * 
 * <p>Uses <a href="http://raphaeljs.com/">RaphalJavaScript Library</a> for SVG graphics.</p>
 * 
 * <p><strong>copyright &copy; Ville-Video 2013</strong></p>

From source file sph.vaadin.ui.videojs.Videojs.java

/**
 * <p><strong>Videojs component </strong> is based on <a href="http://www.videojs.com/"
 * target="new" class="sph bold code">Video.js</a> video player.<a
 * href="http://www.videojs.com/" target="new" class="sph bold code">Video.js</a> is a free open source HTML5 video player. </p>
 * <p><strong>Videojs component</strong> supports following media types / sources: </p>
 * <ul>