Abstract Class: Selection
Defined in: src/selection.ts:6
Selection from a spreadsheet
Extended by
Constructors
Constructor
new Selection():
Selection
Returns
Selection
Methods
equals()
abstractequals(selection):boolean
Defined in: src/selection.ts:26
Determines whether the given selection is equal to this selection
Parameters
selection
Selection
Returns
boolean
has()
abstracthas(data,point):boolean
Defined in: src/selection.ts:23
Determines whether the given point is within the selection
Parameters
data
Matrix<unknown>
point
Returns
boolean
hasEntireColumn()
abstracthasEntireColumn(column):boolean
Defined in: src/selection.ts:17
Determines whether the given column is entirely selected in given selection
Parameters
column
number
Returns
boolean
hasEntireRow()
abstracthasEntireRow(row):boolean
Defined in: src/selection.ts:14
Determines whether the given row is entirely selected in given selection
Parameters
row
number
Returns
boolean
normalizeTo()
abstractnormalizeTo(data):this
Defined in: src/selection.ts:11
Normalize the selection according to the given data
Parameters
data
Matrix<unknown>
Returns
this
size()
abstractsize(data):number
Defined in: src/selection.ts:20
Get the number of selected points according to given data
Parameters
data
Matrix<unknown>
Returns
number
toRange()
abstracttoRange(data):PointRange|null
Defined in: src/selection.ts:8
Get concrete range of the selection in the given data
Parameters
data
Matrix<unknown>
Returns
PointRange | null