|
| Components |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||
public interface StaticFormattedDataInterface
Defines an interface for accessing a table's formatted data. This will usually be implemented in tandem with the primary interface to tables, StaticTableInterface.
StaticTableInterface,
FormattedDataInterface,
FormatInterface| Method Summary | |
|---|---|
java.lang.String |
getFormattedCell(int rowIndex,
int columnIndex)
Returns the formatted value of a cell. |
java.lang.String[][] |
getFormattedCells(int startRowIndex,
int startColumnIndex,
int rowCount,
int columnCount)
Returns the formatted values for a block of cells. |
java.lang.String[] |
getFormattedColumn(int index)
Returns the formatted values of all the cells in a column. |
java.lang.String[] |
getFormattedRow(int index)
Returns the formatted values of all the cells in a row. |
| Method Detail |
|---|
java.lang.String getFormattedCell(int rowIndex,
int columnIndex)
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.
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.getFormattedCells(int, int, int, int),
getFormattedColumn(int),
getFormattedRow(int)
java.lang.String[][] getFormattedCells(int startRowIndex,
int startColumnIndex,
int rowCount,
int columnCount)
throws com.sas.table.TableException
new Object[rowCount][colCount], with
values[0][0] containing the formatted 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.
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; except when
getRowCount() has returned -1 -- in that case, the
implementation should reduce rowCount appropriately and
the caller should be prepared for a smaller returned array.
Thrown if startColumnIndex or columnCount is negative,
zero, or greater than the number of columns; except when
getColumnCount() has returned -1 -- in that case, the
implementation should reduce columnCount appropriately and
the caller should be prepared for a smaller returned array.getFormattedCell(int, int),
StaticTableInterface.getColumnCount(),
StaticTableInterface.getRowCount()
java.lang.String[] getFormattedColumn(int index)
throws com.sas.table.TableException
index - A one-based index that identifies 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.getFormattedCell(int, int)
java.lang.String[] getFormattedRow(int index)
throws com.sas.table.TableException
index - A one-based index that identifies 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.getFormattedCell(int, int)
|
| Components |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||