Adds a row to this table either at the top or at the bottom or before or after another row, depending on the DhInsertOptions insertFlag parameter.
final public void add( DhRow row, DhRow relativeTo, int insertFlag )
final public void add( DhRow row, int insertFlag )
final public void add( DhRow row )
row
The DhRow row to add to this table.
relativeTo
The row referred to when using the BEFORE or AFTER constants for the insertFlag parameter.
insertFlag
One of the valid and applicable insert constants. The valid values for insertFlag are:
END inserts the row at the bottom of this table. The relativeTo parameter must be null.
BEGINNING inserts the row at the top of this table. The relativeTo parameter must be null.
BEFORE inserts the row before the row referred to by the relativeTo parameter. The relativeTo parameter must not be null.
AFTER inserts the row after the row referred to by the relativeTo parameter. The relativeTo parameter must not be null.