Interface IRowHeightCache

  • All Known Implementing Classes:
    RowHeightCache

    public interface IRowHeightCache
    Interface for row heights cache
    • Method Detail

      • putRowHeight

        void putRowHeight​(int row,
                          int heightUnit)
        Put row height to cache
        Parameters:
        row - - row index
        heightUnit - - row height (in units)
      • getRowHeight

        Integer getRowHeight​(int row)
        Get row height from cache
        Parameters:
        row - - row index
        Returns:
        row height (in units) or null if not cached yet
      • clearCacheFromRow

        void clearCacheFromRow​(int row)
        Clear cache of rows positions after specified row
        Parameters:
        row - - row index
      • clearCache

        void clearCache()
        Clear height cache
      • unsetRowHeight

        void unsetRowHeight​(int row)
        Clear height of specified row
        Parameters:
        row - - row index