com.arctorus.documents.table
Class Row

java.lang.Object
  extended by com.arctorus.documents.table.Row

public final class Row
extends java.lang.Object

Table row. Default height of a row is 15pt.


Field Summary
static Row NULL
          NULL row.
 
Method Summary
 boolean equalsContent(Row row)
          Indicates whether the content of the specified row (cells and height) is "equal to" the content of this row.
 Cell[] getCells()
          Get array of cells in the row.
 float getHeight()
          Get height of a row in a table.
 int getRowIndex()
          Get zero based index of a row in a table.
 void setHeight(float height)
          Set height of a row in a table.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NULL

public static final Row NULL
NULL row.

Method Detail

getRowIndex

public int getRowIndex()
Get zero based index of a row in a table.


getHeight

public float getHeight()
Get height of a row in a table.


setHeight

public void setHeight(float height)
Set height of a row in a table.

Parameters:
height - new row height.

equalsContent

public boolean equalsContent(Row row)
Indicates whether the content of the specified row (cells and height) is "equal to" the content of this row.

Parameters:
row - row to compare with this one.

getCells

public Cell[] getCells()
Get array of cells in the row.