@univerjs/engine-formula v0.4.2 • Docs
Class: ActiveDirtyManagerService
Actively mark as dirty, calculate the dirty area based on the command, and plugins can register the ref range they affect into the formula engine.
Extends
Implements
Constructors
new ActiveDirtyManagerService()
new ActiveDirtyManagerService(): ActiveDirtyManagerService
Returns
Inherited from
Properties
Property | Modifier | Type | Default value | Inherited from | Defined in |
---|---|---|---|---|---|
_disposed | protected | boolean | false | Disposable ._disposed | packages/core/src/shared/lifecycle.ts:93 (opens in a new tab) |
Methods
dispose()
dispose(): void
Returns
void
Implementation of
IActiveDirtyManagerService
.dispose
Overrides
Defined in
packages/engine-formula/src/services/active-dirty-manager.service.ts:54 (opens in a new tab)
disposeWithMe()
disposeWithMe(disposable): IDisposable
Parameters
Parameter | Type |
---|---|
disposable | DisposableLike |
Returns
Inherited from
Defined in
packages/core/src/shared/lifecycle.ts:96 (opens in a new tab)
ensureNotDisposed()
protected ensureNotDisposed(): void
Returns
void
Inherited from
Defined in
packages/core/src/shared/lifecycle.ts:100 (opens in a new tab)
get()
get(commandId): undefined | IDirtyConversionManagerParams
Parameters
Parameter | Type |
---|---|
commandId | string |
Returns
undefined
| IDirtyConversionManagerParams
Implementation of
IActiveDirtyManagerService
.get
Defined in
packages/engine-formula/src/services/active-dirty-manager.service.ts:62 (opens in a new tab)
getDirtyConversionMap()
getDirtyConversionMap(): Map<string, IDirtyConversionManagerParams>
Returns
Map
<string
, IDirtyConversionManagerParams
>
Implementation of
IActiveDirtyManagerService
.getDirtyConversionMap
Defined in
packages/engine-formula/src/services/active-dirty-manager.service.ts:74 (opens in a new tab)
has()
has(commandId): boolean
Parameters
Parameter | Type |
---|---|
commandId | string |
Returns
boolean
Implementation of
IActiveDirtyManagerService
.has
Defined in
packages/engine-formula/src/services/active-dirty-manager.service.ts:66 (opens in a new tab)
register()
register(commandId, dirtyConversion): void
Parameters
Parameter | Type |
---|---|
commandId | string |
dirtyConversion | IDirtyConversionManagerParams |
Returns
void
Implementation of
IActiveDirtyManagerService
.register
Defined in
packages/engine-formula/src/services/active-dirty-manager.service.ts:70 (opens in a new tab)
remove()
remove(commandId): void
Parameters
Parameter | Type |
---|---|
commandId | string |
Returns
void
Implementation of
IActiveDirtyManagerService
.remove
Defined in
packages/engine-formula/src/services/active-dirty-manager.service.ts:58 (opens in a new tab)