Interface WTable.ScrollableTableModel

  • All Superinterfaces:
    WTable.TableModel
    Enclosing class:
    WTable

    public static interface WTable.ScrollableTableModel
    extends WTable.TableModel
    This extension of WTable.TableModel is primarily for models that do not store their data locally. Models implementing this interface can provide more efficient calls to back-end systems, as the data model is notified of which rows are likely to be used in the near future.

    It is expected this TableModel is always used with Pagination.

    Since:
    1.0.0
    Author:
    Jonathan Austin
    • Method Detail

      • setCurrentRows

        void setCurrentRows​(int start,
                            int end)
        This method will be called by the table to notify the TableModel of which rows are likely to be used in the near future.
        Parameters:
        start - the starting row index.
        end - the ending row index.