goog.editor.plugins.TableEditor.CellSelection_
Class.containsSingleCell()
Returns a boolean value indicating whether or not there is exactly one cell in this selection. Note that this may not be the same as checking whether getCells().length == 1; if there is a single cell with rowSpan/colSpan set it will appear multiple times.
boolean
}
.getCells()
Returns the cells in this selection.
Array
.<Element
>}
.getFirstColumnIndex()
Returns the column index of the farthest left cell in this selection.
number
}
.getFirstRowIndex()
Returns the row index of the uppermost cell in this selection.
number
}
.getLastColumnIndex()
Returns the column index of the farthest right cell in this selection.
number
}
.getLastRowIndex()
Returns the row index of the lowermost cell in this selection.
number
}
.getTable()
Returns the EditableTable object of which this selection's cells are a subset.
goog.editor.Table
?}
.isRectangle()
Returns a boolean value indicating whether or not the cells in this selection form a rectangle.
boolean
}