forked from MasterFlomaster1/JFXCrypto
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathSideMenuController.java
More file actions
43 lines (33 loc) · 1.06 KB
/
Copy pathSideMenuController.java
File metadata and controls
43 lines (33 loc) · 1.06 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
package GUI.Controllers;
import GUI.Main.GUI;
import GUI.Main.Pages;
public class SideMenuController {
public void homeButtonAction() {
GUI.updatePageContent(Pages.HOME_PAGE.getParent());
GUI.hideMenu();
}
public void hashSumCheckerButtonAction() {
GUI.updatePageContent(Pages.HASH_SUM_CHECKER_PAGE.getParent());
GUI.hideMenu();
}
public void textEncryptionButtonAction() {
GUI.updatePageContent(Pages.TEXT_ENCRYPTION_PAGE.getParent());
GUI.hideMenu();
}
public void fileEncryptionButtonAction() {
GUI.updatePageContent(Pages.FILE_ENCRYPTION_PAGE.getParent());
GUI.hideMenu();
}
public void fileHashButtonAction() {
GUI.updatePageContent(Pages.FILE_HASH_PAGE.getParent());
GUI.hideMenu();
}
public void textHashButtonAction() {
GUI.updatePageContent(Pages.TEXT_HASH_PAGE.getParent());
GUI.hideMenu();
}
public void aboutButtonAction() {
GUI.updatePageContent(Pages.ABOUT_PAGE.getParent());
GUI.hideMenu();
}
}