oracle.olapi.data.cursor
Class CursorManagerUpdateEvent
java.lang.Object
|
+--java.util.EventObject
|
+--oracle.olapi.data.cursor.CursorManagerUpdateEvent
- 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 |
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 |
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
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
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
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.
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.
Copyright © 2002, 2005, Oracle. All rights reserved.