Package com._1c.g5.v8.dt.moxel.ui.editor
Class EmptyRowHeightCache
- java.lang.Object
-
- com._1c.g5.v8.dt.moxel.ui.editor.EmptyRowHeightCache
-
- All Implemented Interfaces:
IEmptyRowHeightCache
public class EmptyRowHeightCache extends Object implements IEmptyRowHeightCache
Empty rows height cache implementation
-
-
Constructor Summary
Constructors Constructor Description EmptyRowHeightCache()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clearCache()
Clear cacheInteger
getRowHeight(Columns columns)
Get empty row height for specified columnsvoid
putRowHeight(Columns columns, int height)
Put empty row height for specified columns to cache
-
-
-
Method Detail
-
putRowHeight
public void putRowHeight(Columns columns, int height)
Description copied from interface:IEmptyRowHeightCache
Put empty row height for specified columns to cache- Specified by:
putRowHeight
in interfaceIEmptyRowHeightCache
- Parameters:
columns
- - column typeheight
- - height of empty rows for specified column type (in units)
-
getRowHeight
public Integer getRowHeight(Columns columns)
Description copied from interface:IEmptyRowHeightCache
Get empty row height for specified columns- Specified by:
getRowHeight
in interfaceIEmptyRowHeightCache
- Parameters:
columns
- - column type- Returns:
- empty row height for specified columns (in units) or null if not cached yet
-
clearCache
public void clearCache()
Description copied from interface:IEmptyRowHeightCache
Clear cache- Specified by:
clearCache
in interfaceIEmptyRowHeightCache
-
-