    All Packages  Class Hierarchy  This Package  Previous  Next  Index

# Class netscape.peas.JavaDummyCursor

    java.lang.Object
       |
       +----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.

##

JavaDummyCursor()
  Construct a JavaDummyCursor object.

##

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.
fetchMoreRows()
  Override of TableSupport's "do-nothing" implementation.

##

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

##

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

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