Class SpreadsheetFactory
- java.lang.Object
-
- com.vaadin.flow.component.spreadsheet.SpreadsheetFactory
-
- All Implemented Interfaces:
Serializable
public class SpreadsheetFactory extends Object implements Serializable
SpreadsheetFactory is an utility class of the Spreadsheet component. It is used for operations related to loading and saving a workbook and related data.- Author:
- Vaadin Ltd.
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static int
DEFAULT_COL_WIDTH_UNITS
Default column width for new sheets in charactersstatic int
DEFAULT_COLUMNS
Default column count for new workbooksstatic float
DEFAULT_ROW_HEIGHT_POINTS
Default for height for new sheets in pointsstatic int
DEFAULT_ROWS
Default row count for new workbooks
-
Constructor Summary
Constructors Constructor Description SpreadsheetFactory()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
logMemoryUsage()
Runs garbage collection and outputs current memory usage to console.
-
-
-
Field Detail
-
DEFAULT_COL_WIDTH_UNITS
public static final int DEFAULT_COL_WIDTH_UNITS
Default column width for new sheets in characters- See Also:
- Constant Field Values
-
DEFAULT_ROW_HEIGHT_POINTS
public static final float DEFAULT_ROW_HEIGHT_POINTS
Default for height for new sheets in points- See Also:
- Constant Field Values
-
DEFAULT_COLUMNS
public static final int DEFAULT_COLUMNS
Default column count for new workbooks- See Also:
- Constant Field Values
-
DEFAULT_ROWS
public static final int DEFAULT_ROWS
Default row count for new workbooks- See Also:
- Constant Field Values
-
-