|
|
|||||||||||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DatabaseListener
Defines the interface for an object that listens to changes in a Database.
Method Summary | |
---|---|
void |
objectsChanged(DatabaseEvent e)
Invoked after objects of the database have been updated in some way. |
void |
objectsInserted(DatabaseEvent e)
Invoked after an object has been inserted into the database. |
void |
objectsRemoved(DatabaseEvent e)
Invoked after an object has been deleted from the database. |
Method Detail |
---|
void objectsChanged(DatabaseEvent e)
e.getObjects()
to get the updated database objects.
e
- the update eventvoid objectsInserted(DatabaseEvent e)
e.getObjects()
to get the newly inserted database objects.
e
- the insertion eventvoid objectsRemoved(DatabaseEvent e)
e.getObjects()
to get the inserted database objects.
e
- the removal event
|
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |