Package com._1c.g5.v8.dt.moxel.ui.editor
Interface IRowHeightCache
-
- All Known Implementing Classes:
RowHeightCache
public interface IRowHeightCache
Interface for row heights cache
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
clearCache()
Clear height cachevoid
clearCacheFromRow(int row)
Clear cache of rows positions after specified rowInteger
getRowHeight(int row)
Get row height from cachevoid
putRowHeight(int row, int heightUnit)
Put row height to cachevoid
unsetRowHeight(int row)
Clear height of specified row
-
-
-
Method Detail
-
putRowHeight
void putRowHeight(int row, int heightUnit)
Put row height to cache- Parameters:
row
- - row indexheightUnit
- - 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
-
-