Package org.patternfly.component
Class DataTable<T>
- java.lang.Object
-
- org.patternfly.component.BaseComponent<HTMLTableElement,DataTable<T>>
-
- org.patternfly.component.DataTable<T>
-
- All Implemented Interfaces:
Container<HTMLTableElement,DataTable<T>>,Finder<HTMLTableElement>,HasElement<HTMLTableElement,DataTable<T>>,HasHTMLElement<HTMLTableElement,DataTable<T>>,IsElement<HTMLTableElement>,TypedBuilder<HTMLTableElement,DataTable<T>>,Component,Display<T>
@Deprecated public class DataTable<T> extends BaseComponent<HTMLTableElement,DataTable<T>> implements Display<T>
Deprecated.PatternFly data table.The data table does not manage data by itself. Use a
DataProviderand add the data table as a display to the data provider:DataProvider dataProvider = ...; DataTable table = ...; dataProvider.addDisplay(table); dataProvider.update(...);
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDataTable.BodyDisplay<T>Deprecated.static classDataTable.Column<T>Deprecated.static interfaceDataTable.CompoundDisplay<T>Deprecated.static interfaceDataTable.ExpandableDisplay<T>Deprecated.static interfaceDataTable.HeadDisplayDeprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static <T> DataTable.Column<T>actionsColumn(DataTable.BodyDisplay<T> bodyDisplay)Deprecated.DataTable<T>add(DataTable.Column<T> column)Deprecated.static <T> DataTable.Column<T>checkboxColumn()Deprecated.static <T> DataTable.Column<T>column(String name, Comparator<T> comparator, DataTable.BodyDisplay<T> bodyDisplay)Deprecated.static <T> DataTable.Column<T>column(String name, DataTable.BodyDisplay<T> bodyDisplay)Deprecated.static <T> DataTable.Column<T>column(String name, DataTable.HeadDisplay headDisplay, DataTable.BodyDisplay<T> bodyDisplay)Deprecated.DataTable<T>compact()Deprecated.static <T> DataTable<T>dataTable(DataProvider<T> dataProvider)Deprecated.static <T> DataTable<T>dataTable(DataProvider<T> dataProvider, String caption)Deprecated.DataTable<T>expandableRow(boolean fullWidth, boolean noPadding, DataTable.ExpandableDisplay<T> expandableDisplay)Deprecated.DataTable<T>expandableRow(boolean fullWidth, DataTable.ExpandableDisplay<T> expandableDisplay)Deprecated.DataTable<T>expandableRow(Predicate<T> expandable, boolean fullWidth, boolean noPadding, DataTable.ExpandableDisplay<T> expandableDisplay)Deprecated.DataTable<T>expandableRow(Predicate<T> expandable, boolean fullWidth, DataTable.ExpandableDisplay<T> expandableDisplay)Deprecated.DataTable<T>expandableRow(Predicate<T> expandable, DataTable.ExpandableDisplay<T> expandableDisplay)Deprecated.DataTable<T>expandableRow(DataTable.ExpandableDisplay<T> expandableDisplay)Deprecated.static <T> DataTable.Column<T>expandColumn()Deprecated.static <T> DataTable.Column<T>iconColumn(DataTable.BodyDisplay<T> bodyDisplay)Deprecated.static <T> DataTable.Column<T>iconColumn(Icon icon)Deprecated.DataTable<T>noBorders()Deprecated.DataTable<T>noSelectAll()Deprecated.voidshowItems(Iterable<T> items, PageInfo pageInfo)Deprecated.DataTable<T>that()Deprecated.voidupdateSelection(SelectionInfo<T> selectionInfo)Deprecated.voidupdateSortInfo(SortInfo<T> sortInfo)Deprecated.-
Methods inherited from class org.patternfly.component.BaseComponent
componentType, element
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.jboss.elemento.Container
add, add, addAll, addAll, addAll, addAll, addAll
-
Methods inherited from interface org.jboss.elemento.HasElement
add, apply, aria, aria, aria, attr, attr, attr, css, id, id, innerHtml, on, textContent, toggle, toggle, toggle
-
Methods inherited from interface org.jboss.elemento.HasHTMLElement
data, hidden, style, title
-
-
-
-
Method Detail
-
dataTable
public static <T> DataTable<T> dataTable(DataProvider<T> dataProvider)
Deprecated.
-
dataTable
public static <T> DataTable<T> dataTable(DataProvider<T> dataProvider, String caption)
Deprecated.
-
expandColumn
public static <T> DataTable.Column<T> expandColumn()
Deprecated.
-
checkboxColumn
public static <T> DataTable.Column<T> checkboxColumn()
Deprecated.
-
iconColumn
public static <T> DataTable.Column<T> iconColumn(Icon icon)
Deprecated.
-
iconColumn
public static <T> DataTable.Column<T> iconColumn(DataTable.BodyDisplay<T> bodyDisplay)
Deprecated.
-
actionsColumn
public static <T> DataTable.Column<T> actionsColumn(DataTable.BodyDisplay<T> bodyDisplay)
Deprecated.
-
column
public static <T> DataTable.Column<T> column(String name, DataTable.BodyDisplay<T> bodyDisplay)
Deprecated.
-
column
public static <T> DataTable.Column<T> column(String name, Comparator<T> comparator, DataTable.BodyDisplay<T> bodyDisplay)
Deprecated.
-
column
public static <T> DataTable.Column<T> column(String name, DataTable.HeadDisplay headDisplay, DataTable.BodyDisplay<T> bodyDisplay)
Deprecated.
-
that
public DataTable<T> that()
Deprecated.- Specified by:
thatin interfaceTypedBuilder<HTMLTableElement,DataTable<T>>
-
add
public DataTable<T> add(DataTable.Column<T> column)
Deprecated.
-
expandableRow
public DataTable<T> expandableRow(DataTable.ExpandableDisplay<T> expandableDisplay)
Deprecated.
-
expandableRow
public DataTable<T> expandableRow(boolean fullWidth, DataTable.ExpandableDisplay<T> expandableDisplay)
Deprecated.
-
expandableRow
public DataTable<T> expandableRow(boolean fullWidth, boolean noPadding, DataTable.ExpandableDisplay<T> expandableDisplay)
Deprecated.
-
expandableRow
public DataTable<T> expandableRow(Predicate<T> expandable, DataTable.ExpandableDisplay<T> expandableDisplay)
Deprecated.
-
expandableRow
public DataTable<T> expandableRow(Predicate<T> expandable, boolean fullWidth, DataTable.ExpandableDisplay<T> expandableDisplay)
Deprecated.
-
expandableRow
public DataTable<T> expandableRow(Predicate<T> expandable, boolean fullWidth, boolean noPadding, DataTable.ExpandableDisplay<T> expandableDisplay)
Deprecated.
-
updateSelection
public void updateSelection(SelectionInfo<T> selectionInfo)
Deprecated.- Specified by:
updateSelectionin interfaceDisplay<T>
-
updateSortInfo
public void updateSortInfo(SortInfo<T> sortInfo)
Deprecated.- Specified by:
updateSortInfoin interfaceDisplay<T>
-
-