|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface FormattedDataInterface
Defines an interface for modifying a table's formatted data.
TableInterface
Method Summary | |
---|---|
void |
setFormattedCell(int rowIndex,
int columnIndex,
java.lang.String value)
Specifies the formatted value of a cell. |
void |
setFormattedCells(int startRowIndex,
int startColumnIndex,
int rowCount,
int columnCount,
java.lang.String[][] values)
Specifies the formatted values for a block of cells. |
void |
setFormattedColumn(int index,
java.lang.String[] values)
Specifies the formatted values of all the cells in a column. |
void |
setFormattedRow(int index,
java.lang.String[] values)
Specifies the formatted values of all the cells in a row. |
Methods inherited from interface com.sas.table.StaticFormattedDataInterface |
---|
getFormattedCell, getFormattedCells, getFormattedColumn, getFormattedRow |
Method Detail |
---|
void setFormattedCell(int rowIndex, int columnIndex, java.lang.String value) throws com.sas.table.TableException
rowIndex
- A one-based index that identifies the cell's row.columnIndex
- A one-based index that identifies the cell's column.value
- The cell's new formatted value.
TableException
- Thrown if the query can not be satisfied (e.g. i/o-failure).
java.lang.IndexOutOfBoundsException
- Thrown if rowIndex is negative, zero, or greater than the
number of rows.
Thrown if columnIndex is negative, zero, or greater than the
number of columns.setFormattedCells(int, int, int, int, java.lang.String[][])
,
setFormattedColumn(int, java.lang.String[])
,
setFormattedRow(int, java.lang.String[])
void setFormattedCells(int startRowIndex, int startColumnIndex, int rowCount, int columnCount, java.lang.String[][] values) throws com.sas.table.TableException
new Object[rowCount][colCount]
, with
values[0][0]
containing the value of the cell at
(startRowIndex, startColumnIndex).
startRowIndex
- A one-based index that identifies the start of the row range.startColumnIndex
- A one-based index that identifies the start of the column range.rowCount
- The number of rows in the row range.columnCount
- The number of columns in the column range.values
- The new formatted values for each cell in the block.
TableException
- Thrown if the query can not be satisfied (e.g. i/o-failure).
java.lang.IndexOutOfBoundsException
- Thrown if startRowIndex or rowCount is negative,
zero, or greater than the number of rows.
Thrown if startColumnIndex or columnCount is negative,
zero, or greater than the number of columns.setFormattedCell(int, int, java.lang.String)
void setFormattedColumn(int index, java.lang.String[] values) throws com.sas.table.TableException
index
- A one-based index that identifies the column.values
- The new formatted values for each cell in the column.
TableException
- Thrown if the query can not be satisfied (e.g. i/o-failure).
java.lang.IndexOutOfBoundsException
- Thrown if index is negative, zero, or greater than the number
of columns.setFormattedCell(int, int, java.lang.String)
void setFormattedRow(int index, java.lang.String[] values) throws com.sas.table.TableException
index
- A one-based index that identifies the row.values
- The new formatted values for each cell in the row.
TableException
- Thrown if the query can not be satisfied (e.g. i/o-failure).
java.lang.IndexOutOfBoundsException
- Thrown if index is negative, zero, or greater than the number
of rows.setFormattedCell(int, int, java.lang.String)
|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |