com.vaadin.flow.component.spreadsheet.rpc.
Interface SpreadsheetServerRpc
-
All Superinterfaces:
All Known Implementing Classes:
public interface SpreadsheetServerRpc extends SpreadsheetHandler
-
-
Method Summary
All Methods Modifier and Type Method Description void
actionOnColumnHeader(String actionKey)
The action was selected from context menu for the column header.
void
actionOnCurrentSelection(String actionKey)
The action was selected from context menu for the current selection.
void
actionOnRowHeader(String actionKey)
The action was selected from context menu for the row header.
void
columnHeaderContextMenuOpen(int columnIndex)
Context menu should be created for the column.
void
contextMenuOpenOnSelection(int row, int column)
Context menu should be created for the appropriate selection.
void
onConnectorInit()
Called when the client side connector has been initialized.
void
rowHeaderContextMenuOpen(int rowIndex)
Context menu should be created for the row.
-
Methods inherited from interface com.vaadin.flow.component.spreadsheet.client.GroupingHandler
levelHeaderClicked, setGroupingCollapsed
-
Methods 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 Detail
-
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
void actionOnCurrentSelection(String actionKey)
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
void actionOnRowHeader(String actionKey)
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
void actionOnColumnHeader(String actionKey)
The action was selected from context menu for the column header.
Parameters:
actionKey
-
-
-