public class MedicalHistoryView extends java.lang.Object implements IView, javafx.fxml.Initializable
| Constructor and Description |
|---|
MedicalHistoryView(MedicalHistoryController medHisController)
Constructor of the class
|
| Modifier and Type | Method and Description |
|---|---|
javafx.scene.layout.Pane |
getContent()
Returns the Container which inherits all GUI Elements loaded from the FXML file
|
javafx.scene.control.DatePicker |
getDateFrom() |
javafx.scene.control.TextArea |
getDiagnostic() |
javafx.scene.control.TextField |
getHour() |
javafx.scene.control.TextArea |
getNotes() |
javafx.scene.control.Label |
getState() |
javafx.scene.control.TextArea |
getSymptoms() |
void |
initialize(java.net.URL location,
java.util.ResourceBundle resources) |
void |
setData(MedicalHistory model)
Fills the Data from the model into the form
|
void |
setError(java.util.List<java.lang.String> errors)
sets the Error message and display it to the message box
|
public MedicalHistoryView(MedicalHistoryController medHisController)
medHisController - the Controllerpublic void setError(java.util.List<java.lang.String> errors)
errors - public void setData(MedicalHistory model)
model - public javafx.scene.layout.Pane getContent()
IViewgetContent in interface IViewpublic void initialize(java.net.URL location,
java.util.ResourceBundle resources)
initialize in interface javafx.fxml.Initializablepublic javafx.scene.control.Label getState()
public javafx.scene.control.DatePicker getDateFrom()
public javafx.scene.control.TextField getHour()
public javafx.scene.control.TextArea getSymptoms()
public javafx.scene.control.TextArea getDiagnostic()
public javafx.scene.control.TextArea getNotes()