Deprecated API
Contents
-
Terminally Deprecated ElementsElementDescriptionThis constructor is not compatible with serializationthis 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 totrue
the provided handler won't receive any events, please prefer using the default constructor with no parametersthe data-directory is not used since 6.3the handler is not used since 6.3license storage is not needed since 6.3the data-directory is not used since 6.3license storage is not needed since 6.3com.vaadin.collaborationengine.FormManager(ConnectionContext, UserInfo, String, CollaborationEngine) This constructor is not compatible with serializationlicense events will not be received by any listenerlicense events will not be received by any listenerany implementation of this interface won't receive any events, prefer using the defaultCollaborationEngineConfiguration
constructorlicense storage is not needed since 6.3This constructor is not compatible with serializationThis constructor is not compatible with serializationThis constructor is not compatible with serializationThis constructor is not compatible with serializationUsage of Element API at Component level should be avoidedUsage of Element API at Component level should be avoidedUsage of Element API at Component level should be avoidedUsage of Element API at Component level should be avoidedUsage of Element API at Component level should be avoidedUseAbstractColumn.getFooterText()
orAbstractColumn.getFooterComponent()
directlyUseNativeLabel
instead, if you need the HTML<label>
element, which is normally not needed within a Vaadin Flow application's high-level components. To use a Label that works in the older style of Vaadin 8 or Java Swing, and can be used both to label a component and to display loose text, an alternative is the Label available in Classic Components. ThisLabel
component /<label>
element is not meant for loose text in the page - it should only be coupled with another component by using theLabel.setFor(Component)
or by adding them to it with theHasComponents.add(Component...)
method, for example if you useInput
.UseNativeLabelElement
instead.Provider is deprecated, useFrontendUtils.getClientRoutes()
instead.UseMenuData(String, Double, boolean, String, Class)
instead.for annotation based view security useNavigationAccessControl
withAnnotatedViewAccessChecker
.to be removed, useOptions.withBuildResultFolders(File, File)
instead.to be removed. There is no direct replacement for this method. Shared object setup must be done along with other required configurations by callingVaadinStatelessSecurityConfigurer.apply(HttpSecurity, Customizer)
.ViewAccessChecker is not used anymore by VaadinWebSecurity, and has been replaced byNavigationAccessControl
. Calling this method will get a stub implementation that delegates to theNavigationAccessControl
instance.ViewAccessChecker has been replaced byNavigationAccessControl
.No replacement plannedViewAccessChecker has been replaced byNavigationAccessControl
.use the standardizedNonNull
insteaduse the standardizedNullable
instead
-
Deprecated InterfacesInterfaceDescriptionany implementation of this interface won't receive any events, prefer using the default
CollaborationEngineConfiguration
constructorlicense storage is not needed since 6.3Since 24.6, this interface is no longer supported. ConsiderHasValidation
orHasValidator
as an alternative.Polymer template support is deprecated - we recommend you to useLitTemplate
instead. Read more details from the Vaadin blog.Polymer template support is deprecated - we recommend you to useLitTemplate
instead. Read more details from the Vaadin blog.Provider is deprecated, useFrontendUtils.getClientRoutes()
instead.
-
Deprecated ClassesClassDescriptionlicense events will not be received by any listenerUse
NativeLabel
instead, if you need the HTML<label>
element, which is normally not needed within a Vaadin Flow application's high-level components. To use a Label that works in the older style of Vaadin 8 or Java Swing, and can be used both to label a component and to display loose text, an alternative is the Label available in Classic Components. ThisLabel
component /<label>
element is not meant for loose text in the page - it should only be coupled with another component by using theLabel.setFor(Component)
or by adding them to it with theHasComponents.add(Component...)
method, for example if you useInput
.UseNativeLabelElement
instead.Since 24.6, this event is no longer supported. Consider subscribing toValidationStatusChangeEvent
to get notified when the user enters input that cannot be parsed.UseBrowserLiveReloadAccessor
insteadPolymer template support is deprecated - we recommend you to useLitTemplate
instead. Read more details from the Vaadin blog.for annotation based view security useNavigationAccessControl
withAnnotatedViewAccessChecker
.ViewAccessChecker has been replaced byNavigationAccessControl
.No replacement plannedViewAccessChecker has been replaced byNavigationAccessControl
.Since 24.7, the Material theme is deprecated and will be removed in Vaadin 25.
-
Deprecated Enum ClassesEnum ClassDescriptionlicense events will not be received by any listener
-
Deprecated Annotation InterfacesAnnotation InterfaceDescriptionuse the standardized
NonNull
insteaduse the standardizedNullable
instead
-
Deprecated FieldsFieldDescriptionUse
FeatureFlags.SYSTEM_PROPERTY_PREFIX_EXPERIMENTAL
instead.useElementConstants.ARIA_LABEL_ATTRIBUTE_NAME
instead
-
Deprecated MethodsMethodDescriptionuse
DevModeInitializer.initDevModeHandler(Set, VaadinContext, Executor)
providing a custom executor.The method does not work with the collaboration binder. UseCollaborationBinder.bind(HasValue, String)
instead.This operation, along withCollaborationBinder.setBean(Object)
, is not supported by the collaboration binder. Instead ofCollaborationBinder.setBean(Object)
, you can provide the bean for populating the fields usingCollaborationBinder.setTopic(java.lang.String, com.vaadin.flow.function.SerializableSupplier<BEAN>)
, and write the values back to the bean usingBinder.writeBean(BEAN)
.This operation is not supported by the collaboration binder. You can instead provide the bean for populating the fields usingCollaborationBinder.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 useCollaborationBinder.reset(BEAN)
.This operation is not supported by the collaboration binder. You can instead provide the bean for populating the fields usingCollaborationBinder.setTopic(java.lang.String, com.vaadin.flow.function.SerializableSupplier<BEAN>)
, and write the values back to the bean usingBinder.writeBean(BEAN)
.this method is deprecated and now the callback always receives a response that resolves totrue
com.vaadin.collaborationengine.CollaborationEngine.requestAccess(UserInfo, Consumer<AccessResponse>) this method is deprecated and now the callback always receives a response that resolves totrue
the data-directory is not used since 6.3the handler is not used since 6.3license storage is not needed since 6.3the data-directory is not used since 6.3license storage is not needed since 6.3as of 4.0. UseAbstractSeriesItem.setX(Instant)
as of 4.0. UseAreaOptions.setPointStart(Instant)
use setMax(Instant) insteaduse setMin(Instant) insteadas of 4.0. Use#setPointStart(Instant)
as of 4.0. Use#setPointStart(Instant)
as of 4.0. UseOhlcOptions.setPointStart(Instant)
as of 4.0. Use#setPointStart(Instant)
as of 4.0. Use#setPointStart(Instant)
as of 4.0. UsePlotOptionsArea.setPointStart(Instant)
as of 4.0. UsePlotOptionsArearange.setPointStart(Instant)
as of 4.0. UsePlotOptionsAreaspline.setPointStart(Instant)
as of 4.0. UsePlotOptionsAreasplinerange.setPointStart(Instant)
as of 4.0. UsePlotOptionsBar.setPointStart(Instant)
as of 4.0. UsePlotOptionsBoxplot.setPointStart(Instant)
as of 4.0. UsePlotOptionsBubble.setPointStart(Instant)
as of 4.0. UsePlotOptionsCandlestick.setPointStart(Instant)
as of 4.0. UsePlotOptionsColumn.setPointStart(Instant)
as of 4.0. UsePlotOptionsColumnrange.setPointStart(Instant)
as of 4.0. UsePlotOptionsErrorbar.setPointStart(Instant)
as of 4.0. UsePlotOptionsLine.setPointStart(Instant)
as of 4.0. UsePlotOptionsOhlc.setPointStart(Instant)
as of 4.0. UsePlotOptionsPolygon.setPointStart(Instant)
as of 4.0. UsePlotOptionsScatter.setPointStart(Instant)
as of 4.0. UsePlotOptionsSeries.setPointStart(Instant)
as of 4.0. UsePlotOptionsSpline.setPointStart(Instant)
as of 4.0. UsePlotOptionsWaterfall.setPointStart(Instant)
as of 4.0. UseUtil.toHighchartsTS(Instant)
as of 4.0. UseUtil.toServerInstant(double)
does not work so don't usesince v24.4, not supportedsince v24.4, not supportedsince v24.4, not supportedsince v24.4, not supportedsince v24.4, not supportedsince v24.4, not supportedsince v24.4, not supportedsince v24.4, not supportedsince v24.4, not supportedsince v24.4, not supportedsince v24.4, not supportedsince v24.4, not supportedUsage of Element API at Component level should be avoidedUsage of Element API at Component level should be avoidedUsage of Element API at Component level should be avoidedUsage of Element API at Component level should be avoidedUsage of Element API at Component level should be avoidedThis method should not be used outside.since v24.2, useHasComponents.add(Component...)
instead.since v24.2, useDetails.removeAll()
andHasComponents.add(Component...)
instead.This method should not be used outside.Grid.getDefaultColumnFactory()
should be used instead.Grid.setPartNameGenerator(com.vaadin.flow.function.SerializableFunction<T, java.lang.String>)
should be used instead.UseAbstractColumn.getFooterText()
orAbstractColumn.getFooterComponent()
directlyUseAbstractColumn.getHeaderText()
orAbstractColumn.getHeaderComponent()
use findSourceFilesince v24 the RichTextEditor uses the HTML value by default. UseRichTextEditor.getValue()
instead.Since 24.6, this event is no longer supported. Consider subscribing toValidationStatusChangeEvent
to get notified when the user enters input that cannot be parsed.since 24.5, useValidationUtil.validateMaxConstraint(String, Comparable, Comparable)
instead.since 24.5, useValidationUtil.validateRequiredConstraint(String, boolean, Object, Object)
instead.since 24.5, useValidationUtil.validateMinConstraint(String, Comparable, Comparable)
instead.This component has now multiple owners so this method has been replaced by #getOwners().since 24.0, useTabs.add(Tab...)
instead.since 24.0, useTabs.addTabAsFirst(Tab)
instead.since 24.0, useTabs.addTabAtIndex(int, Tab)
instead.since 24.0, useTabs.getTabAt(int)
instead.since 24.5, useTabs.getTabCount()
instead.since 24.0, useTabs.indexOf(Tab)
instead.since 24.0, useTabs.remove(Tab...)
instead.since 24.0, useTabs.replace(Tab, Tab)
instead.not supportednot supportednot supported(forRemoval=true) method is not enabled for client side anymore and connectClient is triggered by DOM event, to be removed in next major 25UseUI.doInit(VaadinRequest, int, String)
insteadFor internal use only. Will be removed in the future.(forRemoval=true) method is not enabled for client side anymore and leave navigation is triggered by DOM event, to be removed in next major 25since 24.4. UseUpload.fireUpdateProgress(long, long, String)
UseAbstractConfiguration.getMode()
insteadthis method does not resolve theme assets, useCssBundler.inlineImports(File, File, JsonNode)
instead.to be removed, useOptions.withBuildResultFolders(File, File)
instead.to be removed. There is no direct replacement for this method. Shared object setup must be done along with other required configurations by callingVaadinStatelessSecurityConfigurer.apply(HttpSecurity, Customizer)
.ViewAccessChecker is not used anymore by VaadinWebSecurity, and has been replaced byNavigationAccessControl
. Calling this method will get a stub implementation that delegates to theNavigationAccessControl
instance.This method is deprecated. Use getDomProperty(String) or getDomAttribute(String) for more precise attribute retrieval.
-
Deprecated ConstructorsConstructorDescriptionThis constructor is not compatible with serializationthe provided handler won't receive any events, please prefer using the default constructor with no parameterscom.vaadin.collaborationengine.FormManager
(ConnectionContext, UserInfo, String, CollaborationEngine) This constructor is not compatible with serializationThis constructor is not compatible with serializationThis constructor is not compatible with serializationThis constructor is not compatible with serializationThis constructor is not compatible with serializationas of 4.0. UseDataSeriesItem(Instant, Number)
as of 4.0. UseDataSeriesItem(Instant, Number,Number)
as of 4.0. UseFlagItem(Instant, String)
as of 4.0. UseFlagItem(Instant, String, String)
as of 4.0. UseOhlcItem(Instant, Number, Number, Number, Number)
since 24.4. UseFileRejectedEvent(Upload, String, String)
since 24.4. UseProgressUpdateEvent(Upload, long, long, String)
Use the version with binder reference insteadUse the version with binder reference insteadUse the version with binder reference insteadUse the version with binder reference insteadUse the version with binder reference insteadUseMenuData(String, Double, boolean, String, Class)
instead.useFrontendTools(FrontendToolsSettings)
instead, as it simplifies configuring the frontend tools and gives the default values to configuration parameters.useFrontendTools(FrontendToolsSettings)
instead, as it simplifies configuring the frontend tools and gives the default values to configuration parameters.useFrontendTools(FrontendToolsSettings)
instead, as it simplifies configuring the frontend tools and gives the default values to configuration parameters.useFrontendTools(FrontendToolsSettings)
instead, as it simplifies configuring the frontend tools and gives the default values to configuration parameters.
-
Deprecated Enum ConstantsEnum ConstantDescriptionSince 24.7, the Material theme is deprecated and will be removed in Vaadin 25.Since 24.7, the Material theme is deprecated and will be removed in Vaadin 25.Since 24.7, the Material theme is deprecated and will be removed in Vaadin 25.Since 24.7, the Material theme is deprecated and will be removed in Vaadin 25.Since 24.7, the Material theme is deprecated and will be removed in Vaadin 25.Since 24.7, the Material theme is deprecated and will be removed in Vaadin 25.Since 24.7, the Material theme is deprecated and will be removed in Vaadin 25.Since 24.7, the Material theme is deprecated and will be removed in Vaadin 25.Since 24.7, the Material theme is deprecated and will be removed in Vaadin 25.Since 24.7, the Material theme is deprecated and will be removed in Vaadin 25.Since 24.7, the Material theme is deprecated and will be removed in Vaadin 25.Since 24.7, the Material theme is deprecated and will be removed in Vaadin 25.Since 24.7, the Material theme is deprecated and will be removed in Vaadin 25.Since 24.7, the Material theme is deprecated and will be removed in Vaadin 25.Since 24.7, the Material theme is deprecated and will be removed in Vaadin 25.Since 24.7, the Material theme is deprecated and will be removed in Vaadin 25.Since 24.7, the Material theme is deprecated and will be removed in Vaadin 25.Since 24.7, the Material theme is deprecated and will be removed in Vaadin 25.Since 24.7, the Material theme is deprecated and will be removed in Vaadin 25.Since 24.7, the Material theme is deprecated and will be removed in Vaadin 25.Use
TabVariant.LUMO_ICON_ON_TOP
on individualTab
instances instead.Since 24.7, the Material theme is deprecated and will be removed in Vaadin 25.Since 24.7, the Material theme is deprecated and will be removed in Vaadin 25.UseTabVariant.LUMO_ICON_ON_TOP
on individualTab
instances instead.Since 24.7, the Material theme is deprecated and will be removed in Vaadin 25.Since 24.7, the Material theme is deprecated and will be removed in Vaadin 25.Since 24.7, the Material theme is deprecated and will be removed in Vaadin 25.Since 24.7, the Material theme is deprecated and will be removed in Vaadin 25.
DevModeInitializer.initDevModeHandler(Set, VaadinContext, Executor)
providing a custom executor.