Package io.jmix.pivottableflowui.export
Class ExcelAutoColumnSizer
java.lang.Object
io.jmix.pivottableflowui.export.ExcelAutoColumnSizer
Calculates the width of a column, based on the values within it.
 
 For each new value added to the column, call isNotificationRequired(int).
 If the result is true, call notifyCellValue(java.lang.String, org.apache.poi.ss.usermodel.Font).
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoiddispose()shortgetWidth()booleanisNotificationRequired(int row) When you add a new value to a column, call this method to ask whether the AutoColumnSizer is interested in it.voidnotifyCellValue(String val, org.apache.poi.ss.usermodel.Font font) 
- 
Constructor Details- 
ExcelAutoColumnSizerpublic ExcelAutoColumnSizer()
 
- 
- 
Method Details- 
isNotificationRequiredpublic boolean isNotificationRequired(int row) When you add a new value to a column, call this method to ask whether the AutoColumnSizer is interested in it.
- 
notifyCellValue
- 
getWidthpublic short getWidth()
- 
disposepublic void dispose()
 
-