FMLiveSwitchLayoutTable Class Reference

Defines the results of a layout calculation. More...

Instance Methods

(int) - cellHeight
 Gets the height of each cell. More...
 
(int) - cellWidth
 Gets the width of each cell. More...
 
(int) - columnCount
 Gets the column count. More...
 
(instancetype) - initWithColumnCount:rowCount:cellWidth:cellHeight:
 Initializes a new instance of the FMLiveSwitchLayoutTable class. More...
 
(int) - rowCount
 Gets the row count. More...
 
(void) - setCellHeight:
 Sets the height of each cell. More...
 
(void) - setCellWidth:
 Sets the width of each cell. More...
 
(void) - setColumnCount:
 Sets the column count. More...
 
(void) - setRowCount:
 Sets the row count. More...
 

Class Methods

(FMLiveSwitchLayoutTable *) + layoutTableWithColumnCount:rowCount:cellWidth:cellHeight:
 Initializes a new instance of the FMLiveSwitchLayoutTable class. More...
 

Detailed Description

Defines the results of a layout calculation.

Method Documentation

◆ cellHeight

- (int) cellHeight

Gets the height of each cell.

◆ cellWidth

- (int) cellWidth

Gets the width of each cell.

◆ columnCount

- (int) columnCount

Gets the column count.

◆ initWithColumnCount:rowCount:cellWidth:cellHeight:

- (instancetype) initWithColumnCount: (int)  columnCount
rowCount: (int)  rowCount
cellWidth: (int)  cellWidth
cellHeight: (int)  cellHeight 

Initializes a new instance of the FMLiveSwitchLayoutTable class.

Parameters
columnCountThe column count.
rowCountThe row count.
cellWidthThe width of each cell.
cellHeightThe height of each cell.

◆ layoutTableWithColumnCount:rowCount:cellWidth:cellHeight:

+ (FMLiveSwitchLayoutTable*) layoutTableWithColumnCount: (int)  columnCount
rowCount: (int)  rowCount
cellWidth: (int)  cellWidth
cellHeight: (int)  cellHeight 

Initializes a new instance of the FMLiveSwitchLayoutTable class.

Parameters
columnCountThe column count.
rowCountThe row count.
cellWidthThe width of each cell.
cellHeightThe height of each cell.

◆ rowCount

- (int) rowCount

Gets the row count.

◆ setCellHeight:

- (void) setCellHeight: (int)  value

Sets the height of each cell.

◆ setCellWidth:

- (void) setCellWidth: (int)  value

Sets the width of each cell.

◆ setColumnCount:

- (void) setColumnCount: (int)  value

Sets the column count.

◆ setRowCount:

- (void) setRowCount: (int)  value

Sets the row count.