Oracle9i OLAP Services Developer's Guide to the Oracle OLAP API Release 1 (9.0.1) Part Number A88756-01 |
|
Understanding Cursor Classes and Concepts, 7 of 9
CursorManagerUpdateListener
is an interface that has methods that receive CursorManagerUpdateEvent
objects. Oracle OLAP Services generates a CursorManagerUpdateEvent
object in response to a change that occurs in a Source
that is produced by a Template
or when a CursorManager
updates its CursorManagerSpecification
. Your application can use a CursorManagerUpdateListener
to listen for events that indicate it might need to create new Cursor
objects from the CursorManager
or to update its display of data from a Cursor
.
To use a CursorManagerUpdateListener
, implement the interface, create an instance of the class, and then add the CursorManagerUpdateListener
to the CursorManager
for a Source
. When a change to the Source
occurs, the CursorManager
calls the appropriate method on the CursorManagerUpdateListener
and passes it a CursorManagerUpdateEvent
. Your application can then perform the tasks needed to generate new Cursor
objects and update the display of values from the result set that the Source
defines.
You can implement more than one version of the CursorManagerUpdateListener
interface. You can add instances of them to the same CursorManager
.
A CursorManagerUpdateListener
has the following methods:
Oracle OLAP Services generates a CursorManagerUpdateEvent
object in response to a change that occurs in a Source
that is produced by a Template
or when a CursorManager
updates its CursorManagerSpecification
.
You do not directly create instances of this class. Oracle OLAP Services generates CursorManagerUpdateEvent
objects and passes them to the appropriate methods of any CursorManagerUpdateListener
objects you have added to a CursorManager
. The CursorManagerUpdateEvent
has a field that indicates the type of event that occurred. A CursorManagerUpdateEvent
has methods you can use to get information about it.
A CursorManagerUpdateEvent
has the following fields:
A CursorManagerUpdateEvent
has the following methods:
Method |
Return Value |
---|---|
|
The |
|
A constant the identifies the type of event that occurred, such as |
|
Copyright © 1996-2001, Oracle Corporation. All Rights Reserved. |
|