We use cookies to serve our customers and website visitors in the best possible way. Cookies are used for the proper functioning of the website and for improving the user experience, monitoring visitor traffic and marketing purposes. By continuing to browse the site, you agree to our use of cookies. You can read more about cookies here.
-
Terminally Deprecated Elements
-
Deprecated InterfacesInterfaceDescriptionPolymer template support is deprecated - we recommend you to use
LitTemplate
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.
-
Deprecated ClassesClassDescriptionUse
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.UseBrowserLiveReloadAccessor
insteadPolymer template support is deprecated - we recommend you to useLitTemplate
instead. Read more details from the Vaadin blog.
-
Deprecated FieldsFieldDescriptionThis constant is no longer used. As of commons-fileupload 1.2, the only applicable limit is the total size of a parts headers,
MultipartStream.HEADER_PART_SIZE_MAX
.useElementConstants.ARIA_LABEL_ATTRIBUTE_NAME
instead
-
Deprecated MethodsMethodDescriptionThe method does not work with the collaboration binder. Use
CollaborationBinder.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)
.1.2 This method is no longer used in favour of internally created instances ofFileItem
.1.2.1 UseFileUploadBase.getFieldName(FileItemHeaders)
.1.2.1 UseFileUploadBase.getFileName(FileItemHeaders)
.com.vaadin.external.apache.commons.fileupload2.FileUploadBase.getHeader(Map<String, String>, String) 1.2.1 UseFileItemHeaders.getHeader(String)
.1.2.1 UseFileUploadBase.getParsedHeaders(String)
1.3 UseJakSrvltRequestContext.contentLength()
instead1.3 UseUploadContext.contentLength()
insteadas of 4.0. UseAbstractSeriesItem.setX(Instant)
as of 4.0. UseAreaOptions.setPointStart(Instant)
as 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 useThis method should not be used outside.This method should not be used outside.Grid.getDefaultColumnFactory()
should be used instead.UseAbstractColumn.getFooterText()
orAbstractColumn.getFooterComponent()
directlyUseAbstractColumn.getHeaderText()
orAbstractColumn.getHeaderComponent()
since v24 the RichTextEditor uses the HTML value by default. UseRichTextEditor.getValue()
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.0, useTabs.indexOf(Tab)
instead.since 24.0, useTabs.remove(Tab...)
instead.since 24.0, useTabs.replace(Tab, Tab)
instead.not supportednot supportednot supportedUseUI.doInit(VaadinRequest, int, String)
insteadFor internal use only. Will be removed in the future.UseAbstractConfiguration.getMode()
instead
-
Deprecated ConstructorsConstructorDescriptionas of 4.0. Use
DataSeriesItem(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)
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.
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
.