gov.lanl.Pids
Class RunPidsClient

java.lang.Object
  |
  +--gov.lanl.Pids.RunPidsClient
All Implemented Interfaces:
PatientListObserver, PidsSelectionObserver

public class RunPidsClient
extends java.lang.Object
implements PidsSelectionObserver, PatientListObserver

The class RunPidsClient start the PIDS client application.

Version:
$Id: RunPidsClient.java,v 1.8 2002/06/29 04:20:03 dwforslund Exp $
Author:
Torsten Staab $Author: dwforslund $

Constructor Summary
RunPidsClient()
          Default constructor
RunPidsClient(java.util.Properties inClientprops)
          Constructor for the class.
 
Method Summary
static void main(java.lang.String[] args)
          entry point of HIMSS client
 void notifyPatientListObserver(int event, java.util.Vector patientProfileVector)
          notifyPatientListObserver() is called whenever the data in the PIDS client patient table changes.
 void notifyPidsSelectionObserver(int event, java.util.Vector pidsSelectionVector)
          notifyPidsSelectionObserver() implements the interface PidsSelectionObserver.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RunPidsClient

public RunPidsClient()
Default constructor


RunPidsClient

public RunPidsClient(java.util.Properties inClientprops)
Constructor for the class.

Parameters:
inClientprops - is the clients complete property file with include the configuration parameters
Method Detail

main

public static void main(java.lang.String[] args)
entry point of HIMSS client

Parameters:
args - command line arguments first argument (optional) is the name of the PIDS client configuration file; if omitted, then the default "PidsClient.cfg" is used

notifyPatientListObserver

public void notifyPatientListObserver(int event,
                                      java.util.Vector patientProfileVector)
notifyPatientListObserver() is called whenever the data in the PIDS client patient table changes.

Specified by:
notifyPatientListObserver in interface PatientListObserver
Parameters:
event - describes the type of event, such as PATIENT_LIST_CHANGED
patientProfileVector - a vector that contains the current patient list in form of TaggedProfile objects

notifyPidsSelectionObserver

public void notifyPidsSelectionObserver(int event,
                                        java.util.Vector pidsSelectionVector)
notifyPidsSelectionObserver() implements the interface PidsSelectionObserver. This method is called every time the PIDS selection in the PIDS selection dialog or the PIDS client panel changes. It is also called when the PIDS selection dialog window is closed.

Specified by:
notifyPidsSelectionObserver in interface PidsSelectionObserver
Parameters:
event - describes the type of event, such as INACTIVE_PIDS_SELECTION_CHANGED - the PIDS selection in the PIDS selection frame changed ACTIVE_PIDS_SELECTION_CHANGED - the PIDS selection in the PIDS client panel changed INACTIVE_PIDS_SELECTION_FINALIZED- the user finished selecting PIDS in the PIDS selection frame
pidsSelectionVector - a vector that contains the current PIDS selection in form of String objects


Copyright © 2000 University of California. All Rights Reserved.