You're viewing an older version of Vaadin JavaDoc. Please see version 24.7.0 for the latest.
com.vaadin.flow.component.spreadsheet.command.

Interface Command

    • Method Summary

      All Methods
      Modifier and Type Method Description
      void execute()

      Executes this command.

      int getActiveSheetIndex()

      Returns the index of the currently active sheet.

      org.apache.poi.ss.util.CellRangeAddress getPaintedCellRange()

      The painted range that should be set when this command is run.

      org.apache.poi.ss.util.CellReference getSelectedCellReference()

      The selected cell that should be set when this command is run.

      void setActiveSheetIndex​(int index)

      Sets the sheet at the given index the currently active sheet.

    • Method Detail

      • execute

        void execute()

        Executes this command.

      • getActiveSheetIndex

        int getActiveSheetIndex()

        Returns the index of the currently active sheet.

        Returns:

        index of active sheet

      • setActiveSheetIndex

        void setActiveSheetIndex​(int index)

        Sets the sheet at the given index the currently active sheet.

        Parameters:

        index - Index of sheet to set active

      • getSelectedCellReference

        org.apache.poi.ss.util.CellReference getSelectedCellReference()

        The selected cell that should be set when this command is run. In case this command shouldn't change the selected cell, null is returned.

        Returns:

        the selection or null

      • getPaintedCellRange

        org.apache.poi.ss.util.CellRangeAddress getPaintedCellRange()

        The painted range that should be set when this command is run. In case his command shouldn't set a painted range, null is returned.

        Returns:

        the painted range or null