public class CursorManagerUpdateEvent
extends java.util.EventObject
CursorManager
to the CursorManageUpdateListener
objects associated with it. When a CursorManager
becomes aware that a change has occurred to the Source
associated with it, it calls the appropriate method on a CursorManageUpdateListener
and passes that method a CursorManagerUpdateEvent
.CursorManagerUpdateListener
, Serialized FormModifier and Type | Field and Description |
---|---|
static int |
CURSOR_MANAGER_DATA_UPDATED
A constant that indicates that the
Source associated with 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
CursorInfoSpecification associated with the CursorManager has been updated. |
static int |
CURSOR_MANAGER_STRUCTURE_UPDATED
A constant that indicates that the
Source associated with a CursorManager has changed and the structure of the Source is now different. |
Constructor and Description |
---|
CursorManagerUpdateEvent(CursorManager source, int id)
Creates a
CursorManagerUpdateEvent . |
Modifier and Type | Method and Description |
---|---|
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. |
public static final int CURSOR_MANAGER_DATA_UPDATED
Source
associated with a CursorManager
has changed so that the data specified by Source
is different but the structure of the Source
has not changed.public static final int CURSOR_MANAGER_STRUCTURE_UPDATED
Source
associated with a CursorManager
has changed and the structure of the Source
is now different.public static final int CURSOR_MANAGER_SPECIFICATION_UPDATED
CursorInfoSpecification
associated with the CursorManager
has been updated.public CursorManagerUpdateEvent(CursorManager source, int id)
CursorManagerUpdateEvent
.source
- The CursorManager
that originated the event.id
- The constant that indicates the type of the event that occurred.public CursorManager getCursorManager()
CursorManager
that originated the event.CursorManager
that originated the event.public int getID()
CURSOR_MANAGER_STRUCTURE_UPDATED
event.