Oracle® OLAP Java API Reference
10g Release 2 (10.2.0.4)

B14348-04

oracle.olapi.data.cursor
Class CursorManagerUpdateEvent

java.lang.Object
  extended byjava.util.EventObject
      extended byoracle.olapi.data.cursor.CursorManagerUpdateEvent
All Implemented Interfaces:
java.io.Serializable

public class CursorManagerUpdateEvent
extends java.util.EventObject

An event passed by a CursorManager to its CursorManageUpdateListener objects. When a CursorManager becomes aware that a change has occurred to its Source, it calls the appropriate method on a CursorManageUpdateListener and passes that method a CursorManagerUpdateEvent. The Source for a CursorManager is the Source that was passed to the createCursorManagerSpecification method on a DataProvider, the result of which was passed to the createCursorManager method on the DataProvider that created the CursorManager.

See Also:
Cursor, CursorManager, CursorManagerUpdateListener, Serialized Form

Field Summary
static int CURSOR_MANAGER_DATA_UPDATED
          A constant that indicates that the Source for a CursorManager has changed so that the data specified by Source is different but the structure of the Source has not changed.
static int CURSOR_MANAGER_SPECIFICATION_UPDATED
          A constant that indicates that the CursorManagerSpecification of the CursorManager has been updated.
static int CURSOR_MANAGER_STRUCTURE_UPDATED
          A constant that indicates that the Source for a CursorManager has changed and the structure of the Source is now different.
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
CursorManagerUpdateEvent(CursorManager source, int id)
          Creates a CursorManagerUpdateEvent.
 
Method Summary
 CursorManager getCursorManager()
          Gets the CursorManager that originated the event.
 int getID()
          Gets the constant that identifies the type of event that occurred, such as the CURSOR_MANAGER_STRUCTURE_UPDATED event.
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

CURSOR_MANAGER_DATA_UPDATED

public static final int CURSOR_MANAGER_DATA_UPDATED
A constant that indicates that the Source for a CursorManager has changed so that the data specified by Source is different but the structure of the Source has not changed.

See Also:
CursorManagerUpdateListener, Constant Field Values

CURSOR_MANAGER_STRUCTURE_UPDATED

public static final int CURSOR_MANAGER_STRUCTURE_UPDATED
A constant that indicates that the Source for a CursorManager has changed and the structure of the Source is now different.

See Also:
CursorManagerUpdateListener, Constant Field Values

CURSOR_MANAGER_SPECIFICATION_UPDATED

public static final int CURSOR_MANAGER_SPECIFICATION_UPDATED
A constant that indicates that the CursorManagerSpecification of the CursorManager has been updated.

See Also:
CursorManagerUpdateListener, Constant Field Values
Constructor Detail

CursorManagerUpdateEvent

public CursorManagerUpdateEvent(CursorManager source,
                                int id)
Creates a CursorManagerUpdateEvent.

Parameters:
source - The CursorManager that originated the event.
id - The constant that indicates the type of the event that occurred.
Method Detail

getCursorManager

public CursorManager getCursorManager()
Gets the CursorManager that originated the event.

Returns:
The CursorManager that originated the event.

getID

public int getID()
Gets the constant that identifies the type of event that occurred, such as the CURSOR_MANAGER_STRUCTURE_UPDATED event.

Returns:
The constant that indicates the type of the event that occurred.

Oracle® OLAP Java API Reference
10g Release 2 (10.2.0.4)

B14348-04

Copyright © 2002, 2007, Oracle. All rights reserved.