-
Dennis Toth authoredDennis Toth authored
student-modification.fxml 10.53 KiB
<?xml version="1.0" encoding="UTF-8"?>
<?import com.gluonhq.charm.glisten.control.ToggleButtonGroup?>
<?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.RadioButton?>
<?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="688.0" prefWidth="698.0" xmlns="http://javafx.com/javafx/18" xmlns:fx="http://javafx.com/fxml/1" fx:controller="com.example.grademanager_gui.StudentModificationController">
<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="Student anlegen" wrappingWidth="221.59811401367188">
<font>
<Font size="30.0" />
</font>
</Text>
</children>
</HBox>
<HBox alignment="CENTER" layoutX="10.0" layoutY="118.0" prefHeight="38.0" prefWidth="600.0">
<children>
<Label text="Geschlecht">
<HBox.margin>
<Insets left="25.0" />
</HBox.margin>
<font>
<Font size="14.0" />
</font>
</Label>
<Region prefHeight="38.0" prefWidth="127.0" />
<ComboBox fx:id="genderComboBox" prefHeight="26.0" prefWidth="280.0" />
</children>
</HBox>
<HBox alignment="CENTER" layoutX="10.0" layoutY="10.0" prefHeight="38.0" prefWidth="600.0">
<children>
<Label text="Vorname">
<HBox.margin>
<Insets left="25.0" />
</HBox.margin>
<font>
<Font size="14.0" />
</font>
</Label>
<Region prefHeight="38.0" prefWidth="135.0" />
<TextField fx:id="firstName" 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="Nachname">
<HBox.margin>
<Insets left="25.0" />
</HBox.margin>
<font>
<Font size="14.0" />
</font>
</Label>
<Region prefHeight="38.0" prefWidth="128.0" />
<TextField fx:id="lastName" 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="Wohnort">
<HBox.margin>
<Insets left="25.0" />
</HBox.margin>
<font>
<Font size="14.0" />
</font>
</Label>
<Region prefHeight="38.0" prefWidth="142.0" />
<TextField fx:id="placeOfResidence" 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="Geburtsort">
<HBox.margin>
<Insets left="25.0" />
</HBox.margin>
<font>
<Font size="14.0" />
</font>
</Label>
<Region prefHeight="38.0" prefWidth="129.0" />
<TextField fx:id="birthPlace" 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="Email (offiziell)">
<HBox.margin>
<Insets left="25.0" />
</HBox.margin>
<font>
<Font size="14.0" />
</font>
</Label>
<Region prefHeight="38.0" prefWidth="109.0" />
<TextField fx:id="officialEmail" prefHeight="26.0" prefWidth="280.0" />
</children>
</HBox>
<HBox alignment="CENTER" layoutX="10.0" layoutY="284.0" prefHeight="38.0" prefWidth="600.0">
<children>
<Label text="Email (privat)">
<HBox.margin>
<Insets left="25.0" />
</HBox.margin>
<font>
<Font size="14.0" />
</font>
</Label>
<Region prefHeight="38.0" prefWidth="118.0" />
<TextField fx:id="privateEmail" prefHeight="26.0" prefWidth="280.0" />
</children>
</HBox>
<HBox alignment="CENTER" layoutX="10.0" layoutY="322.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="166.0" />
<TextField fx:id="personalCourses" prefHeight="26.0" prefWidth="280.0" />
</children>
</HBox>
<HBox alignment="CENTER" layoutX="10.0" layoutY="360.0" prefHeight="38.0" prefWidth="600.0">
<children>
<Label text="Status">
<HBox.margin>
<Insets left="25.0" />
</HBox.margin>
<font>
<Font size="14.0" />
</font>
</Label>
<Region prefHeight="38.0" prefWidth="162.0" />
<TextField fx:id="status" prefHeight="26.0" prefWidth="280.0" />
</children>
</HBox>
<HBox alignment="CENTER" layoutX="10.0" layoutY="453.0" prefHeight="38.0" prefWidth="600.0">
<children>
<Label text="Gebühren entrichtet">
<HBox.margin>
<Insets left="25.0" />
</HBox.margin>
<font>
<Font size="14.0" />
</font>
</Label>
<Region prefHeight="38.0" prefWidth="77.0" />
<ToggleButtonGroup selectionType="SINGLE">
<toggles>
<RadioButton fx:id="yes" mnemonicParsing="false" text="Ja">
<padding>
<Insets right="50.0" />
</padding>
</RadioButton>
<RadioButton fx:id="no" layoutX="10.0" layoutY="10.0" mnemonicParsing="false" text="Nein">
<padding>
<Insets right="150.0" />
</padding>
</RadioButton>
</toggles>
<HBox.margin>
<Insets top="8.0" />
</HBox.margin>
</ToggleButtonGroup>
</children>
</HBox>
<HBox alignment="CENTER" layoutX="10.0" layoutY="492.0" prefHeight="38.0" prefWidth="600.0">
<children>
<Label text="Semester">
<HBox.margin>
<Insets left="25.0" />
</HBox.margin>
<font>
<Font size="14.0" />
</font>
</Label>
<Region prefHeight="38.0" prefWidth="148.0" />
<TextField fx:id="bachelorSemester" prefHeight="26.0" prefWidth="280.0" />
</children>
</HBox>
<HBox alignment="CENTER" layoutX="10.0" layoutY="530.0" prefHeight="38.0" prefWidth="600.0">
<children>
<Label text="Noten">
<HBox.margin>
<Insets left="25.0" />
</HBox.margin>
<font>
<Font size="14.0" />
</font>
</Label>
<Region prefHeight="38.0" prefWidth="166.0" />
<TextField fx:id="grades" prefHeight="26.0" prefWidth="280.0" />
</children>
</HBox>
<HBox alignment="CENTER" layoutX="10.0" layoutY="399.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>