public interface GXITableRow
Table row.
Represents a data row in the table. Each row consists of GXITableCell. The cells structure in the row is determined according to the column schema.
Modifier and Type | Method and Description |
---|---|
GXITableCell |
getItem(int columnIndex) |
GXITableCell |
getItem(String columnName) |
String |
getItemContent(int columnIndex) |
String |
getItemContent(String columnName) |
GXITableCell[] |
getItems() |
String[] |
getItemsContents() |
String |
getPrimaryKey() |
void |
removeItem(int columnIndex)
Removes the cell at the specified column index.
|
void |
removeItem(String columnName)
Removes the cell of the specified column name.
|
void |
setItem(int columnIndex,
GXITableCell item)
Sets a table cell at specified column index, and replaces the previous cell (if such existed).
|
void |
setItem(String columnName,
GXITableCell item)
Sets a table cell of the specified column name, and replaces the previous cell (if such existed).
|
void |
setItemContent(int columnIndex,
String content)
Sets the content of the cell in the specified column's index.
|
void |
setItemContent(String columnName,
String content)
Sets the content of the cell of the specified column's name.
|
GXITableCell[] getItems()
String[] getItemsContents()
GXITableCell getItem(int columnIndex)
columnIndex
- should range between 0 to columnCount - 1.GXITableCell getItem(String columnName)
columnName
- column's name.void setItem(int columnIndex, GXITableCell item)
columnIndex
- the column's index. Should range between 0 to columnCount - 1.item
- the new cell.void setItem(String columnName, GXITableCell item)
columnName
- column's name.item
- the new cell.String getItemContent(int columnIndex)
columnIndex
- the column's index. Should range between 0 to columnCount - 1.String getItemContent(String columnName)
columnName
- column's name.void setItemContent(int columnIndex, String content)
columnIndex
- the column's index. Should range between 0 to columnCount - 1.content
- the new cell's content.void setItemContent(String columnName, String content)
columnName
- column's name.content
- the new cell's content.String getPrimaryKey()
GXITable.getPrimaryKey()
void removeItem(int columnIndex)
columnIndex
- the column's index. Should range between 0 to columnCount - 1.void removeItem(String columnName)
columnName
- column's name.Copyright 2021 Software AG. All rights reserved. Use is subject to license terms.