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(java.lang.String columnName) |
java.lang.String |
getItemContent(int columnIndex) |
java.lang.String |
getItemContent(java.lang.String columnName) |
GXITableCell[] |
getItems() |
java.lang.String[] |
getItemsContents() |
java.lang.String |
getPrimaryKey() |
void |
removeItem(int columnIndex)
Removes the cell at the specified column index.
|
void |
removeItem(java.lang.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(java.lang.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,
java.lang.String content)
Sets the content of the cell in the specified column's index.
|
void |
setItemContent(java.lang.String columnName,
java.lang.String content)
Sets the content of the cell of the specified column's name.
|
GXITableCell[] getItems()
java.lang.String[] getItemsContents()
GXITableCell getItem(int columnIndex)
columnIndex
- should range between 0 to columnCount - 1.GXITableCell getItem(java.lang.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(java.lang.String columnName, GXITableCell item)
columnName
- column's name.item
- the new cell.java.lang.String getItemContent(int columnIndex)
columnIndex
- the column's index. Should range between 0 to columnCount - 1.java.lang.String getItemContent(java.lang.String columnName)
columnName
- column's name.void setItemContent(int columnIndex, java.lang.String content)
columnIndex
- the column's index. Should range between 0 to columnCount - 1.content
- the new cell's content.void setItemContent(java.lang.String columnName, java.lang.String content)
columnName
- column's name.content
- the new cell's content.java.lang.String getPrimaryKey()
GXITable.getPrimaryKey()
void removeItem(int columnIndex)
columnIndex
- the column's index. Should range between 0 to columnCount - 1.void removeItem(java.lang.String columnName)
columnName
- column's name.Copyright 2018 Software AG. All rights reserved. Use is subject to license terms.