fm.liveswitch.LayoutTable Class Reference

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

Public Member Functions

int getCellHeight ()
 Gets the height of each cell. More...
 
int getCellWidth ()
 Gets the width of each cell. More...
 
int getColumnCount ()
 Gets the column count. More...
 
int getRowCount ()
 Gets the row count. More...
 
 LayoutTable (int columnCount, int rowCount, int cellWidth, int cellHeight)
 Initializes a new instance of the fm.liveswitch.LayoutTable class. More...
 
void setCellHeight (int value)
 Sets the height of each cell. More...
 
void setCellWidth (int value)
 Sets the width of each cell. More...
 
void setColumnCount (int value)
 Sets the column count. More...
 
void setRowCount (int value)
 Sets the row count. More...
 

Detailed Description

Defines the results of a layout calculation.

Constructor & Destructor Documentation

◆ LayoutTable()

fm.liveswitch.LayoutTable.LayoutTable ( int  columnCount,
int  rowCount,
int  cellWidth,
int  cellHeight 
)

Initializes a new instance of the fm.liveswitch.LayoutTable class.

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

Member Function Documentation

◆ getCellHeight()

int fm.liveswitch.LayoutTable.getCellHeight ( )

Gets the height of each cell.

◆ getCellWidth()

int fm.liveswitch.LayoutTable.getCellWidth ( )

Gets the width of each cell.

◆ getColumnCount()

int fm.liveswitch.LayoutTable.getColumnCount ( )

Gets the column count.

◆ getRowCount()

int fm.liveswitch.LayoutTable.getRowCount ( )

Gets the row count.

◆ setCellHeight()

void fm.liveswitch.LayoutTable.setCellHeight ( int  value)

Sets the height of each cell.

◆ setCellWidth()

void fm.liveswitch.LayoutTable.setCellWidth ( int  value)

Sets the width of each cell.

◆ setColumnCount()

void fm.liveswitch.LayoutTable.setColumnCount ( int  value)

Sets the column count.

◆ setRowCount()

void fm.liveswitch.LayoutTable.setRowCount ( int  value)

Sets the row count.