gov.lanl.Pids
Class PatientListNotifier
java.lang.Object
|
+--gov.lanl.Pids.PatientListNotifier
- public class PatientListNotifier
- extends java.lang.Object
The class PatientListNotifier is responsible for notifying all observer
objects that are interested in patient list change events. A patient list
change event, for example, is triggered every time the data in the PIDS client
patient data changes.
-

|
Method Summary |
void |
addObserver(gov.lanl.Pids.PatientListObserver observer)
adds a new observer to this object |
void |
notifyPatientListObserver(int event,
java.util.Vector patientProfileVector)
This method is called when this object needs to pass on a
notification to its registered observers. |
void |
removeObserver(gov.lanl.Pids.PatientListObserver observer)
removes an observer from this object |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PATIENT_LIST_CHANGED
public static final int PATIENT_LIST_CHANGED
- See Also:
- Constant Field Values
PatientListNotifier
public PatientListNotifier()
addObserver
public void addObserver(gov.lanl.Pids.PatientListObserver observer)
- adds a new observer to this object
- Parameters:
observer - the patient list observer to be added
removeObserver
public void removeObserver(gov.lanl.Pids.PatientListObserver observer)
- removes an observer from this object
- Parameters:
observer - the patient list observer to be removed
notifyPatientListObserver
public void notifyPatientListObserver(int event,
java.util.Vector patientProfileVector)
- This method is called when this object needs to pass on a
notification to its registered observers.
- Parameters:
event - describes the type of event, such as PATIENT_LIST_CHANGEDpatientProfileVector - a vector of TaggedProfile objects