<?xml version="1.0" encoding="UTF-8"?> <?import fi.jyu.mit.fxgui.ComboBoxChooser?> <?import fi.jyu.mit.fxgui.ListChooser?> <?import javafx.geometry.Insets?> <?import javafx.scene.control.Button?> <?import javafx.scene.control.Label?> <?import javafx.scene.control.Menu?> <?import javafx.scene.control.MenuBar?> <?import javafx.scene.control.MenuItem?> <?import javafx.scene.control.ScrollPane?> <?import javafx.scene.control.TextField?> <?import javafx.scene.layout.BorderPane?> <?import javafx.scene.layout.ColumnConstraints?> <?import javafx.scene.layout.GridPane?> <?import javafx.scene.layout.HBox?> <?import javafx.scene.layout.RowConstraints?> <BorderPane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="394.0" prefWidth="788.0" xmlns="http://javafx.com/javafx/19" xmlns:fx="http://javafx.com/fxml/1" fx:controller="application.RalliController"> <top> <MenuBar BorderPane.alignment="CENTER"> <menus> <Menu mnemonicParsing="false" text="Tiedosto"> <items> <MenuItem mnemonicParsing="false" text="Close" /> </items> </Menu> <Menu mnemonicParsing="false" text="Muokkaa"> <items> <MenuItem mnemonicParsing="false" text="Delete" /> </items> </Menu> <Menu mnemonicParsing="false" text="Apua"> <items> <MenuItem mnemonicParsing="false" text="About" /> </items> </Menu> </menus> </MenuBar> </top> <bottom> <HBox spacing="10.0" BorderPane.alignment="CENTER"> <BorderPane.margin> <Insets bottom="10.0" left="10.0" right="10.0" top="10.0" /> </BorderPane.margin> <children> <Button mnemonicParsing="false" onAction="#handleUusiHenkilo" text="Lisää uusi henkilö" /> <Button mnemonicParsing="false" onAction="#handleUusiRalli" text="Ilmoita henkilö ralliin" /> <Button mnemonicParsing="false" onAction="#handleMuokkaa" text="Muokkaa henkilötietoja" /> <Button mnemonicParsing="false" onAction="#handlePoistu" text="Takaisin" /> <Button mnemonicParsing="false" onAction="#handlePoistu" text="Poistu" /> </children> </HBox> </bottom> <left> <BorderPane prefHeight="328.0" prefWidth="170.0" BorderPane.alignment="CENTER"> <bottom> <ListChooser fx:id="chooserHenkilot" prefHeight="277.0" prefWidth="170.0" rivit="Kalle Rovanperä Tommi Mäkinen Harri Rovanperä Oskari Sokka" BorderPane.alignment="CENTER" /> </bottom> <center> <ComboBoxChooser prefHeight="26.0" prefWidth="101.0" rivit="... Kuskit Kartturit Rallit Paikkakunta " BorderPane.alignment="CENTER"> <BorderPane.margin> <Insets bottom="10.0" left="10.0" right="10.0" /> </BorderPane.margin> </ComboBoxChooser> </center> <top> <Label text="Hakuehto" BorderPane.alignment="CENTER"> <BorderPane.margin> <Insets left="10.0" right="10.0" top="10.0" /> </BorderPane.margin> </Label> </top> </BorderPane> </left> <center> <ScrollPane fx:id="panelHenkilo" fitToWidth="true" prefHeight="317.0" prefWidth="336.0" BorderPane.alignment="CENTER"> <content> <GridPane hgap="10.0" prefHeight="253.0" prefWidth="331.0"> <columnConstraints> <ColumnConstraints fillWidth="false" halignment="RIGHT" hgrow="SOMETIMES" /> <ColumnConstraints hgrow="ALWAYS" /> </columnConstraints> <rowConstraints> <RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" /> <RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" /> <RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" /> <RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" /> <RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" /> <RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" /> <RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" /> <RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" /> </rowConstraints> <padding> <Insets left="10.0" right="10.0" top="10.0" /> </padding> <children> <Label text="Rallin nimi" /> <Label text="Paikkakunta" GridPane.rowIndex="1" /> <Label text="Ajankohta" GridPane.rowIndex="2" /> <Label text="Järjestäjä" GridPane.rowIndex="3" /> <Label text="Nettisivut" GridPane.rowIndex="4" /> <Label text="Osallistujalista" GridPane.rowIndex="5" /> <Label text="Tuloslista" GridPane.rowIndex="6" /> <Label fx:id="rallinNimi" text="SM-ralli Pohjanmaa" GridPane.columnIndex="1" /> <Label fx:id="rallinTuloslista" text="www.Facobook.com" GridPane.columnIndex="1" GridPane.rowIndex="6" /> <Label fx:id="rallinOsallistujalista" text="www.Youtube.com" GridPane.columnIndex="1" GridPane.rowIndex="5" /> <Label fx:id="rallinNettisivut" text="www.Google.com" GridPane.columnIndex="1" GridPane.rowIndex="4" /> <Label fx:id="rallinJarjestaja" text="Seinäjoen rämäpäät" GridPane.columnIndex="1" GridPane.rowIndex="3" /> <Label fx:id="rallinPvm" text="27.6.-28.6.2023" GridPane.columnIndex="1" GridPane.rowIndex="2" /> <Label fx:id="rallinSijainti" text="Seinäjoki" GridPane.columnIndex="1" GridPane.rowIndex="1" /> </children> </GridPane> </content> </ScrollPane> </center> <right> <ScrollPane prefHeight="318.0" prefWidth="314.0" BorderPane.alignment="CENTER"> <content> <GridPane hgap="10.0" prefHeight="183.0" prefWidth="314.0"> <columnConstraints> <ColumnConstraints fillWidth="false" halignment="RIGHT" hgrow="SOMETIMES" minWidth="10.0" /> <ColumnConstraints hgrow="ALWAYS" /> </columnConstraints> <rowConstraints> <RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" /> <RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" /> <RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" /> <RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" /> <RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" /> </rowConstraints> <padding> <Insets left="10.0" right="10.0" top="10.0" /> </padding> <children> <Label text="Yleiskilpailun voittaja" GridPane.rowIndex="1" /> <TextField GridPane.columnIndex="1" GridPane.rowIndex="1"> <GridPane.margin> <Insets bottom="10.0" left="10.0" right="10.0" top="10.0" /> </GridPane.margin> </TextField> <Label text="Osallistujien määrä" GridPane.rowIndex="2" /> <TextField prefHeight="26.0" prefWidth="93.0" GridPane.columnIndex="1" GridPane.rowIndex="2"> <GridPane.margin> <Insets bottom="10.0" left="10.0" right="10.0" top="10.0" /> </GridPane.margin> </TextField> <TextField GridPane.columnIndex="1" GridPane.rowIndex="3"> <GridPane.margin> <Insets bottom="10.0" left="10.0" right="10.0" top="10.0" /> </GridPane.margin> </TextField> <Label text="Osallistumismaksu" GridPane.rowIndex="4" /> <TextField GridPane.columnIndex="1" GridPane.rowIndex="4"> <GridPane.margin> <Insets bottom="10.0" left="10.0" right="10.0" top="10.0" /> </GridPane.margin> </TextField> <Label text="Luokkien määrä" GridPane.rowIndex="3" /> </children> </GridPane> </content> </ScrollPane> </right> </BorderPane>