com.inet.html.views
Class TableView.TableRowInfo

java.lang.Object
  extended by com.inet.html.views.TableView.TableRowInfo
Enclosing class:
TableView

public class TableView.TableRowInfo
extends java.lang.Object

Contains informations about a table row. Represents the "TR" / "table-row"


Constructor Summary
TableView.TableRowInfo(javax.swing.text.Element elem, TableView.TableRowGroup parent)
          Creates a row.
 
Method Summary
 int countErrorCells()
          Returns the number of invalid cells in this row
 int countValidCells()
          Returns the number of valid cells in this row
 java.util.List<TableView.TableCellInfo> getCells()
          Returns a list of all cells ins this row, ordered by column number
 javax.swing.text.Element getSource()
          Returns the table row element or null, if auto-generated
 java.lang.String toString()
          
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TableView.TableRowInfo

public TableView.TableRowInfo(javax.swing.text.Element elem,
                              TableView.TableRowGroup parent)
Creates a row. A Row requires a row group parent( e.g. TBODY )

Parameters:
elem - the element, which defines this row
parent - the parent structure element
Method Detail

getCells

public java.util.List<TableView.TableCellInfo> getCells()
Returns a list of all cells ins this row, ordered by column number

Returns:
a list of all cells ins this row, ordered by column number

countValidCells

public int countValidCells()
Returns the number of valid cells in this row

Returns:
the number of valid cells in this row

countErrorCells

public int countErrorCells()
Returns the number of invalid cells in this row

Returns:
the number of invalid cells in this row

toString

public java.lang.String toString()

Overrides:
toString in class java.lang.Object

getSource

public javax.swing.text.Element getSource()
Returns the table row element or null, if auto-generated

Returns:
the table row element or null, if auto-generated