Deprecated API
Contents
- Terminally Deprecated
- Interfaces
- Classes
- Annotation Interfaces
- Methods
- Annotation Interface Elements
-
Terminally Deprecated ElementsElementDescriptionUse
Element.scrollIntoView(ScrollIntoViewOption...)withScrollIntoViewOption.Behavior,ScrollIntoViewOption.Block, andScrollIntoViewOption.Inlineoptions insteadUseElement.scrollIntoView(ScrollIntoViewOption...)insteaduseFileRouterRequestUtil.isAnonymousRoute(HttpServletRequest)to match requests to anonymous routesuseUploadHandlerinsteaduseDownloadHandlerinsteaduseUploadHandlerinsteadbase url will not be translated to the theme url anymorebase url will not be translated to the theme url anymoreNo translation of the url will be done in 25UseColorSchemeannotation instead
-
Deprecated InterfacesInterfaceDescriptionPolymer template support is deprecated - we recommend you to use
LitTemplateinstead. Read more details from the Vaadin blog.Polymer template support is deprecated - we recommend you to useLitTemplateinstead. Read more details from the Vaadin blog.useUploadHandlerinstead
-
Deprecated ClassesClassDescriptionUse
Element.scrollIntoView(ScrollIntoViewOption...)withScrollIntoViewOption.Behavior,ScrollIntoViewOption.Block, andScrollIntoViewOption.Inlineoptions insteadUseBrowserLiveReloadAccessorinsteadPolymer template support is deprecated - we recommend you to useLitTemplateinstead. Read more details from the Vaadin blog.useUploadHandlerinsteaduseDownloadHandlerinsteadFor browser information users should parse the user-agent using a parsing library like ua-parser/uap-java
-
Deprecated Annotation InterfacesAnnotation InterfaceDescriptionAs of Vaadin 25, this annotation is deprecated. The theming system has been reworked to use
StyleSheetto load one or more stylesheets from public static resources locations orCssImportto load one or more stylesheets from asrc/main/frontend/folder and use mechanisms native to HTML, CSS and React (e.g.@import url("morestyles.css")in CSS).
-
Deprecated MethodsMethodDescriptionComponent styling can be done entirely with normal "light DOM" CSS.Use
Page.executeJs(String, Object...)instead. This method exists only for binary compatibility.UsePage.getExtendedClientDetails()to get the cached details, orExtendedClientDetails.refresh(SerializableConsumer)to refresh the cached values.UseElement.callJsFunction(String, Object...)instead. This method exists only for binary compatibility.UseElement.executeJs(String, Object...)instead. This method exists only for binary compatibility.UseElement.scrollIntoView(ScrollIntoViewOption...)insteaduseFileRouterRequestUtil.isAnonymousRoute(HttpServletRequest)to match requests to anonymous routesuseWebBrowser.getUserAgent()method to get user-agent stringuse a parsing library like ua-parser/uap-java to parse the user agent fromWebBrowser.getUserAgent()use a parsing library like ua-parser/uap-java to parse the user agent fromWebBrowser.getUserAgent()use a parsing library like ua-parser/uap-java to parse the user agent fromWebBrowser.getUserAgent()use a parsing library like ua-parser/uap-java to parse the user agent fromWebBrowser.getUserAgent()use a parsing library like ua-parser/uap-java to parse the user agent fromWebBrowser.getUserAgent()use a parsing library like ua-parser/uap-java to parse the user agent fromWebBrowser.getUserAgent()use a parsing library like ua-parser/uap-java to parse the user agent fromWebBrowser.getUserAgent()use a parsing library like ua-parser/uap-java to parse the user agent fromWebBrowser.getUserAgent()use a parsing library like ua-parser/uap-java to parse the user agent fromWebBrowser.getUserAgent()use a parsing library like ua-parser/uap-java to parse the user agent fromWebBrowser.getUserAgent()use a parsing library like ua-parser/uap-java to parse the user agent fromWebBrowser.getUserAgent()use a parsing library like ua-parser/uap-java to parse the user agent fromWebBrowser.getUserAgent()use a parsing library like ua-parser/uap-java to parse the user agent fromWebBrowser.getUserAgent()use a parsing library like ua-parser/uap-java to parse the user agent fromWebBrowser.getUserAgent()base url will not be translated to the theme url anymorebase url will not be translated to the theme url anymoreNo translation of the url will be done in 25UseColorSchemeannotation instead
-
Deprecated Annotation Interface ElementsAnnotation Interface ElementDescriptionComponent styling can be done entirely with normal "light DOM" CSS.Use
ColorSchemeannotation instead