Members
-
colNumber
-
Column index.
-
rowNumber
-
Row index.
Methods
-
isEqual(cellCoords){Boolean}
-
Checks if this cell coordinates are the same as cell coordinates given as an argument.
Parameters:
Name Type Description cellCoords
CellCoords Cell coordinates to equal.
Returns: {Boolean}
-
isNorthEastOf(testedCoords){Boolean}
-
Checks if tested coordinates are positioned in north-east from this cell coordinates.
Parameters:
Name Type Description testedCoords
Object Cell coordinates to check.
Returns: {Boolean}
-
isNorthWestOf(testedCoords){Boolean}
-
Checks if tested coordinates are positioned in north-east from this cell coordinates.
Parameters:
Name Type Description testedCoords
Object Cell coordinates to check.
Returns: {Boolean}
-
isSouthEastOf(testedCoords){Boolean}
-
Checks if tested coordinates are positioned in south-east from this cell coordinates.
Parameters:
Name Type Description testedCoords
Object Cell coordinates to check.
Returns: {Boolean}
-
isSouthWestOf(testedCoords){Boolean}
-
Checks if tested coordinates are positioned in south-west from this cell coordinates.
Parameters:
Name Type Description testedCoords
Object Cell coordinates to check.
Returns: {Boolean}
-
isValid(wot){Boolean}
-
Checks if given set of coordinates is valid in context of a given Walkontable instance.
Parameters:
Name Type Description wot
Walkontable A Walkontable instance.
Returns: {Boolean}
-
toObject(){Object}
-
Converts CellCoords to literal object with
row
andcol
properties.Returns: {Object} Returns a literal object with
row
andcol
properties.