public class ExcelAutoColumnSizer
extends java.lang.Object
For each new value added to the column, call isNotificationRequired(int)
.
If the result is true, call notifyCellValue(java.lang.String, org.apache.poi.hssf.usermodel.HSSFFont)
.
Constructor and Description |
---|
ExcelAutoColumnSizer() |
Modifier and Type | Method and Description |
---|---|
void |
dispose() |
short |
getWidth() |
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.
|
void |
notifyCellValue(java.lang.String val,
org.apache.poi.hssf.usermodel.HSSFFont font) |
public boolean isNotificationRequired(int row)
public void notifyCellValue(java.lang.String val, org.apache.poi.hssf.usermodel.HSSFFont font)
public short getWidth()
public void dispose()