<?xml version="1.0" encoding="UTF-8"?> <?import javafx.geometry.Insets?> <?import javafx.scene.control.Button?> <?import javafx.scene.control.ButtonBar?> <?import javafx.scene.control.ComboBox?> <?import javafx.scene.control.Label?> <?import javafx.scene.control.ListView?> <?import javafx.scene.control.TextField?> <?import javafx.scene.layout.BorderPane?> <?import javafx.scene.layout.HBox?> <?import javafx.scene.layout.Region?> <?import javafx.scene.layout.VBox?> <?import javafx.scene.text.Font?> <?import javafx.scene.text.Text?> <BorderPane prefHeight="500.0" prefWidth="600.0" xmlns="http://javafx.com/javafx/18" xmlns:fx="http://javafx.com/fxml/1" fx:controller="de.thdeg.grademanager.gui.CoursesOfStudyDetailsController"> <top> <VBox fillWidth="false" prefHeight="42.0" prefWidth="600.0" BorderPane.alignment="CENTER"> <children> <ButtonBar buttonMinWidth="30.0" prefHeight="40.0" prefWidth="200.0"> <buttons> <Button alignment="CENTER" minWidth="22.0" mnemonicParsing="false" onAction="#switchToMain" prefHeight="26.0" text="←" /> <Button alignment="CENTER" disable="true" layoutX="31.0" layoutY="17.0" minWidth="22.0" mnemonicParsing="false" prefHeight="26.0" text="→" /> <Region prefHeight="200.0" prefWidth="200.0" /> </buttons> </ButtonBar> </children> </VBox> </top> <center> <VBox alignment="TOP_CENTER" fillWidth="false" prefHeight="171.0" prefWidth="600.0" BorderPane.alignment="CENTER"> <children> <HBox alignment="CENTER" prefHeight="74.0" prefWidth="600.0"> <children> <Text strokeType="OUTSIDE" strokeWidth="0.0" text="Studiengangsinformationen"> <font> <Font size="24.0" /> </font> </Text> </children> </HBox> <HBox alignment="CENTER" prefHeight="38.0" prefWidth="600.0"> <children> <Label text="Name"> <HBox.margin> <Insets left="25.0" /> </HBox.margin> <font> <Font size="14.0" /> </font> </Label> <Region prefHeight="38.0" prefWidth="125.0" /> <TextField fx:id="name" prefHeight="26.0" prefWidth="280.0" /> </children> </HBox> <HBox alignment="CENTER" prefHeight="38.0" prefWidth="600.0"> <children> <Label text="Studiendauer"> <HBox.margin> <Insets left="25.0" /> </HBox.margin> <font> <Font size="14.0" /> </font> </Label> <Region prefHeight="33.0" prefWidth="81.0" /> <ComboBox fx:id="durationComboBox" prefHeight="26.0" prefWidth="279.0" /> </children> </HBox> <HBox alignment="CENTER" prefHeight="38.0" prefWidth="600.0"> <children> <Label prefHeight="20.0" prefWidth="86.0" text="Schwerpunkt"> <HBox.margin> <Insets left="25.0" /> </HBox.margin> <font> <Font size="14.0" /> </font> </Label> <Region prefHeight="38.0" prefWidth="79.0" /> <TextField fx:id="fieldOfStudy" prefHeight="26.0" prefWidth="280.0" /> </children> </HBox> <HBox alignment="CENTER" prefHeight="38.0" prefWidth="600.0"> <children> <Label text="Kosten"> <HBox.margin> <Insets left="25.0" /> </HBox.margin> <font> <Font size="14.0" /> </font> </Label> <Region prefHeight="33.0" prefWidth="122.0" /> <TextField fx:id="fees" prefHeight="26.0" prefWidth="280.0" /> </children> </HBox> <Region prefHeight="19.0" prefWidth="200.0" /> <HBox alignment="CENTER" prefHeight="45.0" prefWidth="468.0"> <children> <Button fx:id="modifyButton" mnemonicParsing="false" onAction="#onModifyButtonClick" text="Bearbeiten" /> <Region prefHeight="40.0" prefWidth="55.0" /> <Button fx:id="saveButton" mnemonicParsing="false" onAction="#onSaveButtonClick" text="Speichern" /> </children> </HBox> <Region prefHeight="6.0" prefWidth="200.0" /> <HBox alignment="CENTER" prefHeight="52.0" prefWidth="600.0"> <children> <Button mnemonicParsing="false" onAction="#switchToCourseModification" prefHeight="26.0" prefWidth="94.0" text="Kurs anlegen" /> </children> </HBox> <HBox alignment="CENTER" prefHeight="120.0" prefWidth="600.0"> <children> <Text strokeType="OUTSIDE" strokeWidth="0.0" text="Angelegte Kurse:" /> <Region prefHeight="99.0" prefWidth="18.0" /> <ListView fx:id="courseListView" editable="true" onMouseClicked="#onCourseClick" prefHeight="94.0" prefWidth="270.0" /> </children> </HBox> <Region prefHeight="20.0" prefWidth="200.0" /> <HBox alignment="TOP_CENTER" prefHeight="42.0" prefWidth="594.0"> <children> <Button mnemonicParsing="false" prefHeight="26.0" prefWidth="134.0" style="-fx-background-color: CD5C5C;" text="Studiengang löschen" textAlignment="CENTER"> <opaqueInsets> <Insets /> </opaqueInsets> <HBox.margin> <Insets /> </HBox.margin> </Button> </children> </HBox> </children> </VBox> </center> </BorderPane>