PageTableAreaCell

Inheritance: java.lang.Object

public class PageTableAreaCell

Represents a table cell which is used in PageTableArea class.

Constructors

Constructor Description
PageTableAreaCell(int rowIndex, int columnIndex, PageArea pageArea) Initializes a new instance of the PageTableAreaCell class.
PageTableAreaCell(int rowIndex, int columnIndex, PageArea pageArea, int rowSpan, int columnSpan) Initializes a new instance of the PageTableAreaCell class.

Methods

Method Description
getRowIndex() Gets the row index.
getColumnIndex() Gets the column index.
getRowSpan() Gets the total number of rows that contain the table cell.
getColumnSpan() Gets the total number of columns that contain the table cell.
getPageArea() Gets the table cell value.
getText() Gets the table cell text value.

PageTableAreaCell(int rowIndex, int columnIndex, PageArea pageArea)

public PageTableAreaCell(int rowIndex, int columnIndex, PageArea pageArea)

Initializes a new instance of the PageTableAreaCell class.

Parameters:

Parameter Type Description
rowIndex int The zero-based index of the row.
columnIndex int The zero-based index of the column.
pageArea PageArea The value of the table cell.

PageTableAreaCell(int rowIndex, int columnIndex, PageArea pageArea, int rowSpan, int columnSpan)

public PageTableAreaCell(int rowIndex, int columnIndex, PageArea pageArea, int rowSpan, int columnSpan)

Initializes a new instance of the PageTableAreaCell class.

Parameters:

Parameter Type Description
rowIndex int The zero-based index of the row.
columnIndex int The zero-based index of the column.
pageArea PageArea The value of the table cell.
rowSpan int The total number of rows that contain the table cell.
columnSpan int The total number of columns that contain the table cell.

getRowIndex()

public int getRowIndex()

Gets the row index.

Returns: int - A zero-based index of the first row that contains the table cell.

getColumnIndex()

public int getColumnIndex()

Gets the column index.

Returns: int - A zero-based index of the first column that contains the table cell.

getRowSpan()

public int getRowSpan()

Gets the total number of rows that contain the table cell.

Returns: int - A positive integer value that represents the total number of rows that contain the table cell.

getColumnSpan()

public int getColumnSpan()

Gets the total number of columns that contain the table cell.

Returns: int - A positive integer value that represents the total number of columns that contain the table cell.

getPageArea()

public PageArea getPageArea()

Gets the table cell value.

Returns: PageArea - Depending on cell PageArea property can contain any of the inheritors of PageArea class.

getText()

public String getText()

Gets the table cell text value.

Returns: java.lang.String - A string that represents a text value of the cell; null if cell doesn’t contain a text value.