Skip to main content

Class: EmptySelection

Defined in: src/selection.ts:30

Selection of no cells

Extends

Constructors

Constructor

new EmptySelection(): EmptySelection

Returns

EmptySelection

Inherited from

Selection.constructor

Methods

equals()

equals(selection): boolean

Defined in: src/selection.ts:49

Determines whether the given selection is equal to this selection

Parameters

selection

Selection

Returns

boolean

Overrides

Selection.equals


has()

has(): boolean

Defined in: src/selection.ts:46

Determines whether the given point is within the selection

Returns

boolean

Overrides

Selection.has


hasEntireColumn()

hasEntireColumn(column): boolean

Defined in: src/selection.ts:40

Determines whether the given column is entirely selected in given selection

Parameters

column

number

Returns

boolean

Overrides

Selection.hasEntireColumn


hasEntireRow()

hasEntireRow(row): boolean

Defined in: src/selection.ts:37

Determines whether the given row is entirely selected in given selection

Parameters

row

number

Returns

boolean

Overrides

Selection.hasEntireRow


normalizeTo()

normalizeTo(data): this

Defined in: src/selection.ts:34

Normalize the selection according to the given data

Parameters

data

Matrix<unknown>

Returns

this

Overrides

Selection.normalizeTo


size()

size(): number

Defined in: src/selection.ts:43

Get the number of selected points according to given data

Returns

number

Overrides

Selection.size


toRange()

toRange(data): PointRange | null

Defined in: src/selection.ts:31

Get concrete range of the selection in the given data

Parameters

data

Matrix<unknown>

Returns

PointRange | null

Overrides

Selection.toRange