-
Dennis Toth authoredDennis Toth authored
StudentDetailsController.java 868 B
package de.thdeg.grademanager.gui;
import de.thdeg.grademanager.model.CoursesOfStudy;
import de.thdeg.grademanager.model.Student;
import javafx.event.ActionEvent;
import javafx.fxml.FXML;
import javafx.scene.control.ComboBox;
import java.io.IOException;
import static de.thdeg.grademanager.gui.MainController.coursesOfStudyList;
import static de.thdeg.grademanager.gui.MainController.studentList;
public class StudentDetailsController {
@FXML
protected ComboBox<CoursesOfStudy> coursesOfStudyComboBox;
@FXML
protected void initialize() {
coursesOfStudyComboBox.setItems(coursesOfStudyList);
}
@FXML
protected void assignCoursesOfStudy(ActionEvent event) throws IOException {
}
@FXML
protected void switchToMain(ActionEvent event) throws IOException {
SwitchWindowHelper.switchTo("Main", event);
}
}