Class SpreadsheetServerRpcImpl
- java.lang.Object
-
- com.vaadin.component.spreadsheet.client.js.SpreadsheetServerRpcImpl
-
- All Implemented Interfaces:
GroupingWidget.GroupingHandler,PopupButtonServerRpc,SpreadsheetHandler,SpreadsheetServerRpc,com.vaadin.shared.communication.ServerRpc,Serializable
public class SpreadsheetServerRpcImpl extends Object implements SpreadsheetServerRpc, PopupButtonServerRpc
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceSpreadsheetServerRpcImpl.JsConsumer<T>
-
Constructor Summary
Constructors Constructor Description SpreadsheetServerRpcImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidactionOnColumnHeader(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.voidcellAddedToSelectionAndSelected(int row, int column)Single cell added to selection.voidcellRangePainted(int selectedCellRow, int selectedCellColumn, int row1, int col1, int row2, int col2)Cell range selected by paintingvoidcellRangeSelected(int row1, int col1, int row2, int col2)Cell range selected from scratch.voidcellsAddedToRangeSelection(int row1, int col1, int row2, int col2)Multiple cells added to previous range selection.voidcellSelected(int row, int column, boolean oldSelectionRangeDiscarded)Single cell selected inside sheet.voidcellValueEdited(int row, int col, String value)voidclearSelectedCellsOnCut()Called after successful cut operation; currently selected cells should be clearedvoidcolumnAddedToSelection(int firstRowIndex, int column)Complete column added to previous range selection.voidcolumnHeaderContextMenuOpen(int columnIndex)Context menu should be created for the column.voidcolumnResized(Map<Integer,Integer> newColumnSizes, int row1, int col1, int row2, int col2)Columns resized with drag and drop.voidcolumnSelected(int column, int firstRowIndex)Complete column selected.voidcontextMenuOpenOnSelection(int row, int column)Context menu should be created for the appropriate selection.voiddeleteSelectedCells()Delete the contents of the selected cells, do not remove style/formatting.voidlevelHeaderClicked(boolean cols, int level)voidlinkCellClicked(int row, int column)A cell containing a hyperlink has been clicked.voidonColumnAutofit(int columnIndex)Column autofit with double click on the column header resizing area.voidonConnectorInit()Called when the client side connector has been initialized.voidonPaste(String text)Client pasted text at current selection.voidonPopupButtonClick(int row, int column)Called when the button has been clicked, and the pop-up has been opened.voidonPopupClose(int row, int column)Called after the pop-up has been closed.voidonRedo()Client pressed redo ctrl/meta+yvoidonRowAutofit(int rowIndex)Row autofit with double click on the row header resizing area.voidonSheetScroll(int firstRow, int firstColumn, int lastRow, int lastColumn)These cells have become visible and possibly need the content, if has not been given previously or has not changed.voidonUndo()Client pressed undo ctrl/meta+zvoidprotectedCellWriteAttempted()Client tried to modify protected cellvoidrowAddedToRangeSelection(int row, int firstColumnIndex)Complete row added to previous range selection.voidrowHeaderContextMenuOpen(int rowIndex)Context menu should be created for the row.voidrowSelected(int row, int firstColumnIndex)Complete row selected.voidrowsResized(Map<Integer,Float> newRowSizes, int row1, int col1, int row2, int col2)Rows resized with header drag and drop.voidselectionDecreasePainted(int row, int col)The existing selection has been painted inwards meaning that the painted selection cells should be cleared.voidselectionIncreasePainted(int r1, int c1, int r2, int c2)The new selection that was painted from the old.voidsetActionOnColumnHeaderCallback(SpreadsheetServerRpcImpl.JsConsumer<String> callback)voidsetActionOnCurrentSelectionCallback(SpreadsheetServerRpcImpl.JsConsumer<String> callback)voidsetActionOnRowHeaderCallback(SpreadsheetServerRpcImpl.JsConsumer<String> callback)voidsetCellAddedToSelectionAndSelectedCallback(SpreadsheetServerRpcImpl.JsConsumer<String> callback)voidsetCellRangePaintedCallback(SpreadsheetServerRpcImpl.JsConsumer<String> callback)voidsetCellRangeSelectedCallback(SpreadsheetServerRpcImpl.JsConsumer<String> callback)voidsetCellsAddedToRangeSelectionCallback(SpreadsheetServerRpcImpl.JsConsumer<String> callback)voidsetCellSelectedCallback(SpreadsheetServerRpcImpl.JsConsumer<String> callback)voidsetCellStyleWidthRatios(HashMap<Integer,Float> cellStyleWidthRatioMap)voidsetCellValueEditedCallback(SpreadsheetServerRpcImpl.JsConsumer<String> callback)voidsetClearSelectedCellsOnCutCallback(SpreadsheetServerRpcImpl.JsConsumer<Void> callback)voidsetColumnAddedToSelectionCallback(SpreadsheetServerRpcImpl.JsConsumer<String> callback)voidsetColumnHeaderContextMenuOpenCallback(SpreadsheetServerRpcImpl.JsConsumer<Integer> callback)voidsetColumnResizedCallback(SpreadsheetServerRpcImpl.JsConsumer<String> callback)voidsetColumnSelectedCallback(SpreadsheetServerRpcImpl.JsConsumer<String> callback)voidsetContextMenuOpenOnSelectionCallback(SpreadsheetServerRpcImpl.JsConsumer<String> callback)voidsetDeleteSelectedCellsCallback(SpreadsheetServerRpcImpl.JsConsumer<String> callback)voidsetGroupingCollapsed(boolean cols, int colIndex, boolean collapsed)voidsetGroupingCollapsedCallback(SpreadsheetServerRpcImpl.JsConsumer<String> callback)voidsetLevelHeaderClickedCallback(SpreadsheetServerRpcImpl.JsConsumer<String> callback)voidsetLinkCellClickedCallback(SpreadsheetServerRpcImpl.JsConsumer<String> callback)voidsetOnColumnAutofitCallback(SpreadsheetServerRpcImpl.JsConsumer<Integer> callback)voidsetOnConnectorInitCallback(SpreadsheetServerRpcImpl.JsConsumer<Void> callback)voidsetOnPasteCallback(SpreadsheetServerRpcImpl.JsConsumer<String> callback)voidsetOnRedoCallback(SpreadsheetServerRpcImpl.JsConsumer<Void> callback)voidsetOnRowAutofitCallback(SpreadsheetServerRpcImpl.JsConsumer<Integer> callback)voidsetOnSheetScrollCallback(SpreadsheetServerRpcImpl.JsConsumer<String> callback)voidsetOnUndoCallback(SpreadsheetServerRpcImpl.JsConsumer<Void> callback)voidsetPopupButtonClickCallback(SpreadsheetServerRpcImpl.JsConsumer<Void> popupButtonClickCallback)voidsetPopupCloseCallback(SpreadsheetServerRpcImpl.JsConsumer<Void> popupCloseCallback)voidsetProtectedCellWriteAttemptedCallback(SpreadsheetServerRpcImpl.JsConsumer<Void> callback)voidsetRowAddedToRangeSelectionCallback(SpreadsheetServerRpcImpl.JsConsumer<String> callback)voidsetRowHeaderContextMenuOpenCallback(SpreadsheetServerRpcImpl.JsConsumer<Integer> callback)voidsetRowSelectedCallback(SpreadsheetServerRpcImpl.JsConsumer<String> callback)voidsetRowsResizedCallback(SpreadsheetServerRpcImpl.JsConsumer<String> callback)voidsetSelectionDecreasePaintedCallback(SpreadsheetServerRpcImpl.JsConsumer<String> callback)voidsetSelectionIncreasePaintedCallback(SpreadsheetServerRpcImpl.JsConsumer<String> callback)voidsetSetCellStyleWidthRatiosCallback(SpreadsheetServerRpcImpl.JsConsumer<String> callback)voidsetSheetAddressChangedCallback(SpreadsheetServerRpcImpl.JsConsumer<String> callback)voidsetSheetCreatedCallback(SpreadsheetServerRpcImpl.JsConsumer<String> callback)voidsetSheetRenamedCallback(SpreadsheetServerRpcImpl.JsConsumer<String> callback)voidsetSheetSelectedCallback(SpreadsheetServerRpcImpl.JsConsumer<String> callback)voidsetUpdateCellCommentCallback(SpreadsheetServerRpcImpl.JsConsumer<String> callback)voidsheetAddressChanged(String value)Address field value changed.voidsheetCreated(int scrollLeft, int scrollTop)Sheet is created as the last sheetvoidsheetRenamed(int sheetIndex, String newName)voidsheetSelected(int sheetIndex, int scrollLeft, int scrollTop)voidupdateCellComment(String text, int col, int row)
-
-
-
Method Detail
-
setGroupingCollapsedCallback
public void setGroupingCollapsedCallback(SpreadsheetServerRpcImpl.JsConsumer<String> callback)
-
setLevelHeaderClickedCallback
public void setLevelHeaderClickedCallback(SpreadsheetServerRpcImpl.JsConsumer<String> callback)
-
setOnSheetScrollCallback
public void setOnSheetScrollCallback(SpreadsheetServerRpcImpl.JsConsumer<String> callback)
-
setSheetAddressChangedCallback
public void setSheetAddressChangedCallback(SpreadsheetServerRpcImpl.JsConsumer<String> callback)
-
setCellSelectedCallback
public void setCellSelectedCallback(SpreadsheetServerRpcImpl.JsConsumer<String> callback)
-
setCellRangeSelectedCallback
public void setCellRangeSelectedCallback(SpreadsheetServerRpcImpl.JsConsumer<String> callback)
-
setCellAddedToSelectionAndSelectedCallback
public void setCellAddedToSelectionAndSelectedCallback(SpreadsheetServerRpcImpl.JsConsumer<String> callback)
-
setCellsAddedToRangeSelectionCallback
public void setCellsAddedToRangeSelectionCallback(SpreadsheetServerRpcImpl.JsConsumer<String> callback)
-
setRowSelectedCallback
public void setRowSelectedCallback(SpreadsheetServerRpcImpl.JsConsumer<String> callback)
-
setRowAddedToRangeSelectionCallback
public void setRowAddedToRangeSelectionCallback(SpreadsheetServerRpcImpl.JsConsumer<String> callback)
-
setColumnSelectedCallback
public void setColumnSelectedCallback(SpreadsheetServerRpcImpl.JsConsumer<String> callback)
-
setColumnAddedToSelectionCallback
public void setColumnAddedToSelectionCallback(SpreadsheetServerRpcImpl.JsConsumer<String> callback)
-
setSelectionIncreasePaintedCallback
public void setSelectionIncreasePaintedCallback(SpreadsheetServerRpcImpl.JsConsumer<String> callback)
-
setSelectionDecreasePaintedCallback
public void setSelectionDecreasePaintedCallback(SpreadsheetServerRpcImpl.JsConsumer<String> callback)
-
setCellValueEditedCallback
public void setCellValueEditedCallback(SpreadsheetServerRpcImpl.JsConsumer<String> callback)
-
setSheetSelectedCallback
public void setSheetSelectedCallback(SpreadsheetServerRpcImpl.JsConsumer<String> callback)
-
setSheetRenamedCallback
public void setSheetRenamedCallback(SpreadsheetServerRpcImpl.JsConsumer<String> callback)
-
setSheetCreatedCallback
public void setSheetCreatedCallback(SpreadsheetServerRpcImpl.JsConsumer<String> callback)
-
setCellRangePaintedCallback
public void setCellRangePaintedCallback(SpreadsheetServerRpcImpl.JsConsumer<String> callback)
-
setDeleteSelectedCellsCallback
public void setDeleteSelectedCellsCallback(SpreadsheetServerRpcImpl.JsConsumer<String> callback)
-
setLinkCellClickedCallback
public void setLinkCellClickedCallback(SpreadsheetServerRpcImpl.JsConsumer<String> callback)
-
setRowsResizedCallback
public void setRowsResizedCallback(SpreadsheetServerRpcImpl.JsConsumer<String> callback)
-
setColumnResizedCallback
public void setColumnResizedCallback(SpreadsheetServerRpcImpl.JsConsumer<String> callback)
-
setOnRowAutofitCallback
public void setOnRowAutofitCallback(SpreadsheetServerRpcImpl.JsConsumer<Integer> callback)
-
setOnColumnAutofitCallback
public void setOnColumnAutofitCallback(SpreadsheetServerRpcImpl.JsConsumer<Integer> callback)
-
setOnUndoCallback
public void setOnUndoCallback(SpreadsheetServerRpcImpl.JsConsumer<Void> callback)
-
setOnRedoCallback
public void setOnRedoCallback(SpreadsheetServerRpcImpl.JsConsumer<Void> callback)
-
setSetCellStyleWidthRatiosCallback
public void setSetCellStyleWidthRatiosCallback(SpreadsheetServerRpcImpl.JsConsumer<String> callback)
-
setProtectedCellWriteAttemptedCallback
public void setProtectedCellWriteAttemptedCallback(SpreadsheetServerRpcImpl.JsConsumer<Void> callback)
-
setOnPasteCallback
public void setOnPasteCallback(SpreadsheetServerRpcImpl.JsConsumer<String> callback)
-
setClearSelectedCellsOnCutCallback
public void setClearSelectedCellsOnCutCallback(SpreadsheetServerRpcImpl.JsConsumer<Void> callback)
-
setUpdateCellCommentCallback
public void setUpdateCellCommentCallback(SpreadsheetServerRpcImpl.JsConsumer<String> callback)
-
setOnConnectorInitCallback
public void setOnConnectorInitCallback(SpreadsheetServerRpcImpl.JsConsumer<Void> callback)
-
setContextMenuOpenOnSelectionCallback
public void setContextMenuOpenOnSelectionCallback(SpreadsheetServerRpcImpl.JsConsumer<String> callback)
-
setActionOnCurrentSelectionCallback
public void setActionOnCurrentSelectionCallback(SpreadsheetServerRpcImpl.JsConsumer<String> callback)
-
setRowHeaderContextMenuOpenCallback
public void setRowHeaderContextMenuOpenCallback(SpreadsheetServerRpcImpl.JsConsumer<Integer> callback)
-
setActionOnRowHeaderCallback
public void setActionOnRowHeaderCallback(SpreadsheetServerRpcImpl.JsConsumer<String> callback)
-
setColumnHeaderContextMenuOpenCallback
public void setColumnHeaderContextMenuOpenCallback(SpreadsheetServerRpcImpl.JsConsumer<Integer> callback)
-
setActionOnColumnHeaderCallback
public void setActionOnColumnHeaderCallback(SpreadsheetServerRpcImpl.JsConsumer<String> callback)
-
setPopupCloseCallback
public void setPopupCloseCallback(SpreadsheetServerRpcImpl.JsConsumer<Void> popupCloseCallback)
-
setPopupButtonClickCallback
public void setPopupButtonClickCallback(SpreadsheetServerRpcImpl.JsConsumer<Void> popupButtonClickCallback)
-
setGroupingCollapsed
public void setGroupingCollapsed(boolean cols, int colIndex, boolean collapsed)- Specified by:
setGroupingCollapsedin interfaceGroupingWidget.GroupingHandler
-
levelHeaderClicked
public void levelHeaderClicked(boolean cols, int level)- Specified by:
levelHeaderClickedin interfaceGroupingWidget.GroupingHandler
-
onSheetScroll
public void onSheetScroll(int firstRow, int firstColumn, int lastRow, int lastColumn)Description copied from interface:SpreadsheetHandlerThese cells have become visible and possibly need the content, if has not been given previously or has not changed.- Specified by:
onSheetScrollin interfaceSpreadsheetHandler
-
sheetAddressChanged
public void sheetAddressChanged(String value)
Description copied from interface:SpreadsheetHandlerAddress field value changed.- Specified by:
sheetAddressChangedin interfaceSpreadsheetHandler
-
cellSelected
public void cellSelected(int row, int column, boolean oldSelectionRangeDiscarded)Description copied from interface:SpreadsheetHandlerSingle cell selected inside sheet.- Specified by:
cellSelectedin interfaceSpreadsheetHandler
-
cellRangeSelected
public void cellRangeSelected(int row1, int col1, int row2, int col2)Description copied from interface:SpreadsheetHandlerCell range selected from scratch. Actual selected cell not changed.- Specified by:
cellRangeSelectedin interfaceSpreadsheetHandler
-
cellAddedToSelectionAndSelected
public void cellAddedToSelectionAndSelected(int row, int column)Description copied from interface:SpreadsheetHandlerSingle cell added to selection. Selection changed to this.- Specified by:
cellAddedToSelectionAndSelectedin interfaceSpreadsheetHandler
-
cellsAddedToRangeSelection
public void cellsAddedToRangeSelection(int row1, int col1, int row2, int col2)Description copied from interface:SpreadsheetHandlerMultiple cells added to previous range selection. Actual selected cell not changed.- Specified by:
cellsAddedToRangeSelectionin interfaceSpreadsheetHandler
-
rowSelected
public void rowSelected(int row, int firstColumnIndex)Description copied from interface:SpreadsheetHandlerComplete row selected. New selected cell is at firstColumnIndex:row.- Specified by:
rowSelectedin interfaceSpreadsheetHandler- Parameters:
row- the row that was selectedfirstColumnIndex- column index for the selected cell (left most visible)
-
rowAddedToRangeSelection
public void rowAddedToRangeSelection(int row, int firstColumnIndex)Description copied from interface:SpreadsheetHandlerComplete row added to previous range selection. New selected cell is at firstColumnIndex:row.- Specified by:
rowAddedToRangeSelectionin interfaceSpreadsheetHandler- Parameters:
row- the row that was selectedfirstColumnIndex- column index for the selected cell (left most visible)
-
columnSelected
public void columnSelected(int column, int firstRowIndex)Description copied from interface:SpreadsheetHandlerComplete column selected. New selected cell is at column:firstRowIndex.- Specified by:
columnSelectedin interfaceSpreadsheetHandler- Parameters:
column- the column that was selectedfirstRowIndex- row index for the selected cell (top most visible)
-
columnAddedToSelection
public void columnAddedToSelection(int firstRowIndex, int column)Description copied from interface:SpreadsheetHandlerComplete column added to previous range selection. New selected cell is at column:firstRowIndex.- Specified by:
columnAddedToSelectionin interfaceSpreadsheetHandler- Parameters:
firstRowIndex- row index for the selected cell (top most)column- the column that was selected
-
selectionIncreasePainted
public void selectionIncreasePainted(int r1, int c1, int r2, int c2)Description copied from interface:SpreadsheetHandlerThe new selection that was painted from the old. Values and formulas should be painted to the new selection.- Specified by:
selectionIncreasePaintedin interfaceSpreadsheetHandler- Parameters:
r1- new selection top, 1-basedc1- new selection left, 1-basedr2- new selection bottom, 1-basedc2- new selection right, 1-based
-
selectionDecreasePainted
public void selectionDecreasePainted(int row, int col)Description copied from interface:SpreadsheetHandlerThe existing selection has been painted inwards meaning that the painted selection cells should be cleared.- Specified by:
selectionDecreasePaintedin interfaceSpreadsheetHandler- Parameters:
row- topmost cell index where the clearing starts, 1-basedcol- leftmost cell index where the clearing starts, 1-based
-
cellValueEdited
public void cellValueEdited(int row, int col, String value)- Specified by:
cellValueEditedin interfaceSpreadsheetHandler
-
sheetSelected
public void sheetSelected(int sheetIndex, int scrollLeft, int scrollTop)- Specified by:
sheetSelectedin interfaceSpreadsheetHandler- Parameters:
sheetIndex- 0-based
-
sheetRenamed
public void sheetRenamed(int sheetIndex, String newName)- Specified by:
sheetRenamedin interfaceSpreadsheetHandler- Parameters:
sheetIndex- 0-based
-
sheetCreated
public void sheetCreated(int scrollLeft, int scrollTop)Description copied from interface:SpreadsheetHandlerSheet is created as the last sheet- Specified by:
sheetCreatedin interfaceSpreadsheetHandler
-
cellRangePainted
public void cellRangePainted(int selectedCellRow, int selectedCellColumn, int row1, int col1, int row2, int col2)Description copied from interface:SpreadsheetHandlerCell range selected by painting- Specified by:
cellRangePaintedin interfaceSpreadsheetHandler
-
deleteSelectedCells
public void deleteSelectedCells()
Description copied from interface:SpreadsheetHandlerDelete the contents of the selected cells, do not remove style/formatting.- Specified by:
deleteSelectedCellsin interfaceSpreadsheetHandler
-
linkCellClicked
public void linkCellClicked(int row, int column)Description copied from interface:SpreadsheetHandlerA cell containing a hyperlink has been clicked.- Specified by:
linkCellClickedin interfaceSpreadsheetHandler- Parameters:
row- 1-basedcolumn- 1-based
-
rowsResized
public void rowsResized(Map<Integer,Float> newRowSizes, int row1, int col1, int row2, int col2)
Description copied from interface:SpreadsheetHandlerRows resized with header drag and drop. Indexes 1-based.- Specified by:
rowsResizedin interfaceSpreadsheetHandler- Parameters:
newRowSizes- row index and new size (converted pt)
-
columnResized
public void columnResized(Map<Integer,Integer> newColumnSizes, int row1, int col1, int row2, int col2)
Description copied from interface:SpreadsheetHandlerColumns resized with drag and drop. Indexes 1-based.- Specified by:
columnResizedin interfaceSpreadsheetHandler- Parameters:
newColumnSizes- column index and new size (px)
-
onRowAutofit
public void onRowAutofit(int rowIndex)
Description copied from interface:SpreadsheetHandlerRow autofit with double click on the row header resizing area.- Specified by:
onRowAutofitin interfaceSpreadsheetHandler- Parameters:
rowIndex- 1-based
-
onColumnAutofit
public void onColumnAutofit(int columnIndex)
Description copied from interface:SpreadsheetHandlerColumn autofit with double click on the column header resizing area.- Specified by:
onColumnAutofitin interfaceSpreadsheetHandler- Parameters:
columnIndex- 1-based
-
onUndo
public void onUndo()
Description copied from interface:SpreadsheetHandlerClient pressed undo ctrl/meta+z- Specified by:
onUndoin interfaceSpreadsheetHandler
-
onRedo
public void onRedo()
Description copied from interface:SpreadsheetHandlerClient pressed redo ctrl/meta+y- Specified by:
onRedoin interfaceSpreadsheetHandler
-
setCellStyleWidthRatios
public void setCellStyleWidthRatios(HashMap<Integer,Float> cellStyleWidthRatioMap)
- Specified by:
setCellStyleWidthRatiosin interfaceSpreadsheetHandler
-
protectedCellWriteAttempted
public void protectedCellWriteAttempted()
Description copied from interface:SpreadsheetHandlerClient tried to modify protected cell- Specified by:
protectedCellWriteAttemptedin interfaceSpreadsheetHandler
-
onPaste
public void onPaste(String text)
Description copied from interface:SpreadsheetHandlerClient pasted text at current selection.- Specified by:
onPastein interfaceSpreadsheetHandler
-
clearSelectedCellsOnCut
public void clearSelectedCellsOnCut()
Description copied from interface:SpreadsheetHandlerCalled after successful cut operation; currently selected cells should be cleared- Specified by:
clearSelectedCellsOnCutin interfaceSpreadsheetHandler
-
updateCellComment
public void updateCellComment(String text, int col, int row)
- Specified by:
updateCellCommentin interfaceSpreadsheetHandler
-
onConnectorInit
public void onConnectorInit()
Description copied from interface:SpreadsheetServerRpcCalled 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.- Specified by:
onConnectorInitin interfaceSpreadsheetServerRpc
-
contextMenuOpenOnSelection
public void contextMenuOpenOnSelection(int row, int column)Description copied from interface:SpreadsheetServerRpcContext 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.
- Specified by:
contextMenuOpenOnSelectionin interfaceSpreadsheetServerRpc- Parameters:
row- 1-basedcolumn- 1-based
-
actionOnCurrentSelection
public void actionOnCurrentSelection(String actionKey)
Description copied from interface:SpreadsheetServerRpcThe action was selected from context menu for the current selection.- Specified by:
actionOnCurrentSelectionin interfaceSpreadsheetServerRpc
-
rowHeaderContextMenuOpen
public void rowHeaderContextMenuOpen(int rowIndex)
Description copied from interface:SpreadsheetServerRpcContext menu should be created for the row.- Specified by:
rowHeaderContextMenuOpenin interfaceSpreadsheetServerRpc- Parameters:
rowIndex- 1-based
-
actionOnRowHeader
public void actionOnRowHeader(String actionKey)
Description copied from interface:SpreadsheetServerRpcThe action was selected from context menu for the row header.- Specified by:
actionOnRowHeaderin interfaceSpreadsheetServerRpc
-
columnHeaderContextMenuOpen
public void columnHeaderContextMenuOpen(int columnIndex)
Description copied from interface:SpreadsheetServerRpcContext menu should be created for the column.- Specified by:
columnHeaderContextMenuOpenin interfaceSpreadsheetServerRpc- Parameters:
columnIndex- 1-based
-
actionOnColumnHeader
public void actionOnColumnHeader(String actionKey)
Description copied from interface:SpreadsheetServerRpcThe action was selected from context menu for the column header.- Specified by:
actionOnColumnHeaderin interfaceSpreadsheetServerRpc
-
onPopupButtonClick
public void onPopupButtonClick(int row, int column)Description copied from interface:PopupButtonServerRpcCalled when the button has been clicked, and the pop-up has been opened.- Specified by:
onPopupButtonClickin interfacePopupButtonServerRpc
-
onPopupClose
public void onPopupClose(int row, int column)Description copied from interface:PopupButtonServerRpcCalled after the pop-up has been closed.- Specified by:
onPopupClosein interfacePopupButtonServerRpc
-
-