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

<?import javafx.geometry.Insets?>
<?import javafx.scene.control.Button?>
<?import javafx.scene.control.ComboBox?>
<?import javafx.scene.control.Label?>
<?import javafx.scene.control.ScrollPane?>
<?import javafx.scene.control.TableColumn?>
<?import javafx.scene.control.TableView?>
<?import javafx.scene.control.TextField?>
<?import javafx.scene.layout.ColumnConstraints?>
<?import javafx.scene.layout.GridPane?>
<?import javafx.scene.layout.Pane?>
<?import javafx.scene.layout.RowConstraints?>
<?import javafx.scene.text.Font?>

<GridPane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="568.0" prefWidth="800.0" xmlns="http://javafx.com/javafx/8.0.45" xmlns:fx="http://javafx.com/fxml/1" fx:controller="seng202.group9.GUI.AirportRDController">
  <columnConstraints>
    <ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0" />
    <ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0" />
  </columnConstraints>
  <rowConstraints>
    <RowConstraints maxHeight="457.0" minHeight="10.0" prefHeight="403.0" vgrow="SOMETIMES" />
    <RowConstraints maxHeight="129.0" minHeight="10.0" prefHeight="111.0" vgrow="SOMETIMES" />
  </rowConstraints>
   <children>
      <Pane prefHeight="600.0" prefWidth="800.0" GridPane.columnSpan="2" GridPane.rowSpan="2">
         <children>
            <Label layoutX="14.0" layoutY="14.0" text="Airport Raw Data">
               <font>
                  <Font size="29.0" />
               </font>
            </Label>
            <ScrollPane hbarPolicy="ALWAYS" layoutX="14.0" layoutY="469.0" prefHeight="54.0" prefViewportHeight="29.0" prefViewportWidth="1095.0" prefWidth="772.0" vbarPolicy="NEVER">
               <content>
                  <Pane prefHeight="39.0" prefWidth="1633.0">
                     <children>
                        <TextField fx:id="airpNameBox" layoutX="89.0" layoutY="4.0" prefHeight="31.0" prefWidth="350.0" promptText="Name">
                           <padding>
                              <Insets left="2.0" right="2.0" />
                           </padding>
                        </TextField>
                        <TextField fx:id="airpCityBox" layoutX="439.0" layoutY="4.0" prefHeight="31.0" prefWidth="200.0" promptText="City">
                           <padding>
                              <Insets left="2.0" right="2.0" />
                           </padding>
                        </TextField>
                        <TextField fx:id="airpCountryBox" layoutX="639.0" layoutY="4.0" prefHeight="31.0" prefWidth="200.0" promptText="Country">
                           <padding>
                              <Insets left="2.0" right="2.0" />
                           </padding>
                        </TextField>
                        <TextField fx:id="airpIATAFFABox" layoutX="839.0" layoutY="4.0" prefHeight="31.0" prefWidth="87.0" promptText="IATA/FAA">
                           <padding>
                              <Insets left="2.0" right="2.0" />
                           </padding>
                        </TextField>
                        <TextField fx:id="airpICAOBox" layoutX="926.0" layoutY="4.0" prefHeight="31.0" prefWidth="48.0" promptText="ICAO">
                           <padding>
                              <Insets left="2.0" right="2.0" />
                           </padding>
                        </TextField>
                        <TextField fx:id="airpLatitudeBox" layoutX="974.0" layoutY="4.0" prefHeight="31.0" prefWidth="100.0" promptText="Latitude">
                           <padding>
                              <Insets left="2.0" right="2.0" />
                           </padding>
                        </TextField>
                        <TextField fx:id="airpLongitudeBox" layoutX="1074.0" layoutY="3.0" prefHeight="31.0" prefWidth="100.0" promptText="Longitude">
                           <padding>
                              <Insets left="2.0" right="2.0" />
                           </padding>
                        </TextField>
                        <TextField fx:id="airpAltitudeBox" layoutX="1174.0" layoutY="3.0" prefHeight="31.0" prefWidth="75.0" promptText="Altitude">
                           <padding>
                              <Insets left="2.0" right="2.0" />
                           </padding>
                        </TextField>
                        <TextField fx:id="airpTimezoneBox" layoutX="1249.0" layoutY="3.0" prefHeight="31.0" prefWidth="100.0" promptText="Timezone">
                           <padding>
                              <Insets left="2.0" right="2.0" />
                           </padding>
                        </TextField>
                        <TextField fx:id="airpTzBox" layoutX="1432.0" layoutY="3.0" prefHeight="31.0" prefWidth="200.0" promptText="Tz database time zone">
                           <padding>
                              <Insets left="2.0" right="2.0" />
                           </padding>
                        </TextField>
                        <Label layoutX="2.0" layoutY="7.0" prefHeight="25.0" prefWidth="87.0" text="Enter Values:" />
                        <ComboBox fx:id="airpDSTCBox" layoutX="1349.0" layoutY="3.0" prefHeight="31.0" prefWidth="83.0" promptText="DST" />
                     </children>
                  </Pane>
               </content>
            </ScrollPane>
            <Button layoutX="14.0" layoutY="526.0" mnemonicParsing="false" onAction="#airportAnalyserButton" prefHeight="25.0" prefWidth="125.0" text="Analyse" />
            <Button layoutX="662.0" layoutY="526.0" mnemonicParsing="false" onAction="#addAirportSingle" prefHeight="25.0" prefWidth="125.0" text="Add" />
            <Pane layoutX="15.0" layoutY="60.0" prefHeight="403.0" prefWidth="772.0">
               <children>
                  <TableView fx:id="tableViewAirportRD" prefHeight="403.0" prefWidth="772.0">
                    <columns>
                      <TableColumn fx:id="airpIDcol" prefWidth="81.00003051757812" text="Airport ID" />
                      <TableColumn fx:id="airpNamecol" prefWidth="350.0" text="Name" />
                        <TableColumn fx:id="airpCitycol" minWidth="0.0" prefWidth="200.0" text="City" />
                        <TableColumn fx:id="airpCountrycol" minWidth="0.0" prefWidth="200.0" text="Country" />
                        <TableColumn fx:id="airpIATAFFAcol" minWidth="0.0" text="IATA/FAA" />
                        <TableColumn fx:id="airpICAOcol" minWidth="0.0" prefWidth="58.0" text="ICAO" />
                        <TableColumn fx:id="airpLatitudecol" minWidth="0.0" prefWidth="100.0" text="Latitude" />
                        <TableColumn fx:id="airpLongitudecol" minWidth="8.0" prefWidth="100.0" text="Longitude" />
                        <TableColumn fx:id="airpAltitudecol" minWidth="0.0" prefWidth="75.0" text="Altitude" />
                        <TableColumn fx:id="airpTimezonecol" minWidth="0.0" prefWidth="100.0" text="Timezone" />
                        <TableColumn fx:id="airpDSTcol" prefWidth="55.0" text="DST" />
                        <TableColumn fx:id="airpTzcol" minWidth="0.0" prefWidth="200.0" text="Tz database time zone" />
                    </columns>
                  </TableView>
               </children></Pane>
         </children>
      </Pane>
   </children>
</GridPane>
