| Annotation Type | Description |
|---|---|
| AutoGenerated |
Marker annotation for automatically generated code elements.
|
| DesignRoot |
Marks the component as the root of a design (html) file.
|
| JavaScript |
If this annotation is present on a
ClientConnector class, the
framework ensures the referenced JavaScript files are loaded before the init
method for the corresponding client-side connector is invoked. |
| PreserveOnRefresh |
Marks a UI that should be retained when the user refreshed the browser
window.
|
| Push |
Configures server push for a
UI. |
| StyleSheet |
If this annotation is present on a
ClientConnector class, the
framework ensures the referenced style sheets are loaded before the init
method for the corresponding client-side connector is invoked. |
| Theme |
Defines a specific theme for a
UI. |
| Title |
Defines the HTML page title for a
UI. |
| VaadinServletConfiguration |
Annotation for configuring subclasses of
VaadinServlet. |
| VaadinServletConfiguration.InitParameterName |
Defines the init parameter name for methods in
VaadinServletConfiguration. |
| Viewport |
Defines a viewport tag that will be added to the HTML of the host page of a
UI class.
|
| ViewportGeneratorClass |
Defines a viewport tag generator class that will be used for generating the
content of a viewport tag that will be added to the HTML of the host page of
a UI class.
|
| Widgetset |
Defines a specific widgetset for a
UI. |
Contains annotations used in Vaadin. Note that some annotations
are also found in other packages e.g., com.vaadin.ui.ClientWidget.
Copyright © 2023 Vaadin Ltd. All rights reserved.