public interface IUiSelectionManager
Modifier and Type | Method and Description |
---|---|
void |
activateWorksheetById(int worksheetId)
Selects sheet with given ID
|
int |
getActiveWorksheetId() |
IRangeAddress |
getSelection()
Gets the current cell or range selection
|
IUiSelectionInfo |
getSelectionInfo()
Gets the
IUiSelectionInfo with complex selection info |
boolean |
setSelection(int worksheetId,
IRangeAddress target)
Changes the current selection to the target cell(s) in specified worksheet
|
boolean |
setSelection(IRangeAddress target)
Changes the current selection to the target cell(s) in the active worksheet
|
boolean setSelection(int worksheetId, IRangeAddress target)
worksheetId
- is the worksheet IDtarget
- the range or single cell addresstrue
, if the call was successful, otherwise false
boolean setSelection(IRangeAddress target)
target
- the range or single cell addresstrue
if the call was successful, otherwise false
IRangeAddress getSelection()
CompletableFuture
IUiSelectionInfo getSelectionInfo()
IUiSelectionInfo
with complex selection infoCompletableFuture
of current IUiSelectionInfo
int getActiveWorksheetId()
void activateWorksheetById(int worksheetId)
worksheetId
- needed worksheet idCopyright © 2024. All rights reserved.