<?xml version="1.0" encoding="UTF-8"?>

<?import javafx.geometry.Insets?>
<?import javafx.scene.control.Button?>
<?import javafx.scene.control.ChoiceBox?>
<?import javafx.scene.control.Label?>
<?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?>
<?import javafx.scene.layout.VBox?>

<VBox alignment="CENTER" maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="400.0" prefWidth="600.0" xmlns="http://javafx.com/javafx/17" xmlns:fx="http://javafx.com/fxml/1">
   <children>
      <BorderPane prefHeight="409.0" prefWidth="600.0">
         <center>
            <GridPane alignment="CENTER" BorderPane.alignment="CENTER">
              <columnConstraints>
                  <ColumnConstraints hgrow="SOMETIMES" maxWidth="195.0" minWidth="10.0" prefWidth="94.0" />
                <ColumnConstraints hgrow="SOMETIMES" maxWidth="477.0" minWidth="10.0" prefWidth="432.0" />
                <ColumnConstraints hgrow="SOMETIMES" maxWidth="145.0" minWidth="10.0" prefWidth="63.0" />
              </columnConstraints>
              <rowConstraints>
                  <RowConstraints minHeight="10.0" vgrow="SOMETIMES" />
                <RowConstraints minHeight="10.0" vgrow="SOMETIMES" />
                <RowConstraints minHeight="10.0" vgrow="SOMETIMES" />
                  <RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
                <RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
              </rowConstraints>
               <children>
                  <TextField fx:id="julianString" GridPane.columnIndex="1" GridPane.rowIndex="1" />
                  <TextField fx:id="sclkString" GridPane.columnIndex="1" GridPane.rowIndex="4" />
                  <TextField fx:id="tdbString" GridPane.columnIndex="1" GridPane.rowIndex="2" />
                  <TextField fx:id="utcString" GridPane.columnIndex="1" />
                  <Label text="Julian" GridPane.halignment="CENTER" GridPane.rowIndex="1" />
                  <Label text="TDB (seconds)" GridPane.halignment="CENTER" GridPane.rowIndex="2" />
                  <Label fx:id="utcLabel" text="UTC" GridPane.halignment="CENTER" />
                  <Button fx:id="setJulian" mnemonicParsing="false" onAction="#setJulian" text="Set" GridPane.columnIndex="2" GridPane.halignment="CENTER" GridPane.rowIndex="1" />
                  <Button fx:id="setSCLK" mnemonicParsing="false" onAction="#setSCLK" text="Set" GridPane.columnIndex="2" GridPane.halignment="CENTER" GridPane.rowIndex="4" />
                  <Button fx:id="setTDB" mnemonicParsing="false" onAction="#setTDB" text="Set" GridPane.columnIndex="2" GridPane.halignment="CENTER" GridPane.rowIndex="2" />
                  <Button fx:id="setUTC" mnemonicParsing="false" onAction="#setUTC" text="Set" GridPane.columnIndex="2" GridPane.halignment="CENTER" />
                  <Label text="TDB (Calendar)" GridPane.halignment="CENTER" GridPane.rowIndex="3" />
                  <TextField fx:id="tdbCalendarString" GridPane.columnIndex="1" GridPane.rowIndex="3" />
                  <Button fx:id="setTDBCalendar" mnemonicParsing="false" onAction="#setTDBCalendar" text="Set" GridPane.columnIndex="2" GridPane.halignment="CENTER" GridPane.rowIndex="3" />
                  <HBox prefHeight="100.0" prefWidth="200.0" GridPane.rowIndex="4">
                     <children>
                        <GridPane>
                          <columnConstraints>
                            <ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0" />
                            <ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0" />
                          </columnConstraints>
                          <rowConstraints>
                            <RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
                          </rowConstraints>
                           <children>
                              <Label text="SCLK" GridPane.halignment="CENTER" />
                              <ChoiceBox fx:id="sclkChoice" prefWidth="150.0" GridPane.columnIndex="1" />
                           </children>
                        </GridPane>
                     </children>
                  </HBox>
               </children>
            </GridPane>
         </center>
         <top>
            <Label fx:id="title" prefHeight="0.0" text="Label" BorderPane.alignment="CENTER">
               <padding>
                  <Insets top="10.0" />
               </padding>
            </Label>
         </top>
         <bottom>
            <Label fx:id="version" text="Label" BorderPane.alignment="BOTTOM_RIGHT">
               <padding>
                  <Insets right="10.0" />
               </padding>
            </Label>
         </bottom>
      </BorderPane>
   </children>
</VBox>
