@univerjsengine-renderclassesSpreadsheetrowheader

@univerjs/engine-render v0.5.0-beta.1 • Docs


Class: SpreadsheetRowHeader

Extends

Constructors

new SpreadsheetRowHeader()

new SpreadsheetRowHeader(oKey, spreadsheetSkeleton?): SpreadsheetRowHeader

Parameters

ParameterType
oKeystring
spreadsheetSkeleton?SpreadsheetSkeleton

Returns

SpreadsheetRowHeader

Overrides

SpreadsheetHeader.constructor

Defined in

packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/components/sheets/row-header.ts:40

Properties

PropertyModifierTypeDefault valueInherited fromDefined in
_dirtyprotectedbooleantrueSpreadsheetHeader._dirtypackages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:88
_disposedprotectedbooleanfalseSpreadsheetHeader._disposedpackages/api/tmp/univer-pro/submodules/univer/packages/core/src/shared/lifecycle.ts:93
_forceDirtyprotectedbooleantrueSpreadsheetHeader._forceDirtypackages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:89
_oKeyprotectedstringundefinedSpreadsheetHeader._oKeypackages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:86
groupKey?publicstringundefinedSpreadsheetHeader.groupKeypackages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:59
isInGrouppublicbooleanfalseSpreadsheetHeader.isInGrouppackages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:60
objectTypepublicObjectTypeObjectType.UNKNOWNSpreadsheetHeader.objectTypepackages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:62
onDblclick$publicEventSubject<IMouseEvent | IPointerEvent>undefinedSpreadsheetHeader.onDblclick$packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:74
onDispose$publicEventSubject<BaseObject>undefinedSpreadsheetHeader.onDispose$packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:84
onDragEnter$publicEventSubject<IMouseEvent | IDragEvent>undefinedSpreadsheetHeader.onDragEnter$packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:80
onDragLeave$publicEventSubject<IMouseEvent | IDragEvent>undefinedSpreadsheetHeader.onDragLeave$packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:78
onDragOver$publicEventSubject<IMouseEvent | IDragEvent>undefinedSpreadsheetHeader.onDragOver$packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:79
onDrop$publicEventSubject<IMouseEvent | IDragEvent>undefinedSpreadsheetHeader.onDrop$packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:81
onIsAddedToParent$publicEventSubject<any>undefinedSpreadsheetHeader.onIsAddedToParent$packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:83
onMouseWheel$publicEventSubject<IWheelEvent>undefinedSpreadsheetHeader.onMouseWheel$packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:76
onPointerDown$publicEventSubject<IMouseEvent | IPointerEvent>undefinedSpreadsheetHeader.onPointerDown$packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:66
onPointerEnter$publicEventSubject<IMouseEvent | IPointerEvent>undefinedSpreadsheetHeader.onPointerEnter$packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:72
onPointerLeave$publicEventSubject<IMouseEvent | IPointerEvent>undefinedSpreadsheetHeader.onPointerLeave$packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:71
onPointerMove$publicEventSubject<IMouseEvent | IPointerEvent>undefinedSpreadsheetHeader.onPointerMove$packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:67
onPointerOut$publicEventSubject<IMouseEvent | IPointerEvent>undefinedSpreadsheetHeader.onPointerOut$packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:69
onPointerOver$publicEventSubject<IMouseEvent | IPointerEvent>undefinedSpreadsheetHeader.onPointerOver$packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:70
onPointerUp$publicEventSubject<IMouseEvent | IPointerEvent>undefinedSpreadsheetHeader.onPointerUp$packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:68
onTransformChange$publicEventSubject<ITransformChangeState>undefinedSpreadsheetHeader.onTransformChange$packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:64
onTripleClick$publicEventSubject<IMouseEvent | IPointerEvent>undefinedSpreadsheetHeader.onTripleClick$packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:75

Accessors

ancestorGroup

Get Signature

get ancestorGroup(): Nullable<BaseObject>
Returns

Nullable<BaseObject>

Inherited from

SpreadsheetHeader.ancestorGroup

Defined in

packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:251


ancestorLeft

Get Signature

get ancestorLeft(): any
Returns

any

Inherited from

SpreadsheetHeader.ancestorLeft

Defined in

packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:235


ancestorScaleX

Get Signature

get ancestorScaleX(): number
Returns

number

Inherited from

SpreadsheetHeader.ancestorScaleX

Defined in

packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:225


ancestorScaleY

Get Signature

get ancestorScaleY(): number
Returns

number

Inherited from

SpreadsheetHeader.ancestorScaleY

Defined in

packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:230


ancestorTop

Get Signature

get ancestorTop(): any
Returns

any

Inherited from

SpreadsheetHeader.ancestorTop

Defined in

packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:239


ancestorTransform

Get Signature

get ancestorTransform(): any
Returns

any

Inherited from

SpreadsheetHeader.ancestorTransform

Defined in

packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:243


angle

Get Signature

get angle(): number
Returns

number

Set Signature

set angle(angle): void
Parameters
ParameterType
anglenumber
Returns

void

Inherited from

SpreadsheetHeader.angle

Defined in

packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:213


classType

Get Signature

get classType(): RENDER_CLASS_TYPE
Returns

RENDER_CLASS_TYPE

Inherited from

SpreadsheetHeader.classType

Defined in

packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:189


cursor

Get Signature

get cursor(): CURSOR_TYPE
Returns

CURSOR_TYPE

Set Signature

set cursor(val): void
Parameters
ParameterType
valCURSOR_TYPE
Returns

void

Inherited from

SpreadsheetHeader.cursor

Defined in

packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:303


debounceParentDirty

Get Signature

get debounceParentDirty(): boolean
Returns

boolean

Set Signature

set debounceParentDirty(state): void
Parameters
ParameterType
stateboolean
Returns

void

Inherited from

SpreadsheetHeader.debounceParentDirty

Defined in

packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:299


evented

Get Signature

get evented(): boolean
Returns

boolean

Set Signature

set evented(state): void
Parameters
ParameterType
stateboolean
Returns

void

Inherited from

SpreadsheetHeader.evented

Defined in

packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:291


extensions

Get Signature

get extensions(): Map<string, ComponentExtension<T, U, V>>
Returns

Map<string, ComponentExtension<T, U, V>>

Inherited from

SpreadsheetHeader.extensions

Defined in

packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/components/component.ts:27


flipX

Get Signature

get flipX(): boolean
Returns

boolean

Set Signature

set flipX(flipX): void
Parameters
ParameterType
flipXboolean
Returns

void

Inherited from

SpreadsheetHeader.flipX

Defined in

packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:271


flipY

Get Signature

get flipY(): boolean
Returns

boolean

Set Signature

set flipY(flipY): void
Parameters
ParameterType
flipYboolean
Returns

void

Inherited from

SpreadsheetHeader.flipY

Defined in

packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:275


height

Get Signature

get height(): number
Returns

number

Set Signature

set height(num): void
Parameters
ParameterType
numstring | number
Returns

void

Inherited from

SpreadsheetHeader.height

Defined in

packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:205


heightOrigin

Get Signature

get heightOrigin(): string | number
Returns

string | number

Inherited from

SpreadsheetHeader.heightOrigin

Defined in

packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:185


layer

Get Signature

get layer(): Nullable<Layer>
Returns

Nullable<Layer>

Set Signature

set layer(layer): void
Parameters
ParameterType
layerLayer
Returns

void

Inherited from

SpreadsheetHeader.layer

Defined in

packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:307


left

Get Signature

get left(): number
Returns

number

Set Signature

set left(num): void
Parameters
ParameterType
numstring | number
Returns

void

Inherited from

SpreadsheetHeader.left

Defined in

packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:197


leftOrigin

Get Signature

get leftOrigin(): string | number
Returns

string | number

Inherited from

SpreadsheetHeader.leftOrigin

Defined in

packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:177


maxZIndex

Get Signature

get maxZIndex(): number
Returns

number

Inherited from

SpreadsheetHeader.maxZIndex

Defined in

packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:399


oKey

Get Signature

get oKey(): string
Returns

string

Inherited from

SpreadsheetHeader.oKey

Defined in

packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:283


parent

Get Signature

get parent(): any
Returns

any

Set Signature

set parent(o): void
Parameters
ParameterType
oany
Returns

void

Inherited from

SpreadsheetHeader.parent

Defined in

packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:279


printable

Get Signature

get printable(): boolean
Returns

boolean

Inherited from

SpreadsheetHeader.printable

Defined in

packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:169


rowHeaderLayoutExtension

Get Signature

get rowHeaderLayoutExtension(): RowHeaderLayout
Returns

RowHeaderLayout

Defined in

packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/components/sheets/row-header.ts:49


scaleX

Get Signature

get scaleX(): number
Returns

number

Set Signature

set scaleX(scaleX): void
Parameters
ParameterType
scaleXnumber
Returns

void

Inherited from

SpreadsheetHeader.scaleX

Defined in

packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:217


scaleY

Get Signature

get scaleY(): number
Returns

number

Set Signature

set scaleY(scaleY): void
Parameters
ParameterType
scaleYnumber
Returns

void

Inherited from

SpreadsheetHeader.scaleY

Defined in

packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:221


skewX

Get Signature

get skewX(): number
Returns

number

Set Signature

set skewX(skewX): void
Parameters
ParameterType
skewXnumber
Returns

void

Inherited from

SpreadsheetHeader.skewX

Defined in

packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:263


skewY

Get Signature

get skewY(): number
Returns

number

Set Signature

set skewY(skewY): void
Parameters
ParameterType
skewYnumber
Returns

void

Inherited from

SpreadsheetHeader.skewY

Defined in

packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:267


strokeWidth

Get Signature

get strokeWidth(): number
Returns

number

Set Signature

set strokeWidth(width): void
Parameters
ParameterType
widthnumber
Returns

void

Inherited from

SpreadsheetHeader.strokeWidth

Defined in

packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:209


top

Get Signature

get top(): number
Returns

number

Set Signature

set top(num): void
Parameters
ParameterType
numstring | number
Returns

void

Inherited from

SpreadsheetHeader.top

Defined in

packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:193


topOrigin

Get Signature

get topOrigin(): string | number
Returns

string | number

Inherited from

SpreadsheetHeader.topOrigin

Defined in

packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:173


transform

Get Signature

get transform(): Transform
Returns

Transform

Set Signature

set transform(trans): void
Parameters
ParameterType
transTransform
Returns

void

Inherited from

SpreadsheetHeader.transform

Defined in

packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:148


transformerConfig

Get Signature

get transformerConfig(): ITransformerConfig
Returns

ITransformerConfig

Set Signature

set transformerConfig(config): void
Parameters
ParameterType
configITransformerConfig
Returns

void

Inherited from

SpreadsheetHeader.transformerConfig

Defined in

packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:391


visible

Get Signature

get visible(): boolean
Returns

boolean

Inherited from

SpreadsheetHeader.visible

Defined in

packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:295


width

Get Signature

get width(): number
Returns

number

Set Signature

set width(num): void
Parameters
ParameterType
numstring | number
Returns

void

Inherited from

SpreadsheetHeader.width

Defined in

packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:201


widthOrigin

Get Signature

get widthOrigin(): string | number
Returns

string | number

Inherited from

SpreadsheetHeader.widthOrigin

Defined in

packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:181


zIndex

Get Signature

get zIndex(): number
Returns

number

Set Signature

set zIndex(index): void
Parameters
ParameterType
indexnumber
Returns

void

Inherited from

SpreadsheetHeader.zIndex

Defined in

packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:287

Methods

_draw()

protected _draw(ctx, bounds?): void

Parameters

ParameterType
ctxUniverRenderingContext
bounds?IViewportInfo

Returns

void

Inherited from

SpreadsheetHeader._draw

Defined in

packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/components/sheets/sheet-component.ts:98


_setTransForm()

protected _setTransForm(): void

Returns

void

Inherited from

SpreadsheetHeader._setTransForm

Defined in

packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:851


applyTransform()

applyTransform(): void

Returns

void

Inherited from

SpreadsheetHeader.applyTransform

Defined in

packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:839


dispose()

dispose(): void

TODO: DR-Univer, fix as unknown as

Returns

void

Inherited from

SpreadsheetHeader.dispose

Defined in

packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/components/sheets/sheet-component.ts:91


disposeWithMe()

disposeWithMe(disposable): IDisposable

Parameters

ParameterType
disposableDisposableLike

Returns

IDisposable

Inherited from

SpreadsheetHeader.disposeWithMe

Defined in

packages/api/tmp/univer-pro/submodules/univer/packages/core/src/shared/lifecycle.ts:96


draw()

draw(ctx, bounds?): void

Parameters

ParameterType
ctxUniverRenderingContext
bounds?IViewportInfo

Returns

void

Overrides

SpreadsheetHeader.draw

Defined in

packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/components/sheets/row-header.ts:53


ensureNotDisposed()

protected ensureNotDisposed(): void

Returns

void

Inherited from

SpreadsheetHeader.ensureNotDisposed

Defined in

packages/api/tmp/univer-pro/submodules/univer/packages/core/src/shared/lifecycle.ts:100


flip()

flip(flipX?, flipY?): SpreadsheetRowHeader

Parameters

ParameterType
flipX?boolean
flipY?boolean

Returns

SpreadsheetRowHeader

Inherited from

SpreadsheetHeader.flip

Defined in

packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:522


getDocuments()

getDocuments(): void

Returns

void

Overrides

SpreadsheetHeader.getDocuments

Defined in

packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/components/sheets/row-header.ts:26


getEngine()

getEngine(): Nullable<Engine>

Returns

Nullable<Engine>

Inherited from

SpreadsheetHeader.getEngine

Defined in

packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:817


getExtensionByKey()

getExtensionByKey(uKey): undefined | ComponentExtension<SpreadsheetSkeleton, SHEET_EXTENSION_TYPE, IRange[]>

Parameters

ParameterType
uKeystring

Returns

undefined | ComponentExtension<SpreadsheetSkeleton, SHEET_EXTENSION_TYPE, IRange[]>

Inherited from

SpreadsheetHeader.getExtensionByKey

Defined in

packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/components/component.ts:57


getExtensionsByOrder()

getExtensionsByOrder(): ComponentExtension<SpreadsheetSkeleton, SHEET_EXTENSION_TYPE, IRange[]>[]

Returns

ComponentExtension<SpreadsheetSkeleton, SHEET_EXTENSION_TYPE, IRange[]>[]

Inherited from

SpreadsheetHeader.getExtensionsByOrder

Defined in

packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/components/component.ts:50


getInverseCoord()

getInverseCoord(coord): Vector2

Parameters

ParameterType
coordVector2

Returns

Vector2

Inherited from

SpreadsheetHeader.getInverseCoord

Defined in

packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:847


getLayerIndex()

getLayerIndex(): number

Returns

number

Inherited from

SpreadsheetHeader.getLayerIndex

Defined in

packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:832


getNoMergeCellPositionByIndex()

getNoMergeCellPositionByIndex(rowIndex, columnIndex): Nullable<{
  endX: number;
  endY: number;
  startX: number;
  startY: number;
}>

Parameters

ParameterType
rowIndexnumber
columnIndexnumber

Returns

Nullable<{ endX: number; endY: number; startX: number; startY: number; }>

NameTypeDefined in
endXnumberpackages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/components/sheets/row-header.ts:30
endYnumberpackages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/components/sheets/row-header.ts:30
startXnumberpackages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/components/sheets/row-header.ts:30
startYnumberpackages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/components/sheets/row-header.ts:30

Overrides

SpreadsheetHeader.getNoMergeCellPositionByIndex

Defined in

packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/components/sheets/row-header.ts:30


getObjects()

getObjects(): BaseObject[]

Returns

BaseObject[]

Inherited from

SpreadsheetHeader.getObjects

Defined in

packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:828


getParent()

getParent(): any

Returns

any

Inherited from

SpreadsheetHeader.getParent

Defined in

packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:580


getParentScale()

getParentScale(): {
  scaleX: number;
  scaleY: number;
}

Returns

{
  scaleX: number;
  scaleY: number;
}
NameTypeDefined in
scaleXnumberpackages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/components/sheets/sheet-component.ts:63
scaleYnumberpackages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/components/sheets/sheet-component.ts:64

Inherited from

SpreadsheetHeader.getParentScale

Defined in

packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/components/sheets/sheet-component.ts:54


getScene()

getScene(): Nullable<Scene>

Returns

Nullable<Scene>

Inherited from

SpreadsheetHeader.getScene

Defined in

packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:796


getScrollXYByRelativeCoords()

getScrollXYByRelativeCoords(coord): {
  x: 0;
  y: 0;
}

Parameters

ParameterType
coordVector2

Returns

{
  x: 0;
  y: 0;
}
NameTypeDefault valueDefined in
xnumber0packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/components/sheets/sheet-component.ts:76
ynumber0packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/components/sheets/sheet-component.ts:76

Inherited from

SpreadsheetHeader.getScrollXYByRelativeCoords

Defined in

packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/components/sheets/sheet-component.ts:75


getSelectionBounding()

getSelectionBounding(
   startRow, 
   startColumn, 
   endRow, 
   endColumn): Nullable<{
  endColumn: number;
  endRow: number;
  startColumn: number;
  startRow: number;
}>

Parameters

ParameterType
startRownumber
startColumnnumber
endRownumber
endColumnnumber

Returns

Nullable<{ endColumn: number; endRow: number; startColumn: number; startRow: number; }>

NameTypeDefined in
endColumnnumberpackages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/components/sheets/row-header.ts:34
endRownumberpackages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/components/sheets/row-header.ts:34
startColumnnumberpackages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/components/sheets/row-header.ts:34
startRownumberpackages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/components/sheets/row-header.ts:34

Overrides

SpreadsheetHeader.getSelectionBounding

Defined in

packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/components/sheets/row-header.ts:34


getSkeleton()

getSkeleton(): undefined | SpreadsheetSkeleton

Returns

undefined | SpreadsheetSkeleton

Inherited from

SpreadsheetHeader.getSkeleton

Defined in

packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/components/sheets/sheet-component.ts:34


getState()

getState(): ITransformState

Returns

ITransformState

Inherited from

SpreadsheetHeader.getState

Defined in

packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:584


hide()

hide(): void

Returns

void

Inherited from

SpreadsheetHeader.hide

Defined in

packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:600


isDirty()

isDirty(): boolean

Returns

boolean

Inherited from

SpreadsheetHeader.isDirty

Defined in

packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:431


isHit()

isHit(coord): boolean

Parameters

ParameterType
coordVector2

Returns

boolean

Overrides

SpreadsheetHeader.isHit

Defined in

packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/components/sheets/row-header.ts:85


isRender()

isRender(bounds?): undefined | boolean

Parameters

ParameterType
bounds?IViewportInfo

Returns

undefined | boolean

Inherited from

SpreadsheetHeader.isRender

Defined in

packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:573


makeDirty()

makeDirty(state): undefined | SpreadsheetRowHeader

Parameters

ParameterTypeDefault value
statebooleantrue

Returns

undefined | SpreadsheetRowHeader

Inherited from

SpreadsheetHeader.makeDirty

Defined in

packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:403


makeDirtyNoDebounce()

makeDirtyNoDebounce(state): SpreadsheetRowHeader

Parameters

ParameterTypeDefault value
statebooleantrue

Returns

SpreadsheetRowHeader

Inherited from

SpreadsheetHeader.makeDirtyNoDebounce

Defined in

packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:422


makeForceDirty()

makeForceDirty(state): void

Parameters

ParameterTypeDefault value
statebooleantrue

Returns

void

Inherited from

SpreadsheetHeader.makeForceDirty

Defined in

packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:418


register()

register(...extensions): IDisposable

Parameters

ParameterType
…extensionsComponentExtension<SpreadsheetSkeleton, SHEET_EXTENSION_TYPE, IRange[]>[]

Returns

IDisposable

Inherited from

SpreadsheetHeader.register

Defined in

packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/components/component.ts:31


removeTransform()

removeTransform(): void

Returns

void

Inherited from

SpreadsheetHeader.removeTransform

Defined in

packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:843


render()

render(mainCtx, bounds?): undefined | SpreadsheetRowHeader

Parameters

ParameterType
mainCtxUniverRenderingContext
bounds?IViewportInfo

Returns

undefined | SpreadsheetRowHeader

Inherited from

SpreadsheetHeader.render

Defined in

packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/components/sheets/sheet-component.ts:43


resetCursor()

resetCursor(): void

Returns

void

Inherited from

SpreadsheetHeader.resetCursor

Defined in

packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:808


resize()

resize(width?, height?): SpreadsheetRowHeader

Parameters

ParameterType
width?string | number
height?string | number

Returns

SpreadsheetRowHeader

Inherited from

SpreadsheetHeader.resize

Defined in

packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:457


scale()

scale(scaleX?, scaleY?): SpreadsheetRowHeader

Parameters

ParameterType
scaleX?number
scaleY?number

Returns

SpreadsheetRowHeader

Inherited from

SpreadsheetHeader.scale

Defined in

packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:478


setCursor()

setCursor(val): void

Parameters

ParameterType
valCURSOR_TYPE

Returns

void

Inherited from

SpreadsheetHeader.setCursor

Defined in

packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:812


setCustomHeader()

setCustomHeader(cfg): void

Parameters

ParameterType
cfgIRowsHeaderCfgParam

Returns

void

Defined in

packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/components/sheets/row-header.ts:105


show()

show(): void

Returns

void

Inherited from

SpreadsheetHeader.show

Defined in

packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:605


skew()

skew(skewX?, skewY?): SpreadsheetRowHeader

Parameters

ParameterType
skewX?number
skewY?number

Returns

SpreadsheetRowHeader

Inherited from

SpreadsheetHeader.skew

Defined in

packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:500


toJson()

toJson(): IKeyValue

Returns

IKeyValue

Inherited from

SpreadsheetHeader.toJson

Defined in

packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:785


transformByState()

transformByState(option): undefined | SpreadsheetRowHeader

this[pKey] = option[pKey]

Parameters

ParameterType
optionIObjectFullState

Returns

undefined | SpreadsheetRowHeader

Inherited from

SpreadsheetHeader.transformByState

Defined in

packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:547


transformForAngle()

transformForAngle(transform): Transform

Parameters

ParameterType
transformTransform

Returns

Transform

Inherited from

SpreadsheetHeader.transformForAngle

Defined in

packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:153


translate()

translate(x?, y?): SpreadsheetRowHeader

Parameters

ParameterType
x?string | number
y?string | number

Returns

SpreadsheetRowHeader

Inherited from

SpreadsheetHeader.translate

Defined in

packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:435


triggerDblclick()

triggerDblclick(evt): boolean

Parameters

ParameterType
evtIMouseEvent | IPointerEvent

Returns

boolean

Inherited from

SpreadsheetHeader.triggerDblclick

Defined in

packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:651


triggerDragEnter()

triggerDragEnter(evt): boolean

Parameters

ParameterType
evtIMouseEvent | IDragEvent

Returns

boolean

Inherited from

SpreadsheetHeader.triggerDragEnter

Defined in

packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:737


triggerDragLeave()

triggerDragLeave(evt): boolean

Parameters

ParameterType
evtIMouseEvent | IDragEvent

Returns

boolean

Inherited from

SpreadsheetHeader.triggerDragLeave

Defined in

packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:721


triggerDragOver()

triggerDragOver(evt): boolean

Parameters

ParameterType
evtIMouseEvent | IDragEvent

Returns

boolean

Inherited from

SpreadsheetHeader.triggerDragOver

Defined in

packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:729


triggerDrop()

triggerDrop(evt): boolean

Parameters

ParameterType
evtIMouseEvent | IDragEvent

Returns

boolean

Inherited from

SpreadsheetHeader.triggerDrop

Defined in

packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:745


triggerMouseWheel()

triggerMouseWheel(evt): boolean

Parameters

ParameterType
evtIWheelEvent

Returns

boolean

Inherited from

SpreadsheetHeader.triggerMouseWheel

Defined in

packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:671


triggerPointerDown()

triggerPointerDown(evt): boolean

Parameters

ParameterType
evtIMouseEvent | IPointerEvent

Returns

boolean

Inherited from

SpreadsheetHeader.triggerPointerDown

Defined in

packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:635


triggerPointerEnter()

triggerPointerEnter(evt): boolean

Parameters

ParameterType
evtIMouseEvent | IPointerEvent

Returns

boolean

Inherited from

SpreadsheetHeader.triggerPointerEnter

Defined in

packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:713


triggerPointerLeave()

triggerPointerLeave(evt): boolean

Parameters

ParameterType
evtIMouseEvent | IPointerEvent

Returns

boolean

Inherited from

SpreadsheetHeader.triggerPointerLeave

Defined in

packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:697


triggerPointerMove()

triggerPointerMove(evt): boolean

Parameters

ParameterType
evtIMouseEvent | IPointerEvent

Returns

boolean

Inherited from

SpreadsheetHeader.triggerPointerMove

Defined in

packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:627


triggerPointerOut()

triggerPointerOut(evt): boolean

Parameters

ParameterType
evtIMouseEvent | IPointerEvent

Returns

boolean

Inherited from

SpreadsheetHeader.triggerPointerOut

Defined in

packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:689


triggerPointerOver()

triggerPointerOver(evt): boolean

Parameters

ParameterType
evtIMouseEvent | IPointerEvent

Returns

boolean

Inherited from

SpreadsheetHeader.triggerPointerOver

Defined in

packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:705


triggerPointerUp()

triggerPointerUp(evt): boolean

Parameters

ParameterType
evtIMouseEvent | IPointerEvent

Returns

boolean

Inherited from

SpreadsheetHeader.triggerPointerUp

Defined in

packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:643


triggerTripleClick()

triggerTripleClick(evt): boolean

Parameters

ParameterType
evtIMouseEvent | IPointerEvent

Returns

boolean

Inherited from

SpreadsheetHeader.triggerTripleClick

Defined in

packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/base-object.ts:661


updateSkeleton()

updateSkeleton(spreadsheetSkeleton): void

Parameters

ParameterType
spreadsheetSkeletonSpreadsheetSkeleton

Returns

void

Inherited from

SpreadsheetHeader.updateSkeleton

Defined in

packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/components/sheets/sheet-component.ts:38