TableSlot
An object returned by TableWalker when traversing table cells.
Properties
cell: ModelElementreadonlymodule:table/tablewalker~TableSlot#cellThe current table cell.
cellAnchorColumn: numberreadonlymodule:table/tablewalker~TableSlot#cellAnchorColumnThe column index of a cell anchor slot.
cellAnchorRow: numberreadonlymodule:table/tablewalker~TableSlot#cellAnchorRowThe row index of a cell anchor slot.
cellHeight: numberreadonlymodule:table/tablewalker~TableSlot#cellHeightThe height of a cell defined by a
rowspanattribute. If the model attribute is not present, it is set to1.cellWidth: numberreadonlymodule:table/tablewalker~TableSlot#cellWidthThe width of a cell defined by a
colspanattribute. If the model attribute is not present, it is set to1.column: numberreadonlymodule:table/tablewalker~TableSlot#columnThe column index of a table slot.
isAnchor: booleanreadonlymodule:table/tablewalker~TableSlot#isAnchorWhether the cell is anchored in the current slot.
row: numberreadonlymodule:table/tablewalker~TableSlot#rowThe row index of a table slot.
rowIndex: numberreadonlymodule:table/tablewalker~TableSlot#rowIndexThe index of the current row element in the table.
_cellIndex: numberprivatereadonlymodule:table/tablewalker~TableSlot#_cellIndexThe index of the current cell in the parent row.
_rowIndex: numberprivatereadonlymodule:table/tablewalker~TableSlot#_rowIndexThe index of the current row element in the table.
_table: ModelElementprivatereadonlymodule:table/tablewalker~TableSlot#_tableThe table element.
Methods
constructor( tableWalker, cell, anchorRow, anchorColumn )module:table/tablewalker~TableSlot#constructorCreates an instance of the table walker value.
Parameters
tableWalker: TableWalkerThe table walker instance.
cell: ModelElementThe current table cell.
anchorRow: numberThe row index of a cell anchor slot.
anchorColumn: numberThe column index of a cell anchor slot.
module:table/tablewalker~TableSlot#getPositionBefore