package com.example.backend;
import java.time.LocalDateTime;
import java.util.Objects;ComboBox<Object> comboBox = new ComboBox<>();
comboBox.addClassName("red-combo-box");<dom-module id="custom-combo-box-styles" theme-for="vaadin-combo-box">
<template>
<style>
:host(.red-combo-box) [part="text-field"] {
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; |
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.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
| <!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
| <!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
| 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
| package com.example; | |
| import com.vaadin.ui.TreeGrid; | |
| import com.vaadin.ui.VerticalLayout; | |
| /** | |
| * @author Alejandro Duarte. | |
| */ | |
| public class TreeGridExample extends VerticalLayout { |