-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathOverseesController.java
More file actions
48 lines (37 loc) · 1.08 KB
/
OverseesController.java
File metadata and controls
48 lines (37 loc) · 1.08 KB
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
47
48
package jobinterviewpreparationsystem;
import java.net.URL;
import java.util.ResourceBundle;
import javafx.event.ActionEvent;
import javafx.fxml.FXML;
import javafx.fxml.Initializable;
import javafx.scene.control.RadioButton;
import javafx.scene.control.ToggleGroup;
public class OverseesController implements Initializable {
/**
* Initializes the controller class.
*/
@FXML
private RadioButton grant;
@FXML
private RadioButton revoke;
@FXML
private ToggleGroup toggleGroup;
@FXML
private void handleConfirmAction(ActionEvent event) {
if (grant.isSelected()) {
JobInterviewPreparationSystem.showGrantScreen();
} else if (revoke.isSelected()) {
JobInterviewPreparationSystem.showRevokeScreen();
} else {
System.out.println("No action selected.");
}
}
@FXML
private void handleGoBackButton(ActionEvent event) {
JobInterviewPreparationSystem.showAdminScreen();
}
@Override
public void initialize(URL url, ResourceBundle rb) {
// TODO
}
}