Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,19 @@

/**
* Component representing a <code>&lt;table&gt;</code> element.
* <p>
* <b>Deprecated.</b> This component extends {@link HtmlContainer} and therefore
* exposes a generic {@code add(Component)} API that allows constructing
* structurally invalid tables. Use {@link Table} instead, which extends
* {@link com.vaadin.flow.component.HtmlComponent} and exposes only
* spec-compliant operations (see
* <a href="https://html.spec.whatwg.org/multipage/tables.html">WHATWG
* HTML</a>).
*
* @since 24.4
* @deprecated since 25.2; use {@link Table} instead.
*/
@Deprecated
@Tag(Tag.TABLE)
public class NativeTable extends HtmlContainer
implements ClickNotifier<NativeTable> {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,9 @@
* Component representing a <code>&lt;tbody&gt;</code> element.
*
* @since 24.4
* @deprecated since 25.2; use {@link TableBody} instead.
*/
@Deprecated
@Tag(Tag.TBODY)
public class NativeTableBody extends HtmlContainer
implements NativeTableRowContainer, ClickNotifier<NativeTableBody> {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@
* Represents the table caption element ({@code <caption>}).
*
* @since 24.4
* @deprecated since 25.2; use {@link TableCaption} instead.
*/
@Deprecated
@Tag(Tag.CAPTION)
public class NativeTableCaption extends HtmlContainer {
}
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,9 @@
* Component representing a <code>&lt;td&gt;</code> element.
*
* @since 24.4
* @deprecated since 25.2; use {@link TableDataCell} instead.
*/
@Deprecated
@Tag(Tag.TD)
public class NativeTableCell extends HtmlContainer
implements ClickNotifier<NativeTableCell> {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,9 @@
* Component representing a <code>&lt;tfoot&gt;</code> element.
*
* @since 24.4
* @deprecated since 25.2; use {@link TableFoot} instead.
*/
@Deprecated
@Tag(Tag.TFOOT)
public class NativeTableFooter extends HtmlContainer
implements NativeTableRowContainer, ClickNotifier<NativeTableFooter> {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,9 @@
* Component representing a <code>&lt;thead&gt;</code> element.
*
* @since 24.4
* @deprecated since 25.2; use {@link TableHead} instead.
*/
@Deprecated
@Tag(Tag.THEAD)
public class NativeTableHeader extends HtmlContainer
implements NativeTableRowContainer, ClickNotifier<NativeTableHeader> {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,9 @@
* Component representing a <code>&lt;th&gt;</code> element.
*
* @since 24.4
* @deprecated since 25.2; use {@link TableHeaderCell} instead.
*/
@Deprecated
@Tag(Tag.TH)
public class NativeTableHeaderCell extends HtmlContainer
implements ClickNotifier<NativeTableHeaderCell> {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,9 @@
* Component representing a <code>&lt;tr&gt;</code> element.
*
* @since 24.4
* @deprecated since 25.2; use {@link TableRow} instead.
*/
@Deprecated
@Tag(Tag.TR)
public class NativeTableRow extends HtmlContainer
implements HasOrderedComponents, ClickNotifier<NativeTableRow> {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,11 @@
* A container of <code>&lt;tr&gt;</code> elements.
*
* @since 24.4
* @deprecated since 25.2; use {@link TableRowContainer} (and the corresponding
* {@link TableHead}, {@link TableBody}, and {@link TableFoot}
* components) instead.
*/
@Deprecated
interface NativeTableRowContainer extends HasOrderedComponents {

/**
Expand Down
Loading
Loading