List of usage examples for com.vaadin.ui AbstractJavaScriptComponent subclass-usage
From source file org.jumpmind.metl.ui.diagram.RunDiagram.java
/** * TODO: ADB: Refactor the RunDiagram screen to reuse the Diagram screen. * */ @JavaScript({ "jquery-2.2.0.min.js", "dom.jsPlumb-1.7.5-min.js", "run-diagram.js" }) @StyleSheet({ "run-diagram.css" })
From source file org.jumpmind.metl.ui.mapping.MappingDiagram.java
@JavaScript({ "dom.jsPlumb-1.7.5-min.js", "mapping-diagram.js" }) @StyleSheet({ "mapping-diagram.css" }) @SuppressWarnings("serial") public class MappingDiagram extends AbstractJavaScriptComponent { ApplicationContext context;
From source file org.lucidj.aceeditor.AceEditor.java
@JavaScript({ "vaadin://~/aceeditor_libraries/ace-builds/src-noconflict/ace.js", "vaadin://~/aceeditor_libraries/ace-builds/src-noconflict/ext-language_tools.js", "aceeditor.js" }) @StyleSheet("vaadin://~/aceeditor_libraries/aceeditor.css") public class AceEditor extends AbstractJavaScriptComponent implements Component.Focusable { private final static Logger log = LoggerFactory.getLogger(AceEditor.class);
From source file org.lucidj.plotly_renderer.PlotlyRenderer.java
@JavaScript({ "vaadin://~/libraries_plotly_renderer/plotly-latest.min.js", "plotlyrenderer.js" }) @org.apache.felix.ipojo.annotations.Component(immediate = true) @Instantiate @Provides(specifications = Renderer.class) public class PlotlyRenderer extends AbstractJavaScriptComponent implements Renderer { private HashMap attrs = new HashMap();
From source file org.opencms.ui.components.codemirror.CmsCodeMirror.java
/** * Code mirror input component.<p> */ @JavaScript({ "codemirror-connector.js" }) public class CmsCodeMirror extends AbstractJavaScriptComponent implements Property<String>, Property.ValueChangeNotifier {
From source file org.opennms.features.topology.app.internal.ui.geographical.LocationComponent.java
@JavaScript({ "theme://leaflet/leaflet-src.js", "theme://js/location-component_connector.js" }) @StyleSheet("theme://leaflet/leaflet.css") public class LocationComponent extends AbstractJavaScriptComponent { public LocationComponent(LocationConfiguration configuration, String uniqueId) { Preconditions.checkArgument(!Strings.isNullOrEmpty(uniqueId), "The uniqueId must not be null or empty");
From source file org.opennms.features.topology.app.internal.ui.icons.IconSelectionComponent.java
@JavaScript({ "theme://js/d3.v3.4.13.js", "theme://js/icon-selection-component_connector.js" }) public class IconSelectionComponent extends AbstractJavaScriptComponent { public IconSelectionComponent(List<String> elementsToShow, String currentIconId) { getState().setElementsToShow(elementsToShow); getState().setColumnCount(5);
From source file org.opennms.features.vaadin.components.graph.GraphContainer.java
/**
* Graph container that allows pre-fabricated graphs to be
* rendered using different graphing engines.
*
* See js/graph.js for details.
*
From source file org.opennms.features.vaadin.components.graph.InlineGraphContainer.java
/**
* Graph container that allows graphs to be rendered using different graphing
* engines.
*
* See js/graph.js for details.
*
From source file org.thryft.waf.gui.components.flot.Flot.java
@SuppressWarnings("serial") @JavaScript({ "https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js", "jquery.flot.min.js", "jquery.flot.navigate.min.js", "jquery.flot.resize.min.js", "jquery.flot.time.min.js", "jquery.flot.tooltip.min.js", "flot_connector.js" }) public class Flot extends AbstractJavaScriptComponent { public Flot() {