#24 Javadoc ergänzt
This commit is contained in:
parent
48a221848a
commit
e2462b9f7c
2 changed files with 16 additions and 4 deletions
|
@ -2,6 +2,9 @@ package de.hitec.nhplus.main;
|
|||
|
||||
import de.hitec.nhplus.Main;
|
||||
import de.hitec.nhplus.nurse.Nurse;
|
||||
import de.hitec.nhplus.patient.Patient;
|
||||
import de.hitec.nhplus.treatment.Treatment;
|
||||
import de.hitec.nhplus.medication.Medication;
|
||||
import javafx.fxml.FXML;
|
||||
import javafx.fxml.FXMLLoader;
|
||||
import javafx.scene.control.SelectionModel;
|
||||
|
@ -81,7 +84,7 @@ public class MainWindowController {
|
|||
}
|
||||
|
||||
/**
|
||||
* Loads the patient page into its tab.
|
||||
* Loads the {@link Patient} page into its tab.
|
||||
*/
|
||||
private void loadPatientPage() {
|
||||
try {
|
||||
|
@ -99,7 +102,7 @@ public class MainWindowController {
|
|||
}
|
||||
|
||||
/**
|
||||
* Loads the {@link } page into its tab.
|
||||
* Loads the {@link Treatment} page into its tab.
|
||||
*/
|
||||
private void loadTreatmentsPage() {
|
||||
try {
|
||||
|
@ -117,7 +120,7 @@ public class MainWindowController {
|
|||
}
|
||||
|
||||
/**
|
||||
* Loads the nurse page into its tab.
|
||||
* Loads the {@link Nurse} page into its tab.
|
||||
*/
|
||||
private void loadNursePage() {
|
||||
SelectionModel<Tab> selectionModel = nurseTabPane.getSelectionModel();
|
||||
|
@ -166,6 +169,9 @@ public class MainWindowController {
|
|||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Loads the {@link Medication} page into its tab.
|
||||
*/
|
||||
private void loadMedicationPage()
|
||||
{
|
||||
SelectionModel<Tab> selectionModel = medicationTabPane.getSelectionModel();
|
||||
|
@ -179,7 +185,7 @@ public class MainWindowController {
|
|||
}
|
||||
|
||||
/**
|
||||
* Loads the medication page into its tab.
|
||||
* Loads the {@link Medication} page into its tab.
|
||||
*/
|
||||
private void loadAvailableMedicationPage() {
|
||||
try {
|
||||
|
@ -196,6 +202,9 @@ public class MainWindowController {
|
|||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Loads the deprecated {@link Medication} page into its tab.
|
||||
*/
|
||||
private void loadDeprecatedMedicationPage(){
|
||||
try {
|
||||
BorderPane deprecatedMedicationPane = FXMLLoader.load(
|
||||
|
|
|
@ -38,6 +38,9 @@ public class DeprecatedMedicationController {
|
|||
private final ObservableList<Medication> medications = FXCollections.observableArrayList();
|
||||
private MedicationDao dao;
|
||||
|
||||
/**
|
||||
* Initialization method that is called after the binding of all the fields.
|
||||
*/
|
||||
public void initialize() {
|
||||
this.readAllAndShowInTableView();
|
||||
|
||||
|
|
Loading…
Reference in a new issue