Interface MutableColumnModel

All Superinterfaces:
ColumnModel
All Known Implementing Classes:
AbstractColumnModel, DefaultColumnModel

public interface MutableColumnModel extends ColumnModel
The Interface MutableColumnModel.
  • Method Details

    • showColumn

      boolean showColumn(ColumnDescriptor colDescr, Integer colIndex)
      Show column.
      Parameters:
      colDescr - the col descr
      colIndex - the col index
      Returns:
      true, if successful
    • hideColumn

      boolean hideColumn(int colIndex)
      Hide column.
      Parameters:
      colIndex - the col index
      Returns:
      true, if successful
    • moveColumn

      boolean moveColumn(int fromIndex, int toIndex)
      Move column.
      Parameters:
      fromIndex - the from index
      toIndex - the to index
      Returns:
      true, if successful
    • setSelectedIndex

      void setSelectedIndex(int index)
      Sets the selected index.
      Parameters:
      index - the new selected index
    • setSelectedIndexDirectly

      boolean setSelectedIndexDirectly(int index)
      Sets the selected index directly.
      Parameters:
      index - the index
      Returns:
      true, if successful
    • setSelectedIndexes

      void setSelectedIndexes(List<Integer> selectedIndexes)
      Sets the selected indexes.
      Parameters:
      selectedIndexes - the new selected indexes
    • setSelectedIndexesDirectly

      boolean setSelectedIndexesDirectly(List<Integer> selectedIndexes)
      Sets the selected indexes directly.
      Parameters:
      selectedIndexes - the selected indexes
      Returns:
      true, if successful
    • setSortAscending

      void setSortAscending(boolean sortAsc)
      Sets the sort ascending.
      Parameters:
      sortAsc - the new sort ascending
    • setSortedColumnIndex

      void setSortedColumnIndex(int colIndex, boolean ascending)
      Sets the sorted column index.
      Parameters:
      colIndex - the col index
      ascending - the ascending
    • setValueAt

      void setValueAt(int colIndex, TypedObject item, Object value) throws ValueHandlerException
      Sets the value at.
      Parameters:
      colIndex - the col index
      item - the item
      value - the value
      Throws:
      ValueHandlerException - the value handler exception
    • setVisibleColumns

      void setVisibleColumns(List<ColumnDescriptor> visCols, boolean force)
      Sets the visible columns.
      Parameters:
      visCols - the vis cols
      force - the force
    • updateDynamicColumns

      void updateDynamicColumns(ListModel listModel)
      Update dynamic columns.
      Parameters:
      listModel - the list model