Interface SpreadsheetServerRpc
- All Superinterfaces:
GroupingHandler,SpreadsheetHandler
- All Known Implementing Classes:
SpreadsheetHandlerImpl
-
Method Summary
Modifier and TypeMethodDescriptionvoidactionOnColumnHeader(String actionKey) The action was selected from context menu for the column header.voidactionOnCurrentSelection(String actionKey) The action was selected from context menu for the current selection.voidactionOnRowHeader(String actionKey) The action was selected from context menu for the row header.voidcolumnHeaderContextMenuOpen(int columnIndex) Context menu should be created for the column.voidcontextMenuOpenOnSelection(int row, int column) Context menu should be created for the appropriate selection.voidCalled when the client side connector has been initialized.voidrowHeaderContextMenuOpen(int rowIndex) Context menu should be created for the row.Methods inherited from interface com.vaadin.flow.component.spreadsheet.client.GroupingHandler
levelHeaderClicked, setGroupingCollapsedMethods inherited from interface com.vaadin.flow.component.spreadsheet.client.SpreadsheetHandler
cellAddedToSelectionAndSelected, cellRangePainted, cellRangeSelected, cellsAddedToRangeSelection, cellSelected, cellValueEdited, clearSelectedCellsOnCut, columnAddedToSelection, columnResized, columnSelected, deleteSelectedCells, linkCellClicked, onColumnAutofit, onPaste, onRedo, onRowAutofit, onSheetScroll, onUndo, protectedCellWriteAttempted, rowAddedToRangeSelection, rowSelected, rowsResized, selectionDecreasePainted, selectionIncreasePainted, setCellStyleWidthRatios, sheetAddressChanged, sheetCreated, sheetRenamed, sheetSelected, updateCellComment
-
Method Details
-
onConnectorInit
void onConnectorInit()Called when the client side connector has been initialized. This is for making sure that the non-state related stuff is cleared from server side when needed, because non state stuff is not resent to client when the component is attached again. Thus this marks that cached should be cleared etc. -
contextMenuOpenOnSelection
void contextMenuOpenOnSelection(int row, int column) Context menu should be created for the appropriate selection.Selection can change if the cell at the given indexes isn't included in the previous selection.
- Parameters:
row- 1-basedcolumn- 1-based
-
actionOnCurrentSelection
The action was selected from context menu for the current selection.- Parameters:
actionKey-
-
rowHeaderContextMenuOpen
void rowHeaderContextMenuOpen(int rowIndex) Context menu should be created for the row.- Parameters:
rowIndex- 1-based
-
actionOnRowHeader
The action was selected from context menu for the row header.- Parameters:
actionKey-
-
columnHeaderContextMenuOpen
void columnHeaderContextMenuOpen(int columnIndex) Context menu should be created for the column.- Parameters:
columnIndex- 1-based
-
actionOnColumnHeader
The action was selected from context menu for the column header.- Parameters:
actionKey-
-