Interface TableRow
public interface TableRow
Captures the values for a particular table row.
-
Method Summary
Modifier and Type Method Description java.lang.Object
getValue(int col)
Returns the value at the specified column index.void
removeColumn(int col)
Removes the column specified by columnIndex.void
setValue(int col, java.lang.Object value)
Sets the value of cell at the given column.
-
Method Details
-
getValue
java.lang.Object getValue(int col) throws java.lang.IndexOutOfBoundsExceptionReturns the value at the specified column index.- Parameters:
col
- column index (starts with zero)- Returns:
- value
- Throws:
java.lang.IndexOutOfBoundsException
- if the row or column index is out of bounds
-
setValue
void setValue(int col, java.lang.Object value) throws java.lang.IndexOutOfBoundsExceptionSets the value of cell at the given column.- Parameters:
col
- column index (starts with zero)value
- the new value of the cell- Throws:
java.lang.IndexOutOfBoundsException
- if the row or column index is out of bounds
-
removeColumn
void removeColumn(int col)Removes the column specified by columnIndex.- Parameters:
col
- column index (starts with zero)
-