Interface TableFilter<ROW_OBJECT>

    • Method Detail

      • acceptsRow

        boolean acceptsRow​(ROW_OBJECT rowObject)
        Returns true if this filter matches the given row (data)
        Parameters:
        rowObject - the current row object
        Returns:
        true if the element at the given row matches this filter.
      • isSubFilterOf

        boolean isSubFilterOf​(TableFilter<?> tableFilter)
        Returns true if this filter is a more specific version of the given filter.

        For example, if this filter is a 'starts with' text filter, with the value of 'bobo', then if the given filter is also a 'starts with' filter, with a value of 'bob', then this filter is considered a sub-filter of the given sub-filter.

        Parameters:
        tableFilter - the filter to check
        Returns:
        true if this filter is a sub-filter of the given filter
      • hasColumnFilter

        default boolean hasColumnFilter​(int columnModelIndex)
        Returns true if the there is a column filter on the column specified
        Parameters:
        columnModelIndex - the model index of the column to test for column filters.
        Returns:
        true if the there is a column filter on the column specified.