Interface ColumnData<T>

Type Parameters:
T - the column data type.
All Known Implementing Classes:
MappedColumnConstraint.DelegateColumnData

public interface ColumnData<T>
Interface for providing column data and a table's DataSource to a constraint editor. Some editors require access to the table column data. One example is a String "Starts With" column might pre-process the data to provide an autocompletion feature in the editor.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the name of the column being filtered.
    getColumnValue(int row)
    Returns the column value for the given row.
    int
    Returns the number of column values (unfiltered table row count)
    Returns the table's DataSource.
  • Method Details

    • getColumnName

      String getColumnName()
      Returns the name of the column being filtered.
      Returns:
      the name of the column being filtered.
    • getCount

      int getCount()
      Returns the number of column values (unfiltered table row count)
      Returns:
      the number of column values (unfiltered table row count)
    • getColumnValue

      T getColumnValue(int row)
      Returns the column value for the given row.
      Parameters:
      row - the row for which to get the column value.
      Returns:
      the column value for the given row.
    • getTableDataSource

      Object getTableDataSource()
      Returns the table's DataSource.
      Returns:
      the table's DataSource.