Interface FilterTableModel.ColumnValues<C>

Type Parameters:
C - the column identifier type
Enclosing interface:
FilterTableModel<R,C>

public static interface FilterTableModel.ColumnValues<C>
Provides access to table column values
  • Method Summary

    Modifier and Type
    Method
    Description
    <T> List<T>
    get(C identifier)
     
    <T> List<T>
    selected(C identifier)
     
    string(int rowIndex, C identifier)
    Returns a string representation of the value for the given row and column, an empty string in case of null.
    value(int rowIndex, C identifier)
    Returns the value for the given row and column.
  • Method Details

    • get

      <T> List<T> get(C identifier)
      Type Parameters:
      T - the value type
      Parameters:
      identifier - the identifier of the column for which to retrieve the values
      Returns:
      the values (including nulls) of the column identified by the given identifier from the visible rows in the table model
      Throws:
      IllegalArgumentException - in case of an unknown identifier
    • selected

      <T> List<T> selected(C identifier)
      Type Parameters:
      T - the value type
      Parameters:
      identifier - the identifier of the column for which to retrieve the selected values
      Returns:
      the values (including nulls) of the column identified by the given identifier from the selected rows in the table model
      Throws:
      IllegalArgumentException - in case of an unknown identifier
    • value

      Object value(int rowIndex, C identifier)
      Returns the value for the given row and column.
      Parameters:
      rowIndex - the row index
      identifier - the column identifier
      Returns:
      the value
      See Also:
    • string

      String string(int rowIndex, C identifier)
      Returns a string representation of the value for the given row and column, an empty string in case of null.
      Parameters:
      rowIndex - the row index
      identifier - the column identifier
      Returns:
      the string value or an empty string in case of null
      See Also: