Class SpreadsheetFactory
java.lang.Object
com.vaadin.flow.component.spreadsheet.SpreadsheetFactory
- All Implemented Interfaces:
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:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intDefault column width for new sheets in charactersstatic final intDefault column count for new workbooksstatic final floatDefault for height for new sheets in pointsstatic final intDefault row count for new workbooks -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidRuns garbage collection and outputs current memory usage to console.
-
Field Details
-
DEFAULT_COL_WIDTH_UNITS
public static final int DEFAULT_COL_WIDTH_UNITSDefault column width for new sheets in characters- See Also:
-
DEFAULT_ROW_HEIGHT_POINTS
public static final float DEFAULT_ROW_HEIGHT_POINTSDefault for height for new sheets in points- See Also:
-
DEFAULT_COLUMNS
public static final int DEFAULT_COLUMNSDefault column count for new workbooks- See Also:
-
DEFAULT_ROWS
public static final int DEFAULT_ROWSDefault row count for new workbooks- See Also:
-
-
Constructor Details
-
SpreadsheetFactory
public SpreadsheetFactory()
-
-
Method Details
-
logMemoryUsage
public static void logMemoryUsage()Runs garbage collection and outputs current memory usage to console.
-