Added back, today and next button

This commit is contained in:
2021-12-20 16:56:58 +01:00
parent 50896a26ca
commit 60be6933be
2 changed files with 29 additions and 2 deletions

View File

@@ -65,6 +65,27 @@ public class MainController {
}
}
@FXML
protected void onBackClick() {
weekOffset--;
setDates();
updateEvents();
}
@FXML
protected void onTodayClick(){
weekOffset = 0;
setDates();
updateEvents();
}
@FXML
protected void onNextClick() {
weekOffset++;
setDates();
updateEvents();
}
@FXML
protected void onAddBtnClick() {
try {