diff options
Diffstat (limited to 'src/de/fhswf/in/inf')
3 files changed, 88 insertions, 94 deletions
diff --git a/src/de/fhswf/in/inf/se/projektthemenvergabe/view/ProjektHinzufuegen.fxml b/src/de/fhswf/in/inf/se/projektthemenvergabe/view/ProjektHinzufuegen.fxml index 4e29d22..4cbc16e 100644 --- a/src/de/fhswf/in/inf/se/projektthemenvergabe/view/ProjektHinzufuegen.fxml +++ b/src/de/fhswf/in/inf/se/projektthemenvergabe/view/ProjektHinzufuegen.fxml @@ -23,7 +23,6 @@ <RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" /> <RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" /> <RowConstraints fillHeight="false" maxHeight="67.0" minHeight="0.0" prefHeight="43.0" vgrow="SOMETIMES" /> - <RowConstraints fillHeight="false" maxHeight="67.0" minHeight="0.0" prefHeight="43.0" vgrow="SOMETIMES" /> </rowConstraints> <children> <Label text="Projektthema"> @@ -143,16 +142,18 @@ <Insets left="10.0" right="10.0" top="5.0" /> </GridPane.margin> </TextArea> - <ButtonBar prefHeight="40.0" prefWidth="200.0" GridPane.columnSpan="2" GridPane.rowIndex="9"> - <buttons> - <Button fx:id="saveButton" defaultButton="true" disable="true" mnemonicParsing="false" onAction="#handleSave" prefHeight="25.0" prefWidth="500.0" text="Speichern" ButtonBar.buttonData="OK_DONE" /> - <Button cancelButton="true" mnemonicParsing="false" onAction="#handleCancel" prefHeight="25.0" prefWidth="500.0" text="Abbrechen" ButtonBar.buttonData="CANCEL_CLOSE" /> - </buttons> - <padding> - <Insets left="10.0" right="10.0" /> - </padding> - </ButtonBar> </children> </GridPane> </center> + <bottom> + <ButtonBar prefHeight="40.0" prefWidth="200.0" BorderPane.alignment="CENTER"> + <buttons> + <Button fx:id="saveButton" defaultButton="true" disable="true" mnemonicParsing="false" onAction="#handleSave" prefHeight="25.0" prefWidth="500.0" text="Speichern" ButtonBar.buttonData="OK_DONE" /> + <Button cancelButton="true" mnemonicParsing="false" onAction="#handleCancel" prefHeight="25.0" prefWidth="500.0" text="Abbrechen" ButtonBar.buttonData="CANCEL_CLOSE" /> + </buttons> + <padding> + <Insets left="10.0" right="10.0" /> + </padding> + </ButtonBar> + </bottom> </BorderPane> diff --git a/src/de/fhswf/in/inf/se/projektthemenvergabe/view/Projektthemenverwaltung.fxml b/src/de/fhswf/in/inf/se/projektthemenvergabe/view/Projektthemenverwaltung.fxml index ab39196..33bf5de 100644 --- a/src/de/fhswf/in/inf/se/projektthemenvergabe/view/Projektthemenverwaltung.fxml +++ b/src/de/fhswf/in/inf/se/projektthemenvergabe/view/Projektthemenverwaltung.fxml @@ -7,61 +7,7 @@ <?import javafx.scene.layout.*?> <?import javafx.scene.control.Label?> -<BorderPane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="543.0" prefWidth="1089.0" xmlns="http://javafx.com/javafx/8.0.65" xmlns:fx="http://javafx.com/fxml/1" fx:controller="de.fhswf.in.inf.se.projektthemenvergabe.view.ProjektthemenverwaltungsController"> - <center> - <VBox prefHeight="541.0" prefWidth="1089.0" BorderPane.alignment="CENTER"> - <children> - <TableView fx:id="projektTableView" editable="true" prefHeight="506.0" prefWidth="1089.0"> - <columns> - <TableColumn fx:id="projektThemaTableColumn" prefWidth="244.0" text="Projektthema" /> - <TableColumn fx:id="ansprechpatnerTableColumn" prefWidth="118.0" text="Ansprechpartner" /> - <TableColumn prefWidth="570.0" text="Student"> - <columns> - <TableColumn fx:id="student1TableColumn" prefWidth="75.0" text="1" /> - <TableColumn fx:id="student2TableColumn" prefWidth="75.0" text="2" /> - <TableColumn fx:id="student3TableColumn" prefWidth="75.0" text="3" /> - </columns> - </TableColumn> - <TableColumn fx:id="statusTableColumn" prefWidth="237.0" text="Status" /> - </columns> - <columnResizePolicy> - <TableView fx:constant="CONSTRAINED_RESIZE_POLICY" /> - </columnResizePolicy> - <VBox.margin> - <Insets top="2.0" /> - </VBox.margin> - <placeholder> - <Label text="Keine Projekte angelegt." /> - </placeholder> - </TableView> - <HBox prefHeight="67.0" prefWidth="615.0"> - <children> - <Button maxWidth="100.0" minWidth="100.0" mnemonicParsing="false" onAction="#handleAddProjekt" text="Anlegen"> - <HBox.margin> - <Insets right="5.0" /> - </HBox.margin> - </Button> - <Button fx:id="editProjektButton" disable="true" maxWidth="200.0" minWidth="100.0" mnemonicParsing="false" onAction="#handleEditProjekt" text="Bearbeiten"> - <HBox.margin> - <Insets right="5.0" /> - </HBox.margin> - </Button> - <Button fx:id="deleteProjektButton" disable="true" minWidth="100.0" mnemonicParsing="false" onAction="#handleDeleteProjekt" text="Löschen" /> - <Separator prefHeight="0.0" prefWidth="373.0" visible="false" /> - <Button maxWidth="225.0" minWidth="200.0" mnemonicParsing="false" onAction="#handleStudentenverwaltung" text="Studentenverwaltung"> - <HBox.margin> - <Insets right="5.0" /> - </HBox.margin> - </Button> - <Button minWidth="200.0" mnemonicParsing="false" onAction="#handleAnsprechpartnerverwaltungs" prefHeight="26.0" prefWidth="225.0" text="Ansprechpartnerverwaltung" /> - </children> - <VBox.margin> - <Insets top="10.0" /> - </VBox.margin> - </HBox> - </children> - </VBox> - </center> +<BorderPane prefHeight="543.0" prefWidth="1089.0" xmlns="http://javafx.com/javafx/8.0.65" xmlns:fx="http://javafx.com/fxml/1" fx:controller="de.fhswf.in.inf.se.projektthemenvergabe.view.ProjektthemenverwaltungsController"> <top> <MenuBar prefHeight="35.0" prefWidth="1089.0" BorderPane.alignment="CENTER"> <menus> @@ -95,4 +41,53 @@ </menus> </MenuBar> </top> + <bottom> + <HBox BorderPane.alignment="CENTER"> + <children> + <Button maxWidth="100.0" minWidth="100.0" mnemonicParsing="false" onAction="#handleAddProjekt" text="Anlegen"> + <HBox.margin> + <Insets right="5.0" /> + </HBox.margin> + </Button> + <Button fx:id="editProjektButton" disable="true" maxWidth="200.0" minWidth="100.0" mnemonicParsing="false" onAction="#handleEditProjekt" text="Bearbeiten"> + <HBox.margin> + <Insets right="5.0" /> + </HBox.margin> + </Button> + <Button fx:id="deleteProjektButton" disable="true" minWidth="100.0" mnemonicParsing="false" onAction="#handleDeleteProjekt" text="Löschen" /> + <Separator prefHeight="0.0" prefWidth="373.0" visible="false" HBox.hgrow="ALWAYS" /> + <Button maxWidth="225.0" minWidth="200.0" mnemonicParsing="false" onAction="#handleStudentenverwaltung" text="Studentenverwaltung"> + <HBox.margin> + <Insets right="5.0" /> + </HBox.margin> + </Button> + <Button minWidth="200.0" mnemonicParsing="false" onAction="#handleAnsprechpartnerverwaltungs" prefHeight="26.0" prefWidth="225.0" text="Ansprechpartnerverwaltung" /> + </children> + <BorderPane.margin> + <Insets top="5.0" /> + </BorderPane.margin> + </HBox> + </bottom> + <center> + <TableView fx:id="projektTableView" editable="true" prefHeight="506.0" prefWidth="1089.0" BorderPane.alignment="CENTER"> + <columns> + <TableColumn fx:id="projektThemaTableColumn" prefWidth="244.0" text="Projektthema" /> + <TableColumn fx:id="ansprechpatnerTableColumn" prefWidth="118.0" text="Ansprechpartner" /> + <TableColumn prefWidth="570.0" text="Student"> + <columns> + <TableColumn fx:id="student1TableColumn" prefWidth="75.0" text="1" /> + <TableColumn fx:id="student2TableColumn" prefWidth="75.0" text="2" /> + <TableColumn fx:id="student3TableColumn" prefWidth="75.0" text="3" /> + </columns> + </TableColumn> + <TableColumn fx:id="statusTableColumn" prefWidth="237.0" text="Status" /> + </columns> + <columnResizePolicy> + <TableView fx:constant="CONSTRAINED_RESIZE_POLICY" /> + </columnResizePolicy> + <placeholder> + <Label text="Keine Projekte angelegt." /> + </placeholder> + </TableView> + </center> </BorderPane> diff --git a/src/de/fhswf/in/inf/se/projektthemenvergabe/view/Studentenverwaltung.fxml b/src/de/fhswf/in/inf/se/projektthemenvergabe/view/Studentenverwaltung.fxml index 09b5404..226d81a 100644 --- a/src/de/fhswf/in/inf/se/projektthemenvergabe/view/Studentenverwaltung.fxml +++ b/src/de/fhswf/in/inf/se/projektthemenvergabe/view/Studentenverwaltung.fxml @@ -6,36 +6,34 @@ <?import javafx.scene.layout.*?> <BorderPane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="298.0" prefWidth="586.0" xmlns="http://javafx.com/javafx/8.0.65" xmlns:fx="http://javafx.com/fxml/1" fx:controller="de.fhswf.in.inf.se.projektthemenvergabe.view.StudentenverwaltungsController"> - <center> - <VBox prefHeight="200.0" prefWidth="100.0" BorderPane.alignment="CENTER"> + <bottom> + <HBox BorderPane.alignment="CENTER"> <children> - <TableView fx:id="studentTableView" editable="true" prefHeight="422.0" prefWidth="600.0"> - <columns> - <TableColumn fx:id="matrikelnummerTableColumn" prefWidth="75.0" text="Matrikelnummer" /> - <TableColumn fx:id="vornameTableColumn" prefWidth="75.0" text="Vorname" /> - <TableColumn fx:id="nachnameTableColumn" prefWidth="75.0" text="Nachname" /> - </columns> - <columnResizePolicy> - <TableView fx:constant="CONSTRAINED_RESIZE_POLICY" /> - </columnResizePolicy> - <placeholder> - <Label text="Keine Studenten angelegt." /> - </placeholder> - </TableView> - <HBox prefHeight="100.0" prefWidth="200.0"> - <children> - <Button minWidth="200.0" mnemonicParsing="false" onAction="#handleAddStudent" text="Anlegen" /> - <Button fx:id="deleteStudentButton" disable="true" minWidth="200.0" mnemonicParsing="false" onAction="#handleDeleteStudent" text="Löschen"> - <HBox.margin> - <Insets left="10.0" /> - </HBox.margin> - </Button> - </children> - <VBox.margin> - <Insets top="10.0" /> - </VBox.margin> - </HBox> + <Button minWidth="200.0" mnemonicParsing="false" onAction="#handleAddStudent" text="Anlegen" /> + <Button fx:id="deleteStudentButton" disable="true" minWidth="200.0" mnemonicParsing="false" onAction="#handleDeleteStudent" text="Löschen"> + <HBox.margin> + <Insets left="10.0" /> + </HBox.margin> + </Button> </children> - </VBox> + <BorderPane.margin> + <Insets top="5.0" /> + </BorderPane.margin> + </HBox> + </bottom> + <center> + <TableView fx:id="studentTableView" editable="true" prefHeight="422.0" prefWidth="600.0" BorderPane.alignment="CENTER"> + <columns> + <TableColumn fx:id="matrikelnummerTableColumn" prefWidth="75.0" text="Matrikelnummer" /> + <TableColumn fx:id="vornameTableColumn" prefWidth="75.0" text="Vorname" /> + <TableColumn fx:id="nachnameTableColumn" prefWidth="75.0" text="Nachname" /> + </columns> + <columnResizePolicy> + <TableView fx:constant="CONSTRAINED_RESIZE_POLICY" /> + </columnResizePolicy> + <placeholder> + <Label text="Keine Studenten angelegt." /> + </placeholder> + </TableView> </center> </BorderPane> |
