Interface IPositionHolder

All Known Implementing Classes:
PositionHolder

public interface IPositionHolder
Model position holder.
  • Method Details

    • clearCachedRowHeight

      void clearCachedRowHeight(int currentRow)
      Clears cached row heigth.
      Parameters:
      currentRow - the current row
    • clearColumnPositionCache

      void clearColumnPositionCache()
      Clear columns position cache.
    • clearColumnPositionCacheFromColumn

      void clearColumnPositionCacheFromColumn(Columns columns, int normalizedBeginColumnIndex)
      Clear columns position cache from column.
      Parameters:
      columns - the columns, cannot be null
      normalizedBeginColumnIndex - the normalized begin columns index
    • clearRowHeightCache

      void clearRowHeightCache()
      Clear row height cache.
    • clearRowPositionCache

      void clearRowPositionCache()
      Clear row position cache.
    • clearRowPositionCacheFromRow

      void clearRowPositionCacheFromRow(int beginRow)
      Clear row position cache from row.
      Parameters:
      beginRow - the begin row
    • getColLeftPositionUnit

      int getColLeftPositionUnit(Columns minColumns, int x)
      Returns columns left position in units.
      Parameters:
      minColumns - the columns, cannot be null
      x - the x-coordinate
      Returns:
      the columns left position in units.
    • getColPositionsUnit

      void getColPositionsUnit(Columns columns, int x, int x2, int[] positionsX)
      Returns columns positions.
      Parameters:
      columns - the columns, cannot be null
      x - the x-coordinate
      x2 - the x2-coordinate
      positionsX - the x-positions, cannot be null
    • getColumnAtPositionUnit

      int getColumnAtPositionUnit(Columns columns, int beginCellPositionUnitsX, int[] beginColumnOffest)
      Returns columns at positions in units.
      Parameters:
      columns - the columns, cannot be null
      beginCellPositionUnitsX - the begin cell x-position
      beginColumnOffest - the begin column offset, cannot be null
      Returns:
      the columns at positions in units
    • getRowAtPositionUnit

      int getRowAtPositionUnit(int endCellPositionUnitsY, int[] endRowOffest)
      Returns row at positions in units.
      Parameters:
      endCellPositionUnitsY - the end cell y-position
      endRowOffest - the end row offset, cannot be null
      Returns:
      the row at positions in units.
    • getRowPositionsUnit

      void getRowPositionsUnit(int y, int y2, int[] positionsY)
      Returns row positions in units.
      Parameters:
      y - the y-position
      y2 - the y2-position, cannot be null
      positionsY - the y-positions
    • getRowTopPositionUnit

      int getRowTopPositionUnit(int y)
      Returns row top position in units.
      Parameters:
      y - the y-position
      Returns:
      the row top position in units.
    • getUnitsConverter

      UnitsConverter getUnitsConverter()
      Returns unit converter.
      Returns:
      the unit converter, cannot be null