|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--DisplayPanel | +--PatientView
View for a patient.
Field Summary | |
protected Patient |
model
Patient data model for this. |
protected JLabel |
nameView
View for name of patient. |
protected JLabel |
needView
View for need of patient. |
protected StatusView |
statusView
View for status of patient. |
Constructor Summary | |
PatientView(Patient aPatient)
Constructs a view for the given patient. |
Method Summary | |
Patient |
getModel()
Returns the data model for this. |
void |
setModel(Patient aPatient)
Sets the data model for this to the given model. |
void |
update(Observable o,
Object arg)
Updates this to show changes to the data model. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected Patient model
protected JLabel nameView
protected StatusView statusView
protected JLabel needView
Constructor Detail |
public PatientView(Patient aPatient)
Method Detail |
public void setModel(Patient aPatient)
public Patient getModel()
public void update(Observable o, Object arg)
update
in interface Observer
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |