Skip to main content

Class: EntireColumnsSelection

Defined in: src/selection.ts:203

Selection of entire columns in the spreadsheet

Extends​

Constructors​

Constructor​

new EntireColumnsSelection(start, end): EntireColumnsSelection

Defined in: src/selection.ts:142

Parameters​

start​

number

row index where the selection starts, integer

end​

number

row index where the selection ends, integer

Returns​

EntireColumnsSelection

Throws​

InvalidIndexError

Inherited from​

EntireAxisSelection.constructor

Properties​

end​

readonly end: number

Defined in: src/selection.ts:135

Selection end index, integer

Inherited from​

EntireAxisSelection.end


start​

readonly start: number

Defined in: src/selection.ts:133

Selection start index, integer

Inherited from​

EntireAxisSelection.start

Methods​

equals()​

equals(selection): boolean

Defined in: src/selection.ts:154

Determines whether the given selection is equal to this selection

Parameters​

selection​

Selection

Returns​

boolean

Inherited from​

EntireAxisSelection.equals


has()​

has(data, point): boolean

Defined in: src/selection.ts:235

Determines whether the given point is within the selection

Parameters​

data​

Matrix<unknown>

point​

Point

Returns​

boolean

Overrides​

EntireAxisSelection.has


hasEntireColumn()​

hasEntireColumn(column): boolean

Defined in: src/selection.ts:226

Determines whether the given column is entirely selected in given selection

Parameters​

column​

number

Returns​

boolean

Overrides​

EntireAxisSelection.hasEntireColumn


hasEntireRow()​

hasEntireRow(row): boolean

Defined in: src/selection.ts:222

Determines whether the given row is entirely selected in given selection

Parameters​

row​

number

Returns​

boolean

Overrides​

EntireAxisSelection.hasEntireRow


normalizeTo()​

normalizeTo(data): this

Defined in: src/selection.ts:212

Normalize the selection according to the given data

Parameters​

data​

Matrix<unknown>

Returns​

this

Overrides​

EntireAxisSelection.normalizeTo


size()​

size(data): number

Defined in: src/selection.ts:230

Get the number of selected points according to given data

Parameters​

data​

Matrix<unknown>

Returns​

number

Overrides​

EntireAxisSelection.size


toRange()​

toRange(data): PointRange

Defined in: src/selection.ts:204

Get concrete range of the selection in the given data

Parameters​

data​

Matrix<unknown>

Returns​

PointRange

Overrides​

EntireAxisSelection.toRange