Interface FilterTableColumnModel.VisibleColumns<C>

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

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

    • get

      List<C> get()
      Specified by:
      get in interface Observable<C>
      Returns:
      the visible columns or an empty list in case no columns are visible
    • 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
      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