Class 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 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
    • Constructor Detail

      • SpreadsheetFactory

        public SpreadsheetFactory()
    • Method Detail

      • logMemoryUsage

        public static void logMemoryUsage()
        Runs garbage collection and outputs current memory usage to console.