C# Class iTextSharp.text.Row

A Row is part of a Table and contains some Cells.
All Rows are constructed by a Table-object. You don't have to construct any Row yourself. In fact you can't construct a Row outside the package.

Since a Cell can span several rows and/or columns a row can contain reserved space without any content.

Inheritance: IElement
Show file Open project: JamieMellway/iTextSharpLGPL-Monotouch Class Usage Examples

Public Properties

Property Type Description
CELL int
NULL int
TABLE int

Protected Properties

Property Type Description
cells Object[]
columns int
currentColumn int
horizontalAlignment int
reserved bool[]

Public Methods

Method Description
GetCell ( int column ) : Object

Gets a Cell or Table from a certain column.

IsContent ( ) : bool
IsEmpty ( ) : bool

Checks if the row is empty.

IsNestable ( ) : bool
Process ( IElementListener listener ) : bool

Processes the element by adding it (or the different parts) to a IElementListener.

ToString ( ) : string

Private Methods

Method Description
AddElement ( Object element ) : int

Adds a Cell to the Row.

AddElement ( Object element, int column ) : int

Adds an element to the Row at the position given.

DeleteColumn ( int column ) : void

Deletes a certain column has been deleted.

GetElementID ( int column ) : int

Returns the type-id of the element in a Row.

GetObjectID ( Object element ) : int

Returns the type-id of an Object.

IsReserved ( int column ) : bool

Returns true/false when this position in the Row has been reserved, either filled or through a colspan of an Element.

Reserve ( int column ) : bool

Reserves a Cell in the Row.

Reserve ( int column, int size ) : bool

Reserves a Cell in the Row.

Row ( int columns ) : System

Constructs a Row with a certain number of columns.

SetElement ( Object aElement, nint column ) : void

Puts Cell to the Row at the position given, doesn't reserve colspan.

Method Details

GetCell() public method

Gets a Cell or Table from a certain column.
public GetCell ( int column ) : Object
column int the column the Cell/Table is in.
return Object

IsContent() public method

public IsContent ( ) : bool
return bool

IsEmpty() public method

Checks if the row is empty.
public IsEmpty ( ) : bool
return bool

IsNestable() public method

public IsNestable ( ) : bool
return bool

Process() public method

Processes the element by adding it (or the different parts) to a IElementListener.
public Process ( IElementListener listener ) : bool
listener IElementListener an IElementListener
return bool

ToString() public method

public ToString ( ) : string
return string

Property Details

CELL public static property

id of the Cell element in a Row
public static int CELL
return int

NULL public static property

id of a null element in a Row
public static int NULL
return int

TABLE public static property

id of the Table element in a Row
public static int TABLE
return int

cells protected property

This is the array of Objects (Cell or Table).
protected Object[] cells
return Object[]

columns protected property

This is the number of columns in the Row.
protected int columns
return int

currentColumn protected property

This is a valid position the Row.
protected int currentColumn
return int

horizontalAlignment protected property

This is the horizontal alignment.
protected int horizontalAlignment
return int

reserved protected property

This is the array that keeps track of reserved cells.
protected bool[] reserved
return bool[]