cell method

This method returns a TextTableCell object that represents a cell in the table specified by a column index and a row index.

Defined in

TextTable

Syntax

public TextTableCell cell(String name) throws SymphonyException
public TextTableCell cell(int rowIndex, int columnIndex) throws SymphonyException

Parameters

String name

Specifies the name of the cell.

int rowIndex

Specifies the row index of the cell in the table, starting at 1.

int columnIndex

Specifies the column index of the cell in the table, start at 1.

Return Value

cell

A TextTableCell object that represents a cell.

Usage

This method throws an exception if:
  • The name of cell is invalid.
  • The value of the row index parameter is out of bounds.
  • The value of the column index parameter is out of bounds.

See examples

Example: cell method