Package docking.widgets.table
Class TableColumnDescriptor<ROW_TYPE>
java.lang.Object
docking.widgets.table.TableColumnDescriptor<ROW_TYPE>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addHiddenColumn
(DynamicTableColumn<ROW_TYPE, ?, ?> column) void
addVisibleColumn
(DynamicTableColumn<ROW_TYPE, ?, ?> column) void
addVisibleColumn
(DynamicTableColumn<ROW_TYPE, ?, ?> column, int sortOrdinal, boolean ascending) List
<DynamicTableColumn<ROW_TYPE, ?, ?>> List
<DynamicTableColumn<ROW_TYPE, ?, ?>> void
setVisible
(String columnName, boolean visible)
-
Constructor Details
-
TableColumnDescriptor
public TableColumnDescriptor()
-
-
Method Details
-
getAllColumns
-
getDefaultVisibleColumns
-
getDefaultTableSortState
-
setVisible
-
addHiddenColumn
-
addVisibleColumn
-
addVisibleColumn
public void addVisibleColumn(DynamicTableColumn<ROW_TYPE, ?, ?> column, int sortOrdinal, boolean ascending) - Parameters:
column
- the column to addsortOrdinal
- the ordinal (i.e., 1, 2, 3...n), not the index (i.e, 0, 1, 2...n).ascending
- true to sort ascending
-