Skip to content
Snippets Groups Projects
degree-modification.fxml 6 KiB
Newer Older
Dennis Toth's avatar
Dennis Toth committed
<?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.Label?>
<?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="com.example.grademanager_gui.DegreeModificationController">
   <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="#abortAndSwitchToMain" 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 prefHeight="200.0" prefWidth="100.0" BorderPane.alignment="CENTER">
         <children>
            <HBox alignment="CENTER" prefHeight="81.0" prefWidth="600.0" spacing="100.0">
               <children>
                  <Text strokeType="OUTSIDE" strokeWidth="0.0" text="Studiengang anlegen" wrappingWidth="289.5980987548828">
                     <font>
                        <Font size="30.0" />
                     </font>
                  </Text>
               </children>
            </HBox>
            <HBox alignment="CENTER" layoutX="10.0" layoutY="10.0" 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" layoutX="10.0" layoutY="80.0" prefHeight="38.0" prefWidth="600.0">
               <children>
                  <Label text="Bachelortitel">
                     <HBox.margin>
                        <Insets left="25.0" />
                     </HBox.margin>
                     <font>
                        <Font size="14.0" />
                     </font>
                  </Label>
                  <Region prefHeight="38.0" prefWidth="86.0" />
                  <TextField fx:id="bachelorDegree" prefHeight="26.0" prefWidth="280.0" />
               </children>
               <opaqueInsets>
                  <Insets />
               </opaqueInsets>
            </HBox>
            <HBox alignment="CENTER" layoutX="10.0" layoutY="118.0" prefHeight="38.0" prefWidth="600.0">
               <children>
                  <Label text="Dauer">
                     <HBox.margin>
                        <Insets left="25.0" />
                     </HBox.margin>
                     <font>
                        <Font size="14.0" />
                     </font>
                  </Label>
                  <Region prefHeight="38.0" prefWidth="126.0" />
                  <TextField fx:id="duration" prefHeight="26.0" prefWidth="280.0" />
               </children>
            </HBox>
            <HBox alignment="CENTER" layoutX="10.0" layoutY="118.0" prefHeight="38.0" prefWidth="600.0">
               <children>
                  <Label text="Gebühren">
                     <HBox.margin>
                        <Insets left="25.0" />
                     </HBox.margin>
                     <font>
                        <Font size="14.0" />
                     </font>
                  </Label>
                  <Region prefHeight="38.0" prefWidth="104.0" />
                  <TextField fx:id="fees" prefHeight="26.0" prefWidth="280.0" />
               </children>
            </HBox>
            <HBox alignment="CENTER" layoutX="10.0" layoutY="195.0" prefHeight="38.0" prefWidth="600.0">
               <children>
                  <Label text="Kurse">
                     <HBox.margin>
                        <Insets left="25.0" />
                     </HBox.margin>
                     <font>
                        <Font size="14.0" />
                     </font>
                  </Label>
                  <Region prefHeight="38.0" prefWidth="130.0" />
                  <TextField fx:id="courses" prefHeight="26.0" prefWidth="280.0" />
               </children>
            </HBox>
            <HBox alignment="CENTER" layoutX="10.0" layoutY="233.0" prefHeight="38.0" prefWidth="600.0">
               <children>
                  <Label text="Schwerpunkt">
                     <HBox.margin>
                        <Insets left="25.0" />
                     </HBox.margin>
                     <font>
                        <Font size="14.0" />
                     </font>
                  </Label>
                  <Region prefHeight="38.0" prefWidth="87.0" />
                  <TextField fx:id="fieldOfStudy" prefHeight="26.0" prefWidth="280.0" />
               </children>
            </HBox>
            <HBox alignment="CENTER" layoutX="10.0" layoutY="313.0" prefHeight="54.0" prefWidth="600.0">
               <children>
                  <Button defaultButton="true" mnemonicParsing="false" onAction="#onSaveButtonClick" text="Speichern" />
               </children>
            </HBox>
         </children>
      </VBox>
   </center>
   <bottom>
      <TextField fx:id="warning" disable="true" BorderPane.alignment="CENTER" />
   </bottom>
</BorderPane>