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

Class RowInsertOrDeleteCommand

    • Constructor Detail

      • RowInsertOrDeleteCommand

        public RowInsertOrDeleteCommand​(Spreadsheet spreadsheet,
                                        org.apache.poi.ss.util.CellRangeAddress headerRange)
    • Method Detail

      • execute

        public void execute()

        Description copied from interface: Command

        Executes this command.

      • getSelectedCellReference

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

        Description copied from interface: Command

        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

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

        Description copied from interface: Command

        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

      • insertNewRow

        public void insertNewRow()
      • deleteRow

        public void deleteRow()