| |
|
| java.lang.Object org.cougaar.lib.aggagent.query.UpdateObservable
UpdateObservable | public class UpdateObservable implements Serializable(Code) | | Used by objects to provide an implementation of an update observable.
Assists in managment of update listeners. Objects can either extend or
delegate to this class.
|
UpdateObservable | public UpdateObservable()(Code) | | Default constructor
|
addUpdateListener | public void addUpdateListener(UpdateListener ul)(Code) | | Add an update listener to observe this object
|
fireObjectAdded | public void fireObjectAdded(Object sourceObject)(Code) | | Send event to all update listeners indicating that object has been added
to the log plan.
Parameters: sourceObject - object that has been added |
fireObjectChanged | public void fireObjectChanged(Object sourceObject)(Code) | | Send event to all update listeners indicating that object has been changed
on the log plan.
Parameters: sourceObject - object that has been changed |
fireObjectRemoved | public void fireObjectRemoved(Object sourceObject)(Code) | | Send event to all update listeners indicating that object has been removed
from the log plan.
Parameters: sourceObject - object that has been removed |
removeUpdateListener | public void removeUpdateListener(UpdateListener ul)(Code) | | Remove an update listener such that it no longer gets notified of changes
to this object
|
|
|
|