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

Class EditCellCommentAction

  • All Implemented Interfaces:

    Serializable

    public class EditCellCommentAction
    extends SpreadsheetAction

    Spreadsheet action for inserting or deleting a comment to a cell.

    Since:

    1.0

    Author:

    Vaadin Ltd.

    See Also:

    Serialized Form

    • Constructor Detail

      • EditCellCommentAction

        public EditCellCommentAction()
    • Method Detail

      • isApplicableForHeader

        public boolean isApplicableForHeader​(Spreadsheet spreadsheet,
                                             org.apache.poi.ss.util.CellRangeAddress headerRange)

        Description copied from class: SpreadsheetAction

        Returns true if this action is possible for the given row/column header.

        Specified by:

        isApplicableForHeader in class SpreadsheetAction

        Parameters:

        spreadsheet - Target spreadsheet

        headerRange - Target column/row header range

        Returns:

        true if it's possible to execute this action

      • executeActionOnHeader

        public void executeActionOnHeader​(Spreadsheet spreadsheet,
                                          org.apache.poi.ss.util.CellRangeAddress headerRange)

        Description copied from class: SpreadsheetAction

        Execute this action on the given spreadsheet and row/column header.

        Specified by:

        executeActionOnHeader in class SpreadsheetAction

        Parameters:

        spreadsheet - Target spreadsheet

        headerRange - Target header range