All Packages Class Hierarchy This Package Previous Next Index
Interface netscape.peas.Table
- public interface Table
- extends TableProvider, TableReceiver, Row, GetInterface
The TableInterface combines the TableProvider, TableReceiver interfaces.
-
addRow()
- Add a row to the end of the table
-
deleteRow()
- Delete the current row, and notify listeners.
-
deleteRow(int, boolean)
- Delete the specified row number.
-
doSetCurrentRowNumber(int, boolean, boolean, NotifyList)
-
-
executeQuery()
- Evalutate the query, and fetch the appropriate
amount of rows, based on the "bufferSize" property.
-
fetchMoreRows()
- Get more rows, if "rowsPending" property is true, otherwise does nothing.
-
getCurrentRowNumber()
- getCurrentRowNumber allows clients of this Table to get the
value of its its "currentRowNumber" property.
-
getFetchBufferSize()
- Setter method for this cursor's "bufferSize" property.
-
getQuery()
- Getter method for this cursor's "query" property.
-
getRowsPending()
- Getter for the booelan "rowsPending" property.
-
nextRow()
- Change the position of this cursor to the
next row.
-
previousRow()
- Change the position of this cursor to the
next row.
-
setCurrentRowNumber(int)
- setCurrentRowNumber allows clients of this Table adjust
its "currentRowNumber" property.
-
setFetchBufferSize(int)
- Getter method for this cursor's "bufferSize" property.
-
setQuery(String)
- Setter method for this cursor's "query" property.
-
setTableValue(int, int, Object, NotifyList)
- Method to set this table's value at row# iRow and column# iColumn.
getQuery
public abstract String getQuery()
- Getter method for this cursor's "query" property.
setQuery
public abstract void setQuery(String sNewQuery)
- Setter method for this cursor's "query" property.
getFetchBufferSize
public abstract int getFetchBufferSize()
- Setter method for this cursor's "bufferSize" property.
this specifies the number of rows fetched when the query
is executed, and on successive fetchMoreRows() calls.
A buffer size of 0 means that all rows are fetched before
control is returned from executeQuery.
setFetchBufferSize
public abstract void setFetchBufferSize(int iNewBufferSize)
- Getter method for this cursor's "bufferSize" property.
this specifies the number of rows fetched when the query
is executed, and on successive fetchMoreRows() calls.
executeQuery
public abstract void executeQuery()
- Evalutate the query, and fetch the appropriate
amount of rows, based on the "bufferSize" property.
If not all rows have been fetched, the rowsPending
property will have a "true" value. The numRowsFetched
property will equal the number of rows satisfying the query
only if the numRowsFetched property is "false".
getRowsPending
public abstract boolean getRowsPending()
- Getter for the booelan "rowsPending" property.
fetchMoreRows
public abstract void fetchMoreRows()
- Get more rows, if "rowsPending" property is true, otherwise does nothing.
getCurrentRowNumber
public abstract int getCurrentRowNumber()
- getCurrentRowNumber allows clients of this Table to get the
value of its its "currentRowNumber" property. It ought to be
exposed in the beaninfo as the "read" method for this property.
doSetCurrentRowNumber
public abstract boolean doSetCurrentRowNumber(int iNewRowNumber,
boolean bNotify,
boolean bUpdateView,
NotifyList oNotifyList)
setCurrentRowNumber
public abstract boolean setCurrentRowNumber(int iNewRowNumber)
- setCurrentRowNumber allows clients of this Table adjust
its "currentRowNumber" property. It ought to be exposed in
the beaninfo as the "write" method for this property.
nextRow
public abstract boolean nextRow()
- Change the position of this cursor to the
next row. Return false if there is none.
previousRow
public abstract boolean previousRow()
- Change the position of this cursor to the
next row. Return false if there is none.
deleteRow
public abstract void deleteRow()
- Delete the current row, and notify listeners.
deleteRow
public abstract void deleteRow(int iRowNumber,
boolean bNotify)
- Delete the specified row number.
addRow
public abstract void addRow()
- Add a row to the end of the table
setTableValue
public abstract void setTableValue(int iRow,
int iColumn,
Object oNewValue,
NotifyList oNotify)
- Method to set this table's value at row# iRow and column# iColumn.
All Packages Class Hierarchy This Package Previous Next Index