-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDoctorMenuController.java
More file actions
46 lines (38 loc) · 972 Bytes
/
DoctorMenuController.java
File metadata and controls
46 lines (38 loc) · 972 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
package healthcareLook;
import java.net.URL;
import java.util.ResourceBundle;
import javafx.fxml.FXML;
import javafx.fxml.Initializable;
import javafx.scene.control.Button;
public class DoctorMenuController implements Initializable{
@FXML
Button receptionist;
@FXML
Button nurse;
@FXML
Button diagnosis;
@FXML
Button noShow;
@FXML
Button signout;
String staffID;
@Override
public void initialize(URL location, ResourceBundle resources) {
staffID = DoctorMenuWindow.getID();
receptionist.setOnAction(a->{
ReceptionistMainMenuWindow.startReceptionstMenu();
});
nurse.setOnAction(b->{
NurseMenuWindow.startNurseWindow(staffID);
});
diagnosis.setOnAction(c->{
StaffDiagonsisWindow.startCreateDiagonsisWindow(staffID);
});
noShow.setOnAction(d->{
DoctorCancelWindow.startDoctorCancelWindow(staffID);
});
signout.setOnAction(e->{
DoctorMenuWindow.stageClose();
});
}
}