This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (function() { | |
| var apps = {}; | |
| var themesLoaded = {}; | |
| var widgetsets = {}; | |
| var log; | |
| if (typeof console === "undefined" || !window.location.search.match(/[&?]debug(&|$)/)) { | |
| //If no console.log present, just use a no-op | |
| log = function() {}; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package com.example; | |
| import com.vaadin.shared.ui.grid.DropMode; | |
| import com.vaadin.ui.Grid; | |
| import com.vaadin.ui.GridDragSource; | |
| import com.vaadin.ui.GridDropTarget; | |
| import com.vaadin.ui.VerticalLayout; | |
| import java.util.List; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package com.example; | |
| import com.vaadin.icons.VaadinIcons; | |
| import com.vaadin.ui.Button; | |
| import com.vaadin.ui.Grid; | |
| import com.vaadin.ui.VerticalLayout; | |
| import com.vaadin.ui.renderers.ComponentRenderer; | |
| import com.vaadin.ui.themes.ValoTheme; | |
| /** |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package com.example; | |
| import com.vaadin.ui.TreeGrid; | |
| import com.vaadin.ui.VerticalLayout; | |
| /** | |
| * @author Alejandro Duarte. | |
| */ | |
| public class TreeGridExample extends VerticalLayout { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package com.example; | |
| import com.vaadin.data.Binder; | |
| import com.vaadin.server.VaadinRequest; | |
| import com.vaadin.spring.annotation.SpringUI; | |
| import com.vaadin.ui.*; | |
| import org.springframework.beans.factory.annotation.Autowired; | |
| import java.util.List; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset="utf-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1"> | |
| <script src="./bower_components/webcomponentsjs/webcomponents-lite.js"></script> | |
| <link rel="import" href="./bower_components/vaadin-date-picker/vaadin-date-picker.html"> | |
| </head> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset="utf-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1" /> | |
| <script src="./bower_components/webcomponentsjs/webcomponents-lite.js"></script> | |
| <link rel="import" href="./bower_components/vaadin-date-picker/vaadin-date-picker.html" /> | |
| <custom-style> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package com.vaadin.starter.skeleton; | |
| import com.vaadin.flow.component.grid.Grid; | |
| import com.vaadin.flow.component.orderedlayout.VerticalLayout; | |
| import com.vaadin.flow.router.Route; | |
| import com.vaadin.flow.theme.Theme; | |
| import com.vaadin.flow.theme.lumo.Lumo; | |
| @Route("") | |
| @Theme(Lumo.class) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package com.vaadin.starter.skeleton; | |
| import com.vaadin.flow.component.Tag; | |
| import com.vaadin.flow.component.dependency.HtmlImport; | |
| import com.vaadin.flow.component.html.Div; | |
| @Tag("juicy-ace-editor") | |
| @HtmlImport("bower_components/juicy-ace-editor/juicy-ace-editor.html") | |
| public class JuicyAceEditor extends Div { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package com.vaadin.example; | |
| import com.vaadin.data.Binder; | |
| import com.vaadin.data.ValidationResult; | |
| import com.vaadin.server.VaadinRequest; | |
| import com.vaadin.shared.ui.ErrorLevel; | |
| import com.vaadin.ui.Notification; | |
| import com.vaadin.ui.TextField; | |
| import com.vaadin.ui.UI; |
OlderNewer