From 46ae68700fbc90c3cd2249589123835cd89e8d94 Mon Sep 17 00:00:00 2001 From: Stefan Suhren Date: Mon, 11 Jan 2016 16:35:10 +0100 Subject: Allow reseting of ansprechpartner and student --- .../view/ProjektHinzufuegenController.java | 36 ++++++++++++++++++++++ 1 file changed, 36 insertions(+) (limited to 'src/de/fhswf/in/inf/se/projektthemenvergabe/view/ProjektHinzufuegenController.java') diff --git a/src/de/fhswf/in/inf/se/projektthemenvergabe/view/ProjektHinzufuegenController.java b/src/de/fhswf/in/inf/se/projektthemenvergabe/view/ProjektHinzufuegenController.java index 806feda..1a5a193 100644 --- a/src/de/fhswf/in/inf/se/projektthemenvergabe/view/ProjektHinzufuegenController.java +++ b/src/de/fhswf/in/inf/se/projektthemenvergabe/view/ProjektHinzufuegenController.java @@ -154,6 +154,42 @@ public class ProjektHinzufuegenController return projekt; } + /** + * Empty Ansprechpartner comboBox. + * + */ + public void handleResetAnsprechpartner() + { + ansprechpartnerComboBox.getSelectionModel().clearSelection(); + } + + /** + * Empty 1st Student comboBox. + * + */ + public void handleResetStudent1() + { + student1ComboBox.getSelectionModel().clearSelection(); + } + + /** + * Empty 2nd Student comboBox. + * + */ + public void handleResetStudent2() + { + student2ComboBox.getSelectionModel().clearSelection(); + } + + /** + * Empty 3rd Student comboBox. + * + */ + public void handleResetStudent3() + { + student3ComboBox.getSelectionModel().clearSelection(); + } + /** * * Set the Text of the Fields from the stage into the TableView and close -- cgit v1.2.3-70-g09d2