|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface DataView
| Method Summary | |
|---|---|
void |
addObserver(java.util.Observer o)
Called to add the specified observer to the list of observers that should receive notifications when the view if modified. |
boolean |
commit()
This method is called commit all changes to the DataView to its data store. |
void |
deleteObserver(java.util.Observer o)
Called to remove the specified observer from the list of observers that should receive notifications when the view if modified. |
void |
deleteObservers()
Called to clear the list of observers that should receive notifications when the view if modified. |
DataKey |
getKeyForObject(java.lang.Object anObject)
Returns the key for the specified object. |
java.lang.Object |
getObjectForKey(DataKey aKey)
Returns the object for the specified key. |
void |
update(java.lang.Object o)
This method is called to notify the DataView that one of its objects has been modified and should be updated when the view is committed. |
| Methods inherited from interface java.util.List |
|---|
add, add, addAll, addAll, clear, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, retainAll, set, size, subList, toArray, toArray |
| Method Detail |
|---|
void update(java.lang.Object o)
boolean commit()
void addObserver(java.util.Observer o)
o - The observer to add.void deleteObserver(java.util.Observer o)
o - The observer to delete.void deleteObservers()
DataKey getKeyForObject(java.lang.Object anObject)
java.lang.Object getObjectForKey(DataKey aKey)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||