/ fm / liveswitch / LayoutTable
Class: LayoutTable
fm.liveswitch.LayoutTable
Defines the results of a layout calculation.
Table of contents
Constructors
Methods
- fmliveswitchLayoutTableInit
- getCellHeight
- getCellWidth
- getColumnCount
- getRowCount
- getTypeString
- setCellHeight
- setCellWidth
- setColumnCount
- setRowCount
Constructors
constructor
+ new LayoutTable(columnCount
: number, rowCount
: number, cellWidth
: number, cellHeight
: number): LayoutTable
Initializes a new instance of the [[fm.liveswitch.layoutTable]] class.
Parameters:
Name | Type | Description |
---|---|---|
columnCount |
number | The column count. |
rowCount |
number | The row count. |
cellWidth |
number | The width of each cell. |
cellHeight |
number | The height of each cell. |
Returns: LayoutTable
Defined in: Generated/TypeScript/fm.liveswitch/LayoutTable.ts:27
Methods
fmliveswitchLayoutTableInit
▸ Private
fmliveswitchLayoutTableInit(): void
Returns: void
Defined in: Generated/TypeScript/fm.liveswitch/LayoutTable.ts:21
getCellHeight
▸ getCellHeight(): number
Gets the height of each cell.
Returns: number
Defined in: Generated/TypeScript/fm.liveswitch/LayoutTable.ts:62
getCellWidth
▸ getCellWidth(): number
Gets the width of each cell.
Returns: number
Defined in: Generated/TypeScript/fm.liveswitch/LayoutTable.ts:74
getColumnCount
▸ getColumnCount(): number
Gets the column count.
Returns: number
Defined in: Generated/TypeScript/fm.liveswitch/LayoutTable.ts:86
getRowCount
▸ getRowCount(): number
Gets the row count.
Returns: number
Defined in: Generated/TypeScript/fm.liveswitch/LayoutTable.ts:98
getTypeString
▸ getTypeString(): string
Returns: string
Defined in: Generated/TypeScript/fm.liveswitch/LayoutTable.ts:9
setCellHeight
▸ setCellHeight(value
: number): void
Sets the height of each cell.
Parameters:
Name | Type |
---|---|
value |
number |
Returns: void
Defined in: Generated/TypeScript/fm.liveswitch/LayoutTable.ts:110
setCellWidth
▸ setCellWidth(value
: number): void
Sets the width of each cell.
Parameters:
Name | Type |
---|---|
value |
number |
Returns: void
Defined in: Generated/TypeScript/fm.liveswitch/LayoutTable.ts:123
setColumnCount
▸ setColumnCount(value
: number): void
Sets the column count.
Parameters:
Name | Type |
---|---|
value |
number |
Returns: void
Defined in: Generated/TypeScript/fm.liveswitch/LayoutTable.ts:136
setRowCount
▸ setRowCount(value
: number): void
Sets the row count.
Parameters:
Name | Type |
---|---|
value |
number |
Returns: void
Defined in: Generated/TypeScript/fm.liveswitch/LayoutTable.ts:149