diff options
| author | Stefan Suhren <suhren.stefan@fh-swf.de> | 2016-01-07 00:16:30 +0100 |
|---|---|---|
| committer | Stefan Suhren <suhren.stefan@fh-swf.de> | 2016-01-07 00:16:30 +0100 |
| commit | 53a966fb67bf71d603c770f615cf6ad97c7cf209 (patch) | |
| tree | 09eacc7f0b0799ab6e90300c9bd74bce9f7e5091 /src/de/fhswf/in/inf/se/projektthemenvergabe/view/ProjektthemenverwaltungsController.java | |
| parent | 8eade145d09c24e5bb873fa04b1e3a384705f374 (diff) | |
| download | Projektthemenvergabe-53a966fb67bf71d603c770f615cf6ad97c7cf209.tar.gz Projektthemenvergabe-53a966fb67bf71d603c770f615cf6ad97c7cf209.zip | |
Update documentation
Diffstat (limited to 'src/de/fhswf/in/inf/se/projektthemenvergabe/view/ProjektthemenverwaltungsController.java')
| -rw-r--r-- | src/de/fhswf/in/inf/se/projektthemenvergabe/view/ProjektthemenverwaltungsController.java | 76 |
1 files changed, 76 insertions, 0 deletions
diff --git a/src/de/fhswf/in/inf/se/projektthemenvergabe/view/ProjektthemenverwaltungsController.java b/src/de/fhswf/in/inf/se/projektthemenvergabe/view/ProjektthemenverwaltungsController.java index 764563b..e3b0b17 100644 --- a/src/de/fhswf/in/inf/se/projektthemenvergabe/view/ProjektthemenverwaltungsController.java +++ b/src/de/fhswf/in/inf/se/projektthemenvergabe/view/ProjektthemenverwaltungsController.java @@ -16,6 +16,12 @@ import javafx.scene.control.TableColumn; import javafx.scene.control.TableView; import javafx.scene.control.cell.ComboBoxTableCell; +/** + * The controller for the FXML-View Projektthemenverwaltung. + * + * @author Dina-Marie Hanxleden & Stefan Suhren + * @version 1.0 + */ public class ProjektthemenverwaltungsController { @FXML @@ -55,6 +61,10 @@ public class ProjektthemenverwaltungsController private FilteredList<Projekt> filterList; + /** + * After the FXML was loaded the controller call the initialize function. + * + */ @FXML private void initialize() { @@ -161,6 +171,12 @@ public class ProjektthemenverwaltungsController .bind(deleteProjektButton.disabledProperty()); } + /** + * + * Set back reference of the Main. + * + * @param main + */ public void setMain(Main main) { this.main = main; @@ -174,12 +190,22 @@ public class ProjektthemenverwaltungsController projektTableView.setItems(sortedList); } + /** + * + * The filter is off. Show all projects. + * + */ @FXML private void handleShowAll() { filterList.setPredicate(null); } + /** + * + * Filter projects according to status "IN_BEARBEITUNG". + * + */ @FXML private void handleShowInBearbeitung() { @@ -187,6 +213,11 @@ public class ProjektthemenverwaltungsController .equals(Projekt.StatusTypes.IN_BEARBEITUNG)); } + /** + * + * Filter projects according to status "EINGEREICHT". + * + */ @FXML private void handleShowEingereicht() { @@ -194,6 +225,11 @@ public class ProjektthemenverwaltungsController .equals(Projekt.StatusTypes.EINGEREICHT)); } + /** + * + * Filter projects according to status "IN_UEBERARBEITUNG". + * + */ @FXML private void handleShowInUeberabeitung() { @@ -201,6 +237,11 @@ public class ProjektthemenverwaltungsController .equals(Projekt.StatusTypes.IN_UEBERARBEITUNG)); } + /** + * + * Filter projects according to status "ANGENOMMEN". + * + */ @FXML private void handleShowAngenommen() { @@ -208,6 +249,11 @@ public class ProjektthemenverwaltungsController .equals(Projekt.StatusTypes.ANGENOMMEN)); } + /** + * + * Filter projects according to status "ABGELEHNT". + * + */ @FXML private void handleShowAbgelehnt() { @@ -215,6 +261,11 @@ public class ProjektthemenverwaltungsController .equals(Projekt.StatusTypes.ABGELEHNT)); } + /** + * + * Open the ProjekthinzufuegenStage to add a new Projekt. + * + */ @FXML private void handleAddProjekt() { @@ -226,6 +277,11 @@ public class ProjektthemenverwaltungsController } } + /** + * + * Open the ProjekthinzufuegenStage to edit a Projekt. + * + */ @FXML private void handleEditProjekt() { @@ -239,6 +295,11 @@ public class ProjektthemenverwaltungsController } } + /** + * + * Delete the selected Projekt. + * + */ @FXML private void handleDeleteProjekt() { @@ -251,18 +312,33 @@ public class ProjektthemenverwaltungsController } } + /** + * + * Open Stage of Studentenverwaltung. + * + */ @FXML private void handleStudentenverwaltung() { main.showStudentenverwaltung(); } + /** + * + * Open Stage of Ansprechpartnerverwaltung. + * + */ @FXML private void handleAnsprechpartnerverwaltungs() { main.showAnsprechpartnerverwaltungsStage(); } + /** + * + * Cancel the Projekttehmenverwaltung stage. + * + */ @FXML private void handleClose() { |
