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.


Method Index

 o addRow()
Add a row to the end of the table
 o deleteRow()
Delete the current row, and notify listeners.
 o deleteRow(int, boolean)
Delete the specified row number.
 o doSetCurrentRowNumber(int, boolean, boolean, NotifyList)
 o executeQuery()
Evalutate the query, and fetch the appropriate amount of rows, based on the "bufferSize" property.
 o fetchMoreRows()
Get more rows, if "rowsPending" property is true, otherwise does nothing.
 o getCurrentRowNumber()
getCurrentRowNumber allows clients of this Table to get the value of its its "currentRowNumber" property.
 o getFetchBufferSize()
Setter method for this cursor's "bufferSize" property.
 o getQuery()
Getter method for this cursor's "query" property.
 o getRowsPending()
Getter for the booelan "rowsPending" property.
 o nextRow()
Change the position of this cursor to the next row.
 o previousRow()
Change the position of this cursor to the next row.
 o setCurrentRowNumber(int)
setCurrentRowNumber allows clients of this Table adjust its "currentRowNumber" property.
 o setFetchBufferSize(int)
Getter method for this cursor's "bufferSize" property.
 o setQuery(String)
Setter method for this cursor's "query" property.
 o setTableValue(int, int, Object, NotifyList)
Method to set this table's value at row# iRow and column# iColumn.

Methods

 o getQuery
 public abstract String getQuery()
Getter method for this cursor's "query" property.

 o setQuery
 public abstract void setQuery(String sNewQuery)
Setter method for this cursor's "query" property.

 o 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.

 o 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.

 o 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".

 o getRowsPending
 public abstract boolean getRowsPending()
Getter for the booelan "rowsPending" property.

 o fetchMoreRows
 public abstract void fetchMoreRows()
Get more rows, if "rowsPending" property is true, otherwise does nothing.

 o 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.

 o doSetCurrentRowNumber
 public abstract boolean doSetCurrentRowNumber(int iNewRowNumber,
                                               boolean bNotify,
                                               boolean bUpdateView,
                                               NotifyList oNotifyList)
 o 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.

 o nextRow
 public abstract boolean nextRow()
Change the position of this cursor to the next row. Return false if there is none.

 o previousRow
 public abstract boolean previousRow()
Change the position of this cursor to the next row. Return false if there is none.

 o deleteRow
 public abstract void deleteRow()
Delete the current row, and notify listeners.

 o deleteRow
 public abstract void deleteRow(int iRowNumber,
                                boolean bNotify)
Delete the specified row number.

 o addRow
 public abstract void addRow()
Add a row to the end of the table

 o 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