Class GridBuffer
temporal data structure.
Only for internal use. Doesn´t check array index
Defined in: templateLayout.compiler.js.
Constructor Attributes | Constructor Name and Description |
---|---|
Creates a gridBuffer
|
Field Attributes | Field Name and Description |
---|---|
Array of rows
|
Method Attributes | Method Name and Description |
---|---|
add(slot)
Add the slot to _rows
|
|
getRow(index)
Gets the specified row in _rows
|
|
getRows()
Gets rows
|
|
getSlot(slotText)
Gets the slot with the specified slot Text
|
Field Detail
{gridRow[]}
_rows
Array of rows
Method Detail
add(slot)
Add the slot to _rows
- Parameters:
- {gridSlot} slot
- the slot
{gridRow}
getRow(index)
Gets the specified row in _rows
- Parameters:
- index
- row index
- Returns:
- {gridRow} the specified row
{gridRow[]}
getRows()
Gets rows
- Returns:
- {gridRow[]} _rows
{gridSlot}
getSlot(slotText)
Gets the slot with the specified slot Text
- Parameters:
- {string} slotText
- slot text
- Returns:
- {gridSlot} the specified slot