@univerjssheetsindexclassesBorderstylemanagerservice

@univerjs/sheets v0.5.4


Class: BorderStyleManagerService

Defined in: submodules/univer/packages/sheets/src/services/border-style-manager.service.ts:31

This service is for managing settings border style status.

Implements

Constructors

new BorderStyleManagerService()

new BorderStyleManagerService(): BorderStyleManagerService

Returns

BorderStyleManagerService

Properties

PropertyModifierTypeDefined in
borderInfo$readonlyObservable<IBorderInfo>submodules/univer/packages/sheets/src/services/border-style-manager.service.ts:40

Methods

dispose()

dispose(): void

Defined in: submodules/univer/packages/sheets/src/services/border-style-manager.service.ts:42

Returns

void

Implementation of

IDisposable.dispose


getBorderInfo()

getBorderInfo(): Readonly<IBorderInfo>

Defined in: submodules/univer/packages/sheets/src/services/border-style-manager.service.ts:66

Returns

Readonly<IBorderInfo>


setActiveBorderType()

setActiveBorderType(status): void

Defined in: submodules/univer/packages/sheets/src/services/border-style-manager.service.ts:62

Parameters

ParameterType
statusboolean

Returns

void


setColor()

setColor(color): void

Defined in: submodules/univer/packages/sheets/src/services/border-style-manager.service.ts:52

Parameters

ParameterType
colorstring

Returns

void


setStyle()

setStyle(style): void

Defined in: submodules/univer/packages/sheets/src/services/border-style-manager.service.ts:57

Parameters

ParameterType
styleBorderStyleTypes

Returns

void


setType()

setType(type): void

Defined in: submodules/univer/packages/sheets/src/services/border-style-manager.service.ts:46

Parameters

ParameterType
typeBorderType

Returns

void