Package docking.widgets.table
Class TableColumnDescriptor<ROW_TYPE>
- java.lang.Object
-
- docking.widgets.table.TableColumnDescriptor<ROW_TYPE>
-
public class TableColumnDescriptor<ROW_TYPE> extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description TableColumnDescriptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addHiddenColumn(DynamicTableColumn<ROW_TYPE,?,?> column)
void
addVisibleColumn(DynamicTableColumn<ROW_TYPE,?,?> column)
void
addVisibleColumn(DynamicTableColumn<ROW_TYPE,?,?> column, int sortOrdinal, boolean ascending)
java.util.List<DynamicTableColumn<ROW_TYPE,?,?>>
getAllColumns()
TableSortState
getDefaultTableSortState(DynamicColumnTableModel<ROW_TYPE> model)
java.util.List<DynamicTableColumn<ROW_TYPE,?,?>>
getDefaultVisibleColumns()
void
setHidden(DynamicTableColumn<ROW_TYPE,?,?> column)
-
-
-
Method Detail
-
getAllColumns
public java.util.List<DynamicTableColumn<ROW_TYPE,?,?>> getAllColumns()
-
getDefaultVisibleColumns
public java.util.List<DynamicTableColumn<ROW_TYPE,?,?>> getDefaultVisibleColumns()
-
getDefaultTableSortState
public TableSortState getDefaultTableSortState(DynamicColumnTableModel<ROW_TYPE> model)
-
setHidden
public void setHidden(DynamicTableColumn<ROW_TYPE,?,?> column)
-
addHiddenColumn
public void addHiddenColumn(DynamicTableColumn<ROW_TYPE,?,?> column)
-
addVisibleColumn
public void addVisibleColumn(DynamicTableColumn<ROW_TYPE,?,?> column)
-
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
-
-