Package docking.widgets.table

# Class TableColumnDescriptor<ROW_TYPE>

java.lang.Object
docking.widgets.table.TableColumnDescriptor<ROW_TYPE>

public class TableColumnDescriptor<ROW_TYPE> extends Object

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `TableColumnDescriptor()`

- ## Method Summary

  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)`
  `List<DynamicTableColumn<ROW_TYPE,?,?>>`
  `getAllColumns()`
  `TableSortState`
  `getDefaultTableSortState(DynamicColumnTableModel<ROW_TYPE> model)`
  `List<DynamicTableColumn<ROW_TYPE,?,?>>`
  `getDefaultVisibleColumns()`
  `void`
  `setHidden(DynamicTableColumn<ROW_TYPE,?,?> column)`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### TableColumnDescriptor

    public TableColumnDescriptor()

- ## Method Details

  - ### getAllColumns

    public List<DynamicTableColumn<ROW_TYPE,?,?>> getAllColumns()

  - ### getDefaultVisibleColumns

    public 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 add
      `sortOrdinal` - the ordinal (i.e., 1, 2, 3...n), not the index (i.e, 0, 1, 2...n).
      `ascending` - true to sort ascending