Interface RowObjectFilterModel<ROW_OBJECT>

    • Field Detail

      • SUB_FILTERING_DISABLED_PROPERTY

        static final java.lang.String SUB_FILTERING_DISABLED_PROPERTY
        This property allows for the disabling of 'sub-filtering'. When enabled, which is the default, data from current filters will be reused when additional filter criteria is added to that current filter. For example,

        Given a table has a 'contains' filter with a text value of 'bob',

        then, if the users types an 'o' into the filter field, producing a value of 'bobo',

        then the data that matched 'bob' will be used as the data to filter for the new 'bobo' text.

        The downside of this is that we cache data for every completed filter. So, in a degenerate case, with a large dataset, with many incremental filtering steps, where each did not significantly reduce the previous set of data, the table could then consume a large amount of memory, roughly equal to allData.size() * numberOfFilterSteps

        Most tables do not have enough data for this to have a significant impact.

        See Also:
        Constant Field Values
    • Method Detail

      • isFiltered

        boolean isFiltered()
      • getUnfilteredRowCount

        int getUnfilteredRowCount()
      • getUnfilteredData

        java.util.List<ROW_OBJECT> getUnfilteredData()
      • getModelRow

        int getModelRow​(int viewRow)
      • getViewRow

        int getViewRow​(int modelRow)
      • getViewIndex

        int getViewIndex​(ROW_OBJECT t)
      • getModelIndex

        int getModelIndex​(ROW_OBJECT t)