Interface FilterTableColumnModel.VisibleColumns<C>

Type Parameters:
C - the column identifier type
All Superinterfaces:
Mutable<List<C>>, Observable<List<C>>, Observer<List<C>>
Enclosing interface:
FilterTableColumnModel<C>

public static interface FilterTableColumnModel.VisibleColumns<C> extends Mutable<List<C>>
Controls the visible columns
  • Method Details

    • set

      void set(C... identifiers)
      Arranges the columns so that only the given columns are visible and in the given order
      Parameters:
      identifiers - the column identifiers
      Throws:
      IllegalArgumentException - in case a column is not found
    • set

      void set(List<C> identifiers)
      Arranges the columns so that only the given columns are visible and in the given order
      Specified by:
      set in interface Mutable<C>
      Parameters:
      identifiers - the column identifiers
      Throws:
      IllegalArgumentException - in case a column is not found
    • columns

      List<FilterTableColumn<C>> columns()
      Returns:
      an unmodifiable view of the currently visible columns