Class: MarkSelectionService
Defined in: submodules/univer/packages/sheets-ui/src/services/mark-selection/mark-selection.service.ts:53
For copy and cut selection. also for selection when hover on conditional format items in the cf panel on the right. NOT FOR hovering on panel in data validation.
Extends
Implements
Constructors
new MarkSelectionService()
new MarkSelectionService(
_currentService,
_renderManagerService,
_themeService): MarkSelectionService
Defined in: submodules/univer/packages/sheets-ui/src/services/mark-selection/mark-selection.service.ts:56
Parameters
Parameter | Type |
---|---|
_currentService | IUniverInstanceService |
_renderManagerService | IRenderManagerService |
_themeService | ThemeService |
Returns
Overrides
Properties
Property | Modifier | Type | Default value | Inherited from | Defined in |
---|---|---|---|---|---|
_disposed | protected | boolean | false | Disposable ._disposed | submodules/univer/packages/core/src/shared/lifecycle.ts:96 |
Methods
addShape()
addShape(
selection,
exits,
zIndex): null | string
Defined in: submodules/univer/packages/sheets-ui/src/services/mark-selection/mark-selection.service.ts:64
Parameters
Parameter | Type | Default value |
---|---|---|
selection | ISelectionWithStyle | undefined |
exits | string [] | [] |
zIndex | number | DEFAULT_Z_INDEX |
Returns
null
| string
Implementation of
IMarkSelectionService
.addShape
addShapeWithNoFresh()
addShapeWithNoFresh(
selection,
exits,
zIndex): null | string
Defined in: submodules/univer/packages/sheets-ui/src/services/mark-selection/mark-selection.service.ts:84
Parameters
Parameter | Type | Default value |
---|---|---|
selection | ISelectionWithStyle | undefined |
exits | string [] | [] |
zIndex | number | DEFAULT_Z_INDEX |
Returns
null
| string
Implementation of
IMarkSelectionService
.addShapeWithNoFresh
dispose()
dispose(): void
Defined in: submodules/univer/packages/core/src/shared/lifecycle.ts:109
Returns
void
Inherited from
disposeWithMe()
disposeWithMe(disposable): IDisposable
Defined in: submodules/univer/packages/core/src/shared/lifecycle.ts:99
Parameters
Parameter | Type |
---|---|
disposable | DisposableLike |
Returns
Inherited from
ensureNotDisposed()
protected ensureNotDisposed(): void
Defined in: submodules/univer/packages/core/src/shared/lifecycle.ts:103
Returns
void
Inherited from
getShapeMap()
getShapeMap(): Map<string, IMarkSelectionInfo>
Defined in: submodules/univer/packages/sheets-ui/src/services/mark-selection/mark-selection.service.ts:135
Returns
Map
<string
, IMarkSelectionInfo
>
Implementation of
IMarkSelectionService
.getShapeMap
refreshShapes()
refreshShapes(): void
Defined in: submodules/univer/packages/sheets-ui/src/services/mark-selection/mark-selection.service.ts:101
Returns
void
Implementation of
IMarkSelectionService
.refreshShapes
removeAllShapes()
removeAllShapes(): void
Defined in: submodules/univer/packages/sheets-ui/src/services/mark-selection/mark-selection.service.ts:147
Returns
void
Implementation of
IMarkSelectionService
.removeAllShapes
removeShape()
removeShape(id): void
Defined in: submodules/univer/packages/sheets-ui/src/services/mark-selection/mark-selection.service.ts:139
Parameters
Parameter | Type |
---|---|
id | string |
Returns
void