Package org.spiderwiz.admin.data
Class TableData.RowData
java.lang.Object
org.spiderwiz.admin.data.TableData.RowData
- Enclosing class:
- TableData
@WizSerializable public static class TableData.RowData extends Object
Holds data to populate one table row.
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classTableData.RowData.CellDataHolds data for each table cell.
- 
Constructor SummaryConstructors Constructor Description RowData()Constructs and empty object
- 
Method SummaryModifier and Type Method Description TableData.RowDataaddCell(String column, double data, int style, String uri)Add a cell descriptor to the row with the data as adoublevalue.TableData.RowDataaddCell(String column, int data, int style, String uri)Add a cell descriptor to the row with the data as an integer value.TableData.RowDataaddCell(String column, Object data, int style, String uri)Add a cell descriptor to the row with the data as a String.List<TableData.RowData.CellData>getCellData()Gets the value of the cellData property.
- 
Constructor Details- 
RowDatapublic RowData()Constructs and empty object
 
- 
- 
Method Details- 
getCellDataGets the value of the cellData property.The cellDataproperty is a list of inner classes that hold data for each cell in the row.- Returns:
- the value of the cellData property.
 
- 
addCellAdd a cell descriptor to the row with the data as a String.The method arguments are: - column: Identifies the column in which the data shall be displayed by specifying the column title as defined by- PageInfo.TableInfo.ColumnInfo.getTitle().
- data: Contains the data to display in the referenced cell. This can be any object that can be stringified. If the object is of type- Datethen it will be displayed by the browser using its locale.
- style: A bit combination of- PageInfo.TableInfo.Stylevalues that specify the HTML styles used for displaying the data in the cell. If the argument value is zero then the default column style defined in- PageInfo.TableInfo.ColumnInfo.getStyle()is used.
- uri: If not- nullthen the cell data is displayed as a link (HTML- atag) referencing this value.
 - Parameters:
- column- Column title.
- data- Cell data.
- style- Cell style.
- uri- If not null then the data is displayed as a link to this value.
- Returns:
- this object.
 
- 
addCellAdd a cell descriptor to the row with the data as an integer value.The method arguments are: - column: Identifies the column in which the data shall be displayed by specifying the column title as defined by- PageInfo.TableInfo.ColumnInfo.getTitle().
- data: Contains an integer value to display in the referenced cell.
- style: A bit combination of- PageInfo.TableInfo.Stylevalues that specify the HTML styles used for displaying the data in the cell. If the argument value is zero then the default column style defined in- PageInfo.TableInfo.ColumnInfo.getStyle()is used.
- uri: If not- nullthen the cell data is displayed as a link (HTML- atag) referencing this value.
 - Parameters:
- column- Column title.
- data- Cell data as an integer value.
- style- Cell style.
- uri- If not null then the data is displayed as a link to this value.
- Returns:
- this object.
 
- 
addCellAdd a cell descriptor to the row with the data as adoublevalue.The method arguments are: - column: Identifies the column in which the data shall be displayed by specifying the column title as defined by- PageInfo.TableInfo.ColumnInfo.getTitle().
- data: Contains a- doublevalue to display in the referenced cell.
- style: A bit combination of- PageInfo.TableInfo.Stylevalues that specify the HTML styles used for displaying the data in the cell. If the argument value is zero then the default column style defined in- PageInfo.TableInfo.ColumnInfo.getStyle()is used.
- uri: If not- nullthen the cell data is displayed as a link (HTML- atag) referencing this value.
 - Parameters:
- column- Column title.
- data- Cell data as a- doublevalue.
- style- Cell style.
- uri- If not null then the data is displayed as a link to this value.
- Returns:
- this object.
 
 
-