Interface: ISheetSelectionRenderService
Defined in: submodules/univer/packages/sheets-ui/src/services/selection/base-selection-render.service.ts:50
Properties
Property | Modifier | Type | Defined in |
---|---|---|---|
controlFillConfig$ | readonly | Observable <null | IControlFillConfig > | submodules/univer/packages/sheets-ui/src/services/selection/base-selection-render.service.ts:52 |
interceptor | public | InterceptorManager <{ RANGE_FILL_PERMISSION_CHECK : IInterceptor <boolean , { scene : Scene ; skeleton : SpreadsheetSkeleton ; x : number ; y : number ; }>; RANGE_MOVE_PERMISSION_CHECK : IInterceptor <boolean , null >; }> | submodules/univer/packages/sheets-ui/src/services/selection/base-selection-render.service.ts:58 |
selectionMoveEnd$ | readonly | Observable <ISelectionWithCoord []> | submodules/univer/packages/sheets-ui/src/services/selection/base-selection-render.service.ts:51 |
selectionMoveStart$ | readonly | Observable <ISelectionWithCoord []> | submodules/univer/packages/sheets-ui/src/services/selection/base-selection-render.service.ts:54 |
selectionMoving$ | readonly | Observable <ISelectionWithCoord []> | submodules/univer/packages/sheets-ui/src/services/selection/base-selection-render.service.ts:53 |
Accessors
selectionMoving
Get Signature
get selectionMoving(): boolean
Defined in: submodules/univer/packages/sheets-ui/src/services/selection/base-selection-render.service.ts:56
Returns
boolean
Methods
attachPrimaryWithCoord()
attachPrimaryWithCoord(primary): Nullable<ICellWithCoord>
Defined in: submodules/univer/packages/sheets-ui/src/services/selection/base-selection-render.service.ts:76
Parameters
Parameter | Type |
---|---|
primary | Nullable <Partial <ICellInfo >> |
Returns
Deprecated
Use the function attachPrimaryWithCoord
instead`.
attachSelectionWithCoord()
attachSelectionWithCoord(selectionWithStyle): ISelectionWithCoord
Defined in: submodules/univer/packages/sheets-ui/src/services/selection/base-selection-render.service.ts:74
Parameters
Parameter | Type |
---|---|
selectionWithStyle | ISelectionWithStyle |
Returns
Deprecated
Use the function attachSelectionWithCoord
instead.
getCellWithCoordByOffset()
getCellWithCoordByOffset(
x,
y,
skeleton?): Nullable<ICellWithCoord>
Defined in: submodules/univer/packages/sheets-ui/src/services/selection/base-selection-render.service.ts:83
Parameters
Parameter | Type |
---|---|
x | number |
y | number |
skeleton ? | SpreadsheetSkeleton |
Returns
getSelectionCellByPosition()
getSelectionCellByPosition(x, y): ICellWithCoord
Defined in: submodules/univer/packages/sheets-ui/src/services/selection/base-selection-render.service.ts:81
Parameters
Parameter | Type |
---|---|
x | number |
y | number |
Returns
Deprecated
Please use getCellWithCoordByOffset
instead.
getSelectionControls()
getSelectionControls(): SelectionControl[]
Defined in: submodules/univer/packages/sheets-ui/src/services/selection/base-selection-render.service.ts:68
Returns
getSkeleton()
getSkeleton(): SpreadsheetSkeleton
Defined in: submodules/univer/packages/sheets-ui/src/services/selection/base-selection-render.service.ts:66
Returns
getViewPort()
getViewPort(): Viewport
Defined in: submodules/univer/packages/sheets-ui/src/services/selection/base-selection-render.service.ts:64
Returns
Deprecated
This should not be provided by the selection render service.
refreshSelectionMoveEnd()
refreshSelectionMoveEnd(): void
Defined in: submodules/univer/packages/sheets-ui/src/services/selection/base-selection-render.service.ts:87
Returns
void
setSingleSelectionEnabled()
setSingleSelectionEnabled(enabled): void
Defined in: submodules/univer/packages/sheets-ui/src/services/selection/base-selection-render.service.ts:85
Parameters
Parameter | Type |
---|---|
enabled | boolean |
Returns
void