Class netscape.peas.JavaDummyCursor
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class netscape.peas.JavaDummyCursor

netscape.peas.RowSupport
   |
   +----netscape.peas.TableSupport
           |
           +----netscape.peas.JavaDummyCursor

public class JavaDummyCursor
extends TableSupport
Example Cursor object. Implemented as java class so it can be palced in HTML form using JavaScirpt "new" operator, or, as "invisible bean". Fires propertyChange, rowChange, and tableChange events. Implements PropertyChangeListener, RowChangeListener, and TableChangeListener interfaces.

Constructor Index

 o JavaDummyCursor()
Construct a JavaDummyCursor object.

Method Index

 o executeQuery()
Subclasses of TableSupport need to do the following in their version of executeQuery: - setup the column names, if they are out of data - be prepared for calls to fetChMoreRows.
 o fetchMoreRows()
Override of TableSupport's "do-nothing" implementation.

Constructors

 o JavaDummyCursor
  public JavaDummyCursor()
Construct a JavaDummyCursor object. "true" is passed to supertype TableSupport to indicate that this object must own its data context (column names & row numbers).

Methods

 o executeQuery
  public void executeQuery()
Subclasses of TableSupport need to do the following in their version of executeQuery: - setup the column names, if they are out of data - be prepared for calls to fetChMoreRows. - call TableSupport's implementation of execute query. This resets buffer and causes fetching
Overrides:
executeQuery in class TableSupport
 o fetchMoreRows
  public void fetchMoreRows()
Override of TableSupport's "do-nothing" implementation. Get more rows, if "rowsPending" property is true, otherwise does nothing.
Overrides:
fetchMoreRows in class TableSupport

All Packages  Class Hierarchy  This Package  Previous  Next  Index