Skip navigation links
  • Overview
  • Package
  • Class
  • Use
  • Tree
  • Deprecated
  • Index
  • Help

Deprecated API

Contents

  • Terminally Deprecated
  • Interfaces
  • Classes
  • Enum Classes
  • Exceptions
  • Annotation Interfaces
  • Fields
  • Methods
  • Constructors
  • Enum Constants
  • Terminally Deprecated Elements
    Element
    Description
    com.vaadin.collaborationengine.AbstractCollaborationManager(UserInfo, String, CollaborationEngine)
    This constructor is not compatible with serialization
    com.vaadin.collaborationengine.CollaborationAvatarGroup.getImageProvider()
    Use CollaborationAvatarGroup.setImageHandler(ImageHandler) instead.
    com.vaadin.collaborationengine.CollaborationAvatarGroup.ImageProvider
    Use CollaborationAvatarGroup.setImageHandler(ImageHandler) instead.
    com.vaadin.collaborationengine.CollaborationAvatarGroup.setImageProvider(CollaborationAvatarGroup.ImageProvider)
    Use CollaborationAvatarGroup.setImageHandler(ImageHandler) instead.
    com.vaadin.collaborationengine.CollaborationEngine.requestAccess(ConnectionContext, UserInfo, Consumer<AccessResponse>)
    this method is deprecated and now the callback always receives a response that resolves to true
    com.vaadin.collaborationengine.CollaborationEngine.requestAccess(UserInfo, Consumer<AccessResponse>)
    this method is deprecated and now the callback always receives a response that resolves to true
    com.vaadin.collaborationengine.CollaborationEngineConfiguration(LicenseEventHandler)
    the provided handler won't receive any events, please prefer using the default constructor with no parameters
    com.vaadin.collaborationengine.CollaborationEngineConfiguration.getDataDir()
    the data-directory is not used since 6.3
    com.vaadin.collaborationengine.CollaborationEngineConfiguration.getLicenseEventHandler()
    the handler is not used since 6.3
    com.vaadin.collaborationengine.CollaborationEngineConfiguration.getLicenseStorage()
    license storage is not needed since 6.3
    com.vaadin.collaborationengine.CollaborationEngineConfiguration.setDataDir(String)
    the data-directory is not used since 6.3
    com.vaadin.collaborationengine.CollaborationEngineConfiguration.setLicenseStorage(LicenseStorage)
    license storage is not needed since 6.3
    com.vaadin.collaborationengine.CollaborationMessageList.getImageProvider()
    Use CollaborationMessageList.setImageHandler(ImageHandler) instead.
    com.vaadin.collaborationengine.CollaborationMessageList.setImageProvider(CollaborationAvatarGroup.ImageProvider)
    Use CollaborationMessageList.setImageHandler(ImageHandler) instead.
    com.vaadin.collaborationengine.FormManager(ConnectionContext, UserInfo, String, CollaborationEngine)
    This constructor is not compatible with serialization
    com.vaadin.collaborationengine.LicenseEvent
    license events will not be received by any listener
    com.vaadin.collaborationengine.LicenseEvent.LicenseEventType
    license events will not be received by any listener
    com.vaadin.collaborationengine.LicenseEventHandler
    any implementation of this interface won't receive any events, prefer using the default CollaborationEngineConfiguration constructor
    com.vaadin.collaborationengine.LicenseStorage
    license storage is not needed since 6.3
    com.vaadin.collaborationengine.MessageManager(ConnectionContext, UserInfo, String, CollaborationEngine)
    This constructor is not compatible with serialization
    com.vaadin.collaborationengine.MessageManager(ConnectionContext, UserInfo, String, CollaborationMessagePersister, CollaborationEngine)
    This constructor is not compatible with serialization
    com.vaadin.collaborationengine.PresenceManager(ConnectionContext, UserInfo, String, CollaborationEngine)
    This constructor is not compatible with serialization
    com.vaadin.collaborationengine.SystemConnectionContext(CollaborationEngine)
    This constructor is not compatible with serialization
    com.vaadin.flow.component.avatar.Avatar.setImageResource(AbstractStreamResource)
    Use Avatar.setImageHandler(DownloadHandler) instead
    com.vaadin.flow.component.avatar.AvatarGroup.AvatarGroupItem.setImageResource(AbstractStreamResource)
    Use AvatarGroup.AvatarGroupItem.setImageHandler(DownloadHandler) instead
    com.vaadin.flow.component.board.Board
    Board is deprecated and will be removed in Vaadin 26. Consider using Dashboard as an alternative.
    com.vaadin.flow.component.board.Row
    Board Row is deprecated and will be removed in Vaadin 26. Consider using Dashboard as an alternative.
    com.vaadin.flow.component.charts.model.Axis.setExtremes(Date, Date)
    Use Axis.setExtremes(Instant, Instant) instead.
    com.vaadin.flow.component.charts.model.Axis.setExtremes(Date, Date, boolean)
    Use Axis.setExtremes(Instant, Instant, boolean) instead.
    com.vaadin.flow.component.charts.model.Axis.setExtremes(Date, Date, boolean, boolean)
    Use Axis.setExtremes(Instant, Instant, boolean, boolean) instead.
    com.vaadin.flow.component.charts.model.Legend.getLineHeight()
     
    com.vaadin.flow.component.charts.model.Legend.setLineHeight(Number)
    Use Style#setLineHeight(String) instead.
    com.vaadin.flow.component.charts.model.PlotOptionsOrganization.getLinkColor()
    com.vaadin.flow.component.charts.model.PlotOptionsOrganization.getLinkLineWidth()
    com.vaadin.flow.component.charts.model.PlotOptionsOrganization.getLinkRadius()
    com.vaadin.flow.component.charts.model.PlotOptionsOrganization.setLinkColor(Color)
    use PlotOptionsOrganization.getLink().Link.setColor(Color) instead.
    com.vaadin.flow.component.charts.model.PlotOptionsOrganization.setLinkLineWidth(Number)
    use PlotOptionsOrganization.getLink().Link.setLineWidth(Number) instead.
    com.vaadin.flow.component.charts.model.PlotOptionsOrganization.setLinkRadius(Number)
    use PlotOptionsOrganization.getLink().Link.setRadius(Number) instead.
    com.vaadin.flow.component.charts.model.PlotOptionsTreemap.getAllowDrillToNode()
    Use PlotOptionsTreemap.setAllowTraversingTree(Boolean) instead.
    com.vaadin.flow.component.charts.model.PlotOptionsTreemap.setAllowDrillToNode(Boolean)
    Use PlotOptionsTreemap.setAllowTraversingTree(Boolean) instead.
    com.vaadin.flow.component.charts.model.Time.getTimezoneOffset()
    This property is deprecated and should not be used in new code. Use Time.setTimezone(String) instead.
    com.vaadin.flow.component.charts.model.Time.getUseUTC()
    This property is deprecated and should not be used in new code. Use Time.setTimezone(String) instead.
    com.vaadin.flow.component.charts.model.Time.setTimezoneOffset(Number)
    This property is deprecated and should not be used in new code. Use Time.setTimezone(String) instead.
    com.vaadin.flow.component.charts.model.Time.setUseUTC(Boolean)
    This property is deprecated and should not be used in new code. Use Time.setTimezone(String) instead.
    com.vaadin.flow.component.contextmenu.testbench.ContextMenuOverlayElement
    Use ContextMenuElement instead.
    com.vaadin.flow.component.contextmenu.testbench.ContextMenuOverlayElement.getMenuItem(String)
    Use ContextMenuElement.getMenuItem(String) instead.
    com.vaadin.flow.component.contextmenu.testbench.ContextMenuOverlayElement.getMenuItems()
    Use ContextMenuElement.getMenuItems() instead.
    com.vaadin.flow.component.crud.testbench.CrudElement.getEditor()
    Pre v25.0, this method returned either the editor overlay, when the editor was displayed as a dialog, or the Crud itself, when the editor was displayed inline. Since v25.0, the overlay is not accessible as a separate element anymore, and, regardless whether the editor is displayed as a dialog or inline, all editor-related controls can be queried through the Crud element itself. To specifically access the editor fields, use CrudElement.getForm() instead. To access the editor buttons, use CrudElement.getEditorSaveButton(), CrudElement.getEditorCancelButton(), and CrudElement.getEditorDeleteButton().
    com.vaadin.flow.component.dialog.Dialog.getOverlayRole()
    Use Dialog.getRole() instead
    com.vaadin.flow.component.dialog.Dialog.setOverlayRole(String)
    Use Dialog.setRole(String) instead
    com.vaadin.flow.component.grid.GridTester.getFooterCell(int)
    Use AbstractColumn.getFooterText() or AbstractColumn.getFooterComponent() directly
    com.vaadin.flow.component.html.Anchor(AbstractStreamResource, String)
    use Anchor(DownloadHandler, String) instead
    com.vaadin.flow.component.html.Anchor.setHref(AbstractStreamResource)
    use Anchor.setHref(DownloadHandler) instead
    com.vaadin.flow.component.html.HtmlObject(AbstractStreamResource)
    use HtmlObject(DownloadHandler) instead
    com.vaadin.flow.component.html.HtmlObject(AbstractStreamResource, Param...)
    use HtmlObject(DownloadHandler,Param...) instead
    com.vaadin.flow.component.html.HtmlObject(AbstractStreamResource, String)
    use HtmlObject(DownloadHandler,String) instead
    com.vaadin.flow.component.html.HtmlObject(AbstractStreamResource, String, Param...)
    use HtmlObject(DownloadHandler,String, Param...) instead
    com.vaadin.flow.component.html.HtmlObject.setData(AbstractStreamResource)
    use HtmlObject.setData(DownloadHandler) instead
    com.vaadin.flow.component.html.IFrame.setSrc(AbstractStreamResource)
    use IFrame.setSrc(DownloadHandler) instead
    com.vaadin.flow.component.html.Image(AbstractStreamResource, String)
    use Image(DownloadHandler, String) instead
    com.vaadin.flow.component.html.Image.setSrc(AbstractStreamResource)
    use Image.setSrc(DownloadHandler) instead
    com.vaadin.flow.component.icon.SvgIcon(AbstractStreamResource)
    Use SvgIcon(DownloadHandler) instead
    com.vaadin.flow.component.icon.SvgIcon(AbstractStreamResource, String)
    Use SvgIcon(DownloadHandler, String) instead
    com.vaadin.flow.component.icon.SvgIcon.setSrc(AbstractStreamResource)
    Use SvgIcon.setSrc(DownloadHandler) instead
    com.vaadin.flow.component.icon.SvgIcon.setSrc(AbstractStreamResource, String)
    Use SvgIcon.setSrc(DownloadHandler, String) instead
    com.vaadin.flow.component.map.Assets.Asset.getResource()
    com.vaadin.flow.component.map.MapVariant.BORDERLESS
    Use MapVariant.NO_BORDER instead.
    com.vaadin.flow.component.menubar.testbench.MenuBarButtonElement.getSubMenuItems()
    use MenuBarButtonElement.openSubMenu() or MenuBarButtonElement.getSubMenu() retrieve the submenu for this button, and then use MenuBarSubMenuElement.getMenuItems() to retrieve the items.
    com.vaadin.flow.component.menubar.testbench.MenuBarElement.getAllSubMenus()
    use MenuBarButtonElement.openSubMenu() or MenuBarItemElement.openSubMenu() to access submenus for specific buttons or items
    com.vaadin.flow.component.menubar.testbench.MenuBarElement.getSubMenu()
    use MenuBarButtonElement.openSubMenu() to open a submenu
    com.vaadin.flow.component.menubar.testbench.MenuBarElement.getSubMenuItems()
    use MenuBarButtonElement.openSubMenu() to open a submenu and then use MenuBarSubMenuElement.getMenuItems() to retrieve the items.
    com.vaadin.flow.component.menubar.testbench.MenuBarElement.getSubMenuItems(TestBenchElement)
    use MenuBarButtonElement.openSubMenu() or MenuBarItemElement.openSubMenu() to open a submenu and then use MenuBarSubMenuElement.getMenuItems() to retrieve the items.
    com.vaadin.flow.component.menubar.testbench.MenuBarItemElement.getSubMenuItems()
    use MenuBarItemElement.openSubMenu() or MenuBarItemElement.getSubMenu() retrieve the submenu for this item, and then use MenuBarSubMenuElement.getMenuItems() to retrieve the items.
    com.vaadin.flow.component.messages.MessageListItem.setUserImageResource(AbstractStreamResource)
    Use MessageListItem.setUserImageHandler(DownloadHandler) instead
    com.vaadin.flow.component.popover.Popover.getOverlayRole()
    Use Popover.getRole() instead
    com.vaadin.flow.component.popover.Popover.setOverlayRole(String)
    Use Popover.setRole(String) instead
    com.vaadin.flow.component.upload.Receiver
    Use UploadHandler instead
    com.vaadin.flow.component.upload.receivers.AbstractFileBuffer
    Use UploadHandler instead
    com.vaadin.flow.component.upload.receivers.FileBuffer
    Use UploadHandler instead
    com.vaadin.flow.component.upload.receivers.FileData
    com.vaadin.flow.component.upload.receivers.FileFactory
    Use FileFactory instead
    com.vaadin.flow.component.upload.receivers.MemoryBuffer
    Use UploadHandler instead
    com.vaadin.flow.component.upload.receivers.MultiFileBuffer
    Use UploadHandler instead
    com.vaadin.flow.component.upload.receivers.MultiFileMemoryBuffer
    Use UploadHandler instead
    com.vaadin.flow.component.upload.receivers.TempDirectory
    com.vaadin.flow.component.upload.receivers.TemporaryFileFactory
    com.vaadin.flow.component.upload.receivers.UploadOutputStream
    com.vaadin.flow.component.upload.Upload(Receiver)
    use Upload(UploadHandler) instead
    com.vaadin.flow.component.upload.Upload.addFailedListener(ComponentEventListener<FailedEvent>)
    use TransferProgressListener with UploadHandler implementing the TransferProgressAwareHandler interface.
    com.vaadin.flow.component.upload.Upload.addFinishedListener(ComponentEventListener<FinishedEvent>)
    use TransferProgressListener with UploadHandler implementing the TransferProgressAwareHandler interface.
    com.vaadin.flow.component.upload.Upload.addProgressListener(ComponentEventListener<ProgressUpdateEvent>)
    use TransferProgressListener with UploadHandler implementing the TransferProgressAwareHandler interface.
    com.vaadin.flow.component.upload.Upload.addStartedListener(ComponentEventListener<StartedEvent>)
    use TransferProgressListener with UploadHandler implementing the TransferProgressAwareHandler interface.
    com.vaadin.flow.component.upload.Upload.addSucceededListener(ComponentEventListener<SucceededEvent>)
    use TransferProgressListener with UploadHandler implementing the TransferProgressAwareHandler interface.
    com.vaadin.flow.component.upload.Upload.getReceiver()
    com.vaadin.flow.component.upload.Upload.setReceiver(Receiver)
    use Upload.setUploadHandler(UploadHandler) instead
    com.vaadin.flow.server.frontend.FrontendTools.getWebpackNodeEnvironment()
    Webpack is not used anymore, this method is obsolete and have no replacements.
    com.vaadin.flow.server.frontend.Options.isCleanNpmFiles()
    used internally only for testing, to be removed without a replacement.
    com.vaadin.flow.server.StreamReceiver
    use UploadHandler instead
    com.vaadin.flow.server.StreamResource
    use DownloadHandler instead
    com.vaadin.flow.server.StreamVariable
    use UploadHandler instead
    com.vaadin.flow.spring.security.RequestUtil.antMatchers(String...)
    AntPathRequestMatcher is deprecated and marked for removal. This method is deprecated without direct replacement; use PathPatternRequestMatcher instead.
    com.vaadin.flow.spring.security.RequestUtil.routeMatchers(String...)
    AntPathRequestMatcher is deprecated and marked for removal. This method is deprecated without direct replacement; use PathPatternRequestMatcher instead.
    com.vaadin.flow.spring.security.stateless.VaadinStatelessSecurityConfigurer.apply(HttpSecurity, Customizer<VaadinStatelessSecurityConfigurer<HttpSecurity>>)
    use http.with(new VaadinStatelessSecurityConfigurer(), customizer) instead.
    com.vaadin.flow.spring.security.VaadinWebSecurity
    Use VaadinSecurityConfigurer instead. It follows the Spring's SecurityConfigurer pattern and we recommend use it to configure Spring Security with Vaadin:
     @Configuration
     @EnableWebSecurity
     @Import(VaadinAwareSecurityContextHolderStrategyConfiguration.class)
     public class SecurityConfig {
         @Bean
         SecurityFilterChain securityFilterChain(HttpSecurity http) throws Exception {
             return http.with(VaadinSecurityConfigurer.vaadin(), configurer -> {}).build();
         }
     }
     
                 
    Read more details in Security Configurer documentation.
    com.vaadin.flow.spring.security.VaadinWebSecurity.antMatchers(String...)
    AntPathRequestMatcher is deprecated and will be removed, use VaadinWebSecurity.pathMatchers(String...) instead.
    com.vaadin.flow.spring.security.VaadinWebSecurity.routeMatchers(String...)
    AntPathRequestMatcher is deprecated and will be removed, use VaadinWebSecurity.routePathMatchers(String...) instead.
    com.vaadin.flow.theme.AbstractTheme.getBaseUrl()
    base url will not be translated to the theme url anymore
    com.vaadin.flow.theme.AbstractTheme.getThemeUrl()
    base url will not be translated to the theme url anymore
    com.vaadin.flow.theme.AbstractTheme.translateUrl(String)
    No translation of the url will be done in 25
    com.vaadin.hilla.EndpointInvocationException.EndpointAccessDeniedException
    use EndpointInvocationException.EndpointUnauthorizedException instead.
    com.vaadin.hilla.Nonnull
    use the standardized NonNull instead
    com.vaadin.hilla.Nullable
    use the standardized Nullable instead
    com.vaadin.testbench.ElementQuery.AttributeMatch(String, String, String)
    use AttributeMatch(String, Comparison, String)
    com.vaadin.testbench.unit.TesterWrappers.test(Chart)
    testers for commercial components have been moved to a separated class to avoid class loading issues when using only Vaadin free tier. Make the test class implement CommercialTestWrappers and use CommercialTestWrappers.test(Chart) instead.
  • Deprecated Interfaces
    Interface
    Description
    com.vaadin.collaborationengine.CollaborationAvatarGroup.ImageProvider
    Use CollaborationAvatarGroup.setImageHandler(ImageHandler) instead.
    com.vaadin.collaborationengine.LicenseEventHandler
    any implementation of this interface won't receive any events, prefer using the default CollaborationEngineConfiguration constructor
    com.vaadin.collaborationengine.LicenseStorage
    license storage is not needed since 6.3
    com.vaadin.flow.component.template.internal.DeprecatedPolymerPublishedEventHandler
    Polymer template support is deprecated - we recommend you to use LitTemplate instead. Read more details from the Vaadin blog.
    com.vaadin.flow.component.template.internal.DeprecatedPolymerTemplate
    Polymer template support is deprecated - we recommend you to use LitTemplate instead. Read more details from the Vaadin blog.
    com.vaadin.flow.component.upload.Receiver
    Use UploadHandler instead
    com.vaadin.flow.component.upload.receivers.FileFactory
    Use FileFactory instead
    com.vaadin.flow.server.StreamVariable
    use UploadHandler instead
  • Deprecated Classes
    Class
    Description
    com.vaadin.collaborationengine.LicenseEvent
    license events will not be received by any listener
    com.vaadin.flow.component.board.Board
    Board is deprecated and will be removed in Vaadin 26. Consider using Dashboard as an alternative.
    com.vaadin.flow.component.board.Row
    Board Row is deprecated and will be removed in Vaadin 26. Consider using Dashboard as an alternative.
    com.vaadin.flow.component.contextmenu.testbench.ContextMenuOverlayElement
    Use ContextMenuElement instead.
    com.vaadin.flow.component.upload.receivers.AbstractFileBuffer
    Use UploadHandler instead
    com.vaadin.flow.component.upload.receivers.FileBuffer
    Use UploadHandler instead
    com.vaadin.flow.component.upload.receivers.FileData
    com.vaadin.flow.component.upload.receivers.MemoryBuffer
    Use UploadHandler instead
    com.vaadin.flow.component.upload.receivers.MultiFileBuffer
    Use UploadHandler instead
    com.vaadin.flow.component.upload.receivers.MultiFileMemoryBuffer
    Use UploadHandler instead
    com.vaadin.flow.component.upload.receivers.TempDirectory
    com.vaadin.flow.component.upload.receivers.TemporaryFileFactory
    com.vaadin.flow.component.upload.receivers.UploadOutputStream
    com.vaadin.flow.internal.BrowserLiveReloadAccess
    Use BrowserLiveReloadAccessor instead
    com.vaadin.flow.internal.nodefeature.PolymerServerEventHandlers
    Polymer template support is deprecated - we recommend you to use LitTemplate instead. Read more details from the Vaadin blog.
    com.vaadin.flow.server.StreamReceiver
    use UploadHandler instead
    com.vaadin.flow.server.StreamResource
    use DownloadHandler instead
    com.vaadin.flow.spring.security.VaadinWebSecurity
    Use VaadinSecurityConfigurer instead. It follows the Spring's SecurityConfigurer pattern and we recommend use it to configure Spring Security with Vaadin:
     @Configuration
     @EnableWebSecurity
     @Import(VaadinAwareSecurityContextHolderStrategyConfiguration.class)
     public class SecurityConfig {
         @Bean
         SecurityFilterChain securityFilterChain(HttpSecurity http) throws Exception {
             return http.with(VaadinSecurityConfigurer.vaadin(), configurer -> {}).build();
         }
     }
     
                 
    Read more details in Security Configurer documentation.
  • Deprecated Enum Classes
    Enum Class
    Description
    com.vaadin.collaborationengine.LicenseEvent.LicenseEventType
    license events will not be received by any listener
  • Deprecated Exceptions
    Exceptions
    Description
    com.vaadin.hilla.EndpointInvocationException.EndpointAccessDeniedException
    use EndpointInvocationException.EndpointUnauthorizedException instead.
  • Deprecated Annotation Interfaces
    Annotation Interface
    Description
    com.vaadin.hilla.Nonnull
    use the standardized NonNull instead
    com.vaadin.hilla.Nullable
    use the standardized Nullable instead
  • Deprecated Fields
    Field
    Description
    com.vaadin.flow.server.frontend.NodeUpdater.DEP_NAME_FLOW_DEPS
    com.vaadin.flow.server.frontend.NodeUpdater.DEP_NAME_FLOW_JARS
  • Deprecated Methods
    Method
    Description
    com.vaadin.collaborationengine.CollaborationAvatarGroup.getImageProvider()
    Use CollaborationAvatarGroup.setImageHandler(ImageHandler) instead.
    com.vaadin.collaborationengine.CollaborationAvatarGroup.setImageProvider(CollaborationAvatarGroup.ImageProvider)
    Use CollaborationAvatarGroup.setImageHandler(ImageHandler) instead.
    com.vaadin.collaborationengine.CollaborationBinder.bind(HasValue<?, FIELDVALUE>, ValueProvider<BEAN, FIELDVALUE>, Setter<BEAN, FIELDVALUE>)
    The method does not work with the collaboration binder. Use CollaborationBinder.bind(HasValue, String) instead.
    com.vaadin.collaborationengine.CollaborationBinder.getBean()
    This operation, along with CollaborationBinder.setBean(Object), is not supported by the collaboration binder. Instead of CollaborationBinder.setBean(Object), you can provide the bean for populating the fields using CollaborationBinder.setTopic(java.lang.String, com.vaadin.flow.function.SerializableSupplier<BEAN>), and write the values back to the bean using Binder.writeBean(BEAN).
    com.vaadin.collaborationengine.CollaborationBinder.readBean(BEAN)
    This operation is not supported by the collaboration binder. You can instead provide the bean for populating the fields using CollaborationBinder.setTopic(java.lang.String, com.vaadin.flow.function.SerializableSupplier<BEAN>) to avoid overriding currently edited values. If you explicitly want to reset the field values for every user currently editing the fields, you can use CollaborationBinder.reset(BEAN).
    com.vaadin.collaborationengine.CollaborationBinder.setBean(BEAN)
    This operation is not supported by the collaboration binder. You can instead provide the bean for populating the fields using CollaborationBinder.setTopic(java.lang.String, com.vaadin.flow.function.SerializableSupplier<BEAN>), and write the values back to the bean using Binder.writeBean(BEAN).
    com.vaadin.collaborationengine.CollaborationEngine.requestAccess(ConnectionContext, UserInfo, Consumer<AccessResponse>)
    this method is deprecated and now the callback always receives a response that resolves to true
    com.vaadin.collaborationengine.CollaborationEngine.requestAccess(UserInfo, Consumer<AccessResponse>)
    this method is deprecated and now the callback always receives a response that resolves to true
    com.vaadin.collaborationengine.CollaborationEngineConfiguration.getDataDir()
    the data-directory is not used since 6.3
    com.vaadin.collaborationengine.CollaborationEngineConfiguration.getLicenseEventHandler()
    the handler is not used since 6.3
    com.vaadin.collaborationengine.CollaborationEngineConfiguration.getLicenseStorage()
    license storage is not needed since 6.3
    com.vaadin.collaborationengine.CollaborationEngineConfiguration.setDataDir(String)
    the data-directory is not used since 6.3
    com.vaadin.collaborationengine.CollaborationEngineConfiguration.setLicenseStorage(LicenseStorage)
    license storage is not needed since 6.3
    com.vaadin.collaborationengine.CollaborationMessageList.getImageProvider()
    Use CollaborationMessageList.setImageHandler(ImageHandler) instead.
    com.vaadin.collaborationengine.CollaborationMessageList.setImageProvider(CollaborationAvatarGroup.ImageProvider)
    Use CollaborationMessageList.setImageHandler(ImageHandler) instead.
    com.vaadin.flow.component.avatar.Avatar.setImageResource(AbstractStreamResource)
    Use Avatar.setImageHandler(DownloadHandler) instead
    com.vaadin.flow.component.avatar.AvatarGroup.AvatarGroupItem.setImageResource(AbstractStreamResource)
    Use AvatarGroup.AvatarGroupItem.setImageHandler(DownloadHandler) instead
    com.vaadin.flow.component.charts.model.Axis.setExtremes(Date, Date)
    Use Axis.setExtremes(Instant, Instant) instead.
    com.vaadin.flow.component.charts.model.Axis.setExtremes(Date, Date, boolean)
    Use Axis.setExtremes(Instant, Instant, boolean) instead.
    com.vaadin.flow.component.charts.model.Axis.setExtremes(Date, Date, boolean, boolean)
    Use Axis.setExtremes(Instant, Instant, boolean, boolean) instead.
    com.vaadin.flow.component.charts.model.ChartModel.getZoomType()
    Use ChartModel.getZooming() instead. The zooming configuration provides more comprehensive zoom options including mouse wheel support.
    com.vaadin.flow.component.charts.model.ChartModel.setZoomType(Dimension)
    Use ChartModel.setZooming(Zooming) instead. The zooming configuration provides more comprehensive zoom options including mouse wheel support.
    com.vaadin.flow.component.charts.model.Legend.getLineHeight()
     
    com.vaadin.flow.component.charts.model.Legend.setLineHeight(Number)
    Use Style#setLineHeight(String) instead.
    com.vaadin.flow.component.charts.model.PlotOptionsOrganization.getLinkColor()
    com.vaadin.flow.component.charts.model.PlotOptionsOrganization.getLinkLineWidth()
    com.vaadin.flow.component.charts.model.PlotOptionsOrganization.getLinkRadius()
    com.vaadin.flow.component.charts.model.PlotOptionsOrganization.setLinkColor(Color)
    use PlotOptionsOrganization.getLink().Link.setColor(Color) instead.
    com.vaadin.flow.component.charts.model.PlotOptionsOrganization.setLinkLineWidth(Number)
    use PlotOptionsOrganization.getLink().Link.setLineWidth(Number) instead.
    com.vaadin.flow.component.charts.model.PlotOptionsOrganization.setLinkRadius(Number)
    use PlotOptionsOrganization.getLink().Link.setRadius(Number) instead.
    com.vaadin.flow.component.charts.model.PlotOptionsTreemap.getAllowDrillToNode()
    Use PlotOptionsTreemap.setAllowTraversingTree(Boolean) instead.
    com.vaadin.flow.component.charts.model.PlotOptionsTreemap.setAllowDrillToNode(Boolean)
    Use PlotOptionsTreemap.setAllowTraversingTree(Boolean) instead.
    com.vaadin.flow.component.charts.model.Time.getTimezoneOffset()
    This property is deprecated and should not be used in new code. Use Time.setTimezone(String) instead.
    com.vaadin.flow.component.charts.model.Time.getUseUTC()
    This property is deprecated and should not be used in new code. Use Time.setTimezone(String) instead.
    com.vaadin.flow.component.charts.model.Time.setTimezoneOffset(Number)
    This property is deprecated and should not be used in new code. Use Time.setTimezone(String) instead.
    com.vaadin.flow.component.charts.model.Time.setUseUTC(Boolean)
    This property is deprecated and should not be used in new code. Use Time.setTimezone(String) instead.
    com.vaadin.flow.component.combobox.ComboBoxBase.setItems(InMemoryDataProvider<TItem>)
    does not work so don't use
    com.vaadin.flow.component.Component.getTranslation(Object, Locale, Object...)
    Use Component.getTranslation(Locale, String, Object...) instead
    com.vaadin.flow.component.Component.getTranslation(String, Locale, Object...)
    Use Component.getTranslation(Locale, String, Object...) instead
    com.vaadin.flow.component.contextmenu.testbench.ContextMenuOverlayElement.getMenuItem(String)
    Use ContextMenuElement.getMenuItem(String) instead.
    com.vaadin.flow.component.contextmenu.testbench.ContextMenuOverlayElement.getMenuItems()
    Use ContextMenuElement.getMenuItems() instead.
    com.vaadin.flow.component.crud.BinderCrudEditor.getView()
    This method should not be used outside.
    com.vaadin.flow.component.crud.testbench.CrudElement.getEditor()
    Pre v25.0, this method returned either the editor overlay, when the editor was displayed as a dialog, or the Crud itself, when the editor was displayed inline. Since v25.0, the overlay is not accessible as a separate element anymore, and, regardless whether the editor is displayed as a dialog or inline, all editor-related controls can be queried through the Crud element itself. To specifically access the editor fields, use CrudElement.getForm() instead. To access the editor buttons, use CrudElement.getEditorSaveButton(), CrudElement.getEditorCancelButton(), and CrudElement.getEditorDeleteButton().
    com.vaadin.flow.component.datepicker.DatePicker.isInputValuePresent()
    Since v24.8
    com.vaadin.flow.component.dialog.Dialog.getOverlayRole()
    Use Dialog.getRole() instead
    com.vaadin.flow.component.dialog.Dialog.setOverlayRole(String)
    Use Dialog.setRole(String) instead
    com.vaadin.flow.component.grid.Grid.Column.setClassNameGenerator(SerializableFunction<T, String>)
    Grid.Column.setPartNameGenerator(com.vaadin.flow.function.SerializableFunction<T, java.lang.String>) should be used instead.
    com.vaadin.flow.component.grid.Grid.createColumn(Renderer<T>, String)
    This method should not be used outside. Grid.getDefaultColumnFactory() should be used instead.
    com.vaadin.flow.component.grid.Grid.setClassNameGenerator(SerializableFunction<T, String>)
    Grid.setPartNameGenerator(com.vaadin.flow.function.SerializableFunction<T, java.lang.String>) should be used instead.
    com.vaadin.flow.component.grid.GridTester.getFooterCell(int)
    Use AbstractColumn.getFooterText() or AbstractColumn.getFooterComponent() directly
    com.vaadin.flow.component.grid.GridTester.getHeaderCell(int)
    Use AbstractColumn.getHeaderText() or AbstractColumn.getHeaderComponent()
    com.vaadin.flow.component.html.Anchor.setHref(AbstractStreamResource)
    use Anchor.setHref(DownloadHandler) instead
    com.vaadin.flow.component.html.HtmlObject.setData(AbstractStreamResource)
    use HtmlObject.setData(DownloadHandler) instead
    com.vaadin.flow.component.html.IFrame.setSrc(AbstractStreamResource)
    use IFrame.setSrc(DownloadHandler) instead
    com.vaadin.flow.component.html.Image.setSrc(AbstractStreamResource)
    use Image.setSrc(DownloadHandler) instead
    com.vaadin.flow.component.icon.SvgIcon.setSrc(AbstractStreamResource)
    Use SvgIcon.setSrc(DownloadHandler) instead
    com.vaadin.flow.component.icon.SvgIcon.setSrc(AbstractStreamResource, String)
    Use SvgIcon.setSrc(DownloadHandler, String) instead
    com.vaadin.flow.component.map.Assets.Asset.getResource()
    com.vaadin.flow.component.map.configuration.style.Icon.getImg()
    use Icon.getImg() instead
    com.vaadin.flow.component.map.configuration.style.Icon.Options.setImg(StreamResource)
    use Icon.Options.setImg(DownloadHandler) instead
    com.vaadin.flow.component.menubar.testbench.MenuBarButtonElement.getSubMenuItems()
    use MenuBarButtonElement.openSubMenu() or MenuBarButtonElement.getSubMenu() retrieve the submenu for this button, and then use MenuBarSubMenuElement.getMenuItems() to retrieve the items.
    com.vaadin.flow.component.menubar.testbench.MenuBarElement.getAllSubMenus()
    use MenuBarButtonElement.openSubMenu() or MenuBarItemElement.openSubMenu() to access submenus for specific buttons or items
    com.vaadin.flow.component.menubar.testbench.MenuBarElement.getSubMenu()
    use MenuBarButtonElement.openSubMenu() to open a submenu
    com.vaadin.flow.component.menubar.testbench.MenuBarElement.getSubMenuItems()
    use MenuBarButtonElement.openSubMenu() to open a submenu and then use MenuBarSubMenuElement.getMenuItems() to retrieve the items.
    com.vaadin.flow.component.menubar.testbench.MenuBarElement.getSubMenuItems(TestBenchElement)
    use MenuBarButtonElement.openSubMenu() or MenuBarItemElement.openSubMenu() to open a submenu and then use MenuBarSubMenuElement.getMenuItems() to retrieve the items.
    com.vaadin.flow.component.menubar.testbench.MenuBarItemElement.getSubMenuItems()
    use MenuBarItemElement.openSubMenu() or MenuBarItemElement.getSubMenu() retrieve the submenu for this item, and then use MenuBarSubMenuElement.getMenuItems() to retrieve the items.
    com.vaadin.flow.component.messages.MessageListItem.setUserImageResource(AbstractStreamResource)
    Use MessageListItem.setUserImageHandler(DownloadHandler) instead
    com.vaadin.flow.component.popover.Popover.getOverlayRole()
    Use Popover.getRole() instead
    com.vaadin.flow.component.popover.Popover.setOverlayRole(String)
    Use Popover.setRole(String) instead
    com.vaadin.flow.component.richtexteditor.RichTextEditor.getHtmlValue()
    since v24 the RichTextEditor uses the HTML value by default. Use RichTextEditor.getValue() instead.
    com.vaadin.flow.component.shared.ValidationUtil.checkGreaterThanMax(V, V)
    since 24.5, use ValidationUtil.validateMaxConstraint(String, Comparable, Comparable) instead.
    com.vaadin.flow.component.shared.ValidationUtil.checkRequired(boolean, V, V)
    since 24.5, use ValidationUtil.validateRequiredConstraint(String, boolean, Object, Object) instead.
    com.vaadin.flow.component.shared.ValidationUtil.checkSmallerThanMin(V, V)
    since 24.5, use ValidationUtil.validateMinConstraint(String, Comparable, Comparable) instead.
    com.vaadin.flow.component.tabs.Tabs.add(Component...)
    since 24.0, use Tabs.add(Tab...) instead.
    com.vaadin.flow.component.tabs.Tabs.addComponentAsFirst(Component)
    since 24.0, use Tabs.addTabAsFirst(Tab) instead.
    com.vaadin.flow.component.tabs.Tabs.addComponentAtIndex(int, Component)
    since 24.0, use Tabs.addTabAtIndex(int, Tab) instead.
    com.vaadin.flow.component.tabs.Tabs.getComponentAt(int)
    since 24.0, use Tabs.getTabAt(int) instead.
    com.vaadin.flow.component.tabs.Tabs.getComponentCount()
    since 24.5, use Tabs.getTabCount() instead.
    com.vaadin.flow.component.tabs.Tabs.indexOf(Component)
    since 24.0, use Tabs.indexOf(Tab) instead.
    com.vaadin.flow.component.tabs.Tabs.remove(Component...)
    since 24.0, use Tabs.remove(Tab...) instead.
    com.vaadin.flow.component.tabs.Tabs.replace(Component, Component)
    since 24.0, use Tabs.replace(Tab, Tab) instead.
    com.vaadin.flow.component.timepicker.TimePicker.isInputValuePresent()
    Since v24.8
    com.vaadin.flow.component.treegrid.TreeGrid.getGenericDataView()
    not supported
    com.vaadin.flow.component.treegrid.TreeGrid.getLazyDataView()
    not supported
    com.vaadin.flow.component.treegrid.TreeGrid.getListDataView()
    not supported
    com.vaadin.flow.component.treegrid.TreeGrid.scrollToItem(T)
     
    com.vaadin.flow.component.treegrid.TreeGrid.setDataProvider(DataProvider<T, ?>)
    use TreeGrid.setDataProvider(HierarchicalDataProvider), HasHierarchicalDataProvider.setItems(Collection, ValueProvider), HasHierarchicalDataProvider.setItems(Stream, ValueProvider) or HasHierarchicalDataProvider.setTreeData(TreeData) instead.
    com.vaadin.flow.component.treegrid.TreeGrid.setItems(BackEndDataProvider<T, Void>)
    use TreeGrid.setDataProvider(HierarchicalDataProvider), HasHierarchicalDataProvider.setItems(Collection, ValueProvider), HasHierarchicalDataProvider.setItems(Stream, ValueProvider) or HasHierarchicalDataProvider.setTreeData(TreeData) instead.
    com.vaadin.flow.component.treegrid.TreeGrid.setItems(CallbackDataProvider.FetchCallback<T, Void>)
    use TreeGrid.setDataProvider(HierarchicalDataProvider), HasHierarchicalDataProvider.setItems(Collection, ValueProvider), HasHierarchicalDataProvider.setItems(Stream, ValueProvider) or HasHierarchicalDataProvider.setTreeData(TreeData) instead.
    com.vaadin.flow.component.treegrid.TreeGrid.setItems(ListDataProvider<T>)
    use TreeGrid.setDataProvider(HierarchicalDataProvider), HasHierarchicalDataProvider.setItems(Collection, ValueProvider), HasHierarchicalDataProvider.setItems(Stream, ValueProvider) or HasHierarchicalDataProvider.setTreeData(TreeData) instead.
    com.vaadin.flow.component.treegrid.TreeGrid.setItems(Collection<T>)
    use TreeGrid.setDataProvider(HierarchicalDataProvider), HasHierarchicalDataProvider.setItems(Collection, ValueProvider), HasHierarchicalDataProvider.setItems(Stream, ValueProvider) or HasHierarchicalDataProvider.setTreeData(TreeData) instead.
    com.vaadin.flow.component.treegrid.TreeGrid.setItems(T...)
    use TreeGrid.setDataProvider(HierarchicalDataProvider), HasHierarchicalDataProvider.setItems(Collection, ValueProvider), HasHierarchicalDataProvider.setItems(Stream, ValueProvider) or HasHierarchicalDataProvider.setTreeData(TreeData) instead.
    com.vaadin.flow.component.upload.Upload.addFailedListener(ComponentEventListener<FailedEvent>)
    use TransferProgressListener with UploadHandler implementing the TransferProgressAwareHandler interface.
    com.vaadin.flow.component.upload.Upload.addFinishedListener(ComponentEventListener<FinishedEvent>)
    use TransferProgressListener with UploadHandler implementing the TransferProgressAwareHandler interface.
    com.vaadin.flow.component.upload.Upload.addProgressListener(ComponentEventListener<ProgressUpdateEvent>)
    use TransferProgressListener with UploadHandler implementing the TransferProgressAwareHandler interface.
    com.vaadin.flow.component.upload.Upload.addStartedListener(ComponentEventListener<StartedEvent>)
    use TransferProgressListener with UploadHandler implementing the TransferProgressAwareHandler interface.
    com.vaadin.flow.component.upload.Upload.addSucceededListener(ComponentEventListener<SucceededEvent>)
    use TransferProgressListener with UploadHandler implementing the TransferProgressAwareHandler interface.
    com.vaadin.flow.component.upload.Upload.fireUpdateProgress(long, long)
    since 24.4. Use Upload.fireUpdateProgress(long, long, String)
    com.vaadin.flow.component.upload.Upload.getReceiver()
    com.vaadin.flow.component.upload.Upload.setReceiver(Receiver)
    use Upload.setUploadHandler(UploadHandler) instead
    com.vaadin.flow.data.provider.DataCommunicator.computeRequestedRange(int, int)
    since 24.9 and will be removed in Vaadin 26. Use DataCommunicator.computeViewportRange(int, int) instead.
    com.vaadin.flow.data.provider.DataCommunicator.setRequestedRange(int, int)
    since 24.9 and will be removed in Vaadin 26. Use DataCommunicator.setViewportRange(int, int) instead.
    com.vaadin.flow.server.frontend.FrontendTools.getWebpackNodeEnvironment()
    Webpack is not used anymore, this method is obsolete and have no replacements.
    com.vaadin.flow.server.frontend.Options.isCleanNpmFiles()
    used internally only for testing, to be removed without a replacement.
    com.vaadin.flow.spring.security.RequestUtil.antMatchers(String...)
    AntPathRequestMatcher is deprecated and marked for removal. This method is deprecated without direct replacement; use PathPatternRequestMatcher instead.
    com.vaadin.flow.spring.security.RequestUtil.routeMatchers(String...)
    AntPathRequestMatcher is deprecated and marked for removal. This method is deprecated without direct replacement; use PathPatternRequestMatcher instead.
    com.vaadin.flow.spring.security.stateless.VaadinStatelessSecurityConfigurer.apply(HttpSecurity, Customizer<VaadinStatelessSecurityConfigurer<HttpSecurity>>)
    use http.with(new VaadinStatelessSecurityConfigurer(), customizer) instead.
    com.vaadin.flow.spring.security.VaadinWebSecurity.antMatchers(String...)
    AntPathRequestMatcher is deprecated and will be removed, use VaadinWebSecurity.pathMatchers(String...) instead.
    com.vaadin.flow.spring.security.VaadinWebSecurity.routeMatchers(String...)
    AntPathRequestMatcher is deprecated and will be removed, use VaadinWebSecurity.routePathMatchers(String...) instead.
    com.vaadin.flow.theme.AbstractTheme.getBaseUrl()
    base url will not be translated to the theme url anymore
    com.vaadin.flow.theme.AbstractTheme.getThemeUrl()
    base url will not be translated to the theme url anymore
    com.vaadin.flow.theme.AbstractTheme.translateUrl(String)
    No translation of the url will be done in 25
    com.vaadin.testbench.ElementQuery.attribute(String, String)
    use ElementQuery.withAttribute(String, String)
    com.vaadin.testbench.ElementQuery.attributeContains(String, String)
    use ElementQuery.withAttributeContainingWord(String, String)
    com.vaadin.testbench.ElementQuery.hasAttribute(String)
    use ElementQuery.withAttribute(String)
    com.vaadin.testbench.TestBenchElement.getShadowRoot()
    This method is deprecated. Use $ instead to find elements in the shadow root.
    com.vaadin.testbench.unit.TesterWrappers.test(Chart)
    testers for commercial components have been moved to a separated class to avoid class loading issues when using only Vaadin free tier. Make the test class implement CommercialTestWrappers and use CommercialTestWrappers.test(Chart) instead.
  • Deprecated Constructors
    Constructor
    Description
    com.vaadin.collaborationengine.AbstractCollaborationManager(UserInfo, String, CollaborationEngine)
    This constructor is not compatible with serialization
    com.vaadin.collaborationengine.CollaborationEngineConfiguration(LicenseEventHandler)
    the provided handler won't receive any events, please prefer using the default constructor with no parameters
    com.vaadin.collaborationengine.FormManager(ConnectionContext, UserInfo, String, CollaborationEngine)
    This constructor is not compatible with serialization
    com.vaadin.collaborationengine.MessageManager(ConnectionContext, UserInfo, String, CollaborationEngine)
    This constructor is not compatible with serialization
    com.vaadin.collaborationengine.MessageManager(ConnectionContext, UserInfo, String, CollaborationMessagePersister, CollaborationEngine)
    This constructor is not compatible with serialization
    com.vaadin.collaborationengine.PresenceManager(ConnectionContext, UserInfo, String, CollaborationEngine)
    This constructor is not compatible with serialization
    com.vaadin.collaborationengine.SystemConnectionContext(CollaborationEngine)
    This constructor is not compatible with serialization
    com.vaadin.flow.component.html.Anchor(AbstractStreamResource, String)
    use Anchor(DownloadHandler, String) instead
    com.vaadin.flow.component.html.HtmlObject(AbstractStreamResource)
    use HtmlObject(DownloadHandler) instead
    com.vaadin.flow.component.html.HtmlObject(AbstractStreamResource, Param...)
    use HtmlObject(DownloadHandler,Param...) instead
    com.vaadin.flow.component.html.HtmlObject(AbstractStreamResource, String)
    use HtmlObject(DownloadHandler,String) instead
    com.vaadin.flow.component.html.HtmlObject(AbstractStreamResource, String, Param...)
    use HtmlObject(DownloadHandler,String, Param...) instead
    com.vaadin.flow.component.html.Image(AbstractStreamResource, String)
    use Image(DownloadHandler, String) instead
    com.vaadin.flow.component.icon.SvgIcon(AbstractStreamResource)
    Use SvgIcon(DownloadHandler) instead
    com.vaadin.flow.component.icon.SvgIcon(AbstractStreamResource, String)
    Use SvgIcon(DownloadHandler, String) instead
    com.vaadin.flow.component.upload.FileRejectedEvent(Upload, String)
    since 24.4. Use FileRejectedEvent(Upload, String, String)
    com.vaadin.flow.component.upload.ProgressUpdateEvent(Upload, long, long)
    since 24.4. Use ProgressUpdateEvent(Upload, long, long, String)
    com.vaadin.flow.component.upload.Upload(Receiver)
    use Upload(UploadHandler) instead
    com.vaadin.flow.server.frontend.FrontendTools(String, Supplier<String>, String, URI, boolean, boolean, boolean)
    use FrontendTools(FrontendToolsSettings) instead, as it simplifies configuring the frontend tools and gives the default values to configuration parameters.
    com.vaadin.testbench.ElementQuery.AttributeMatch(String, String, String)
    use AttributeMatch(String, Comparison, String)
  • Deprecated Enum Constants
    Enum Constant
    Description
    com.vaadin.flow.component.map.MapVariant.BORDERLESS
    Use MapVariant.NO_BORDER instead.

Copyright © 2025. All rights reserved.