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

<?import javafx.scene.control.Button?>
<?import javafx.scene.control.TableColumn?>
<?import javafx.scene.control.TableView?>
<?import javafx.scene.layout.AnchorPane?>
<?import javafx.scene.layout.BorderPane?>

<AnchorPane prefHeight="600.0" prefWidth="800.0" xmlns="http://javafx.com/javafx/11.0.1" xmlns:fx="http://javafx.com/fxml/1" fx:controller="controllers.V86TabController">
   <children>
      <BorderPane prefHeight="600.0" prefWidth="800.0" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
         <top>
            <Button alignment="CENTER" contentDisplay="CENTER" mnemonicParsing="false" onAction="#GetTodaysRacesAction" text="GetTodaysRaces" BorderPane.alignment="CENTER" />
         </top>
         <center>
            <TableView fx:id="racesTable" prefHeight="200.0" prefWidth="200.0" BorderPane.alignment="CENTER">
              <columns>
                <TableColumn fx:id="trackColumn" prefWidth="40.0" text="Track" />
                <TableColumn fx:id="raceColumn" prefWidth="40.0" text="Race" />
              	<TableColumn fx:id="horseNameColumn" prefWidth="150.0" text="Horse name" />
               	<TableColumn fx:id="laneColumn" prefWidth="50.0" text="Lane" />
                <TableColumn fx:id="distanceColumn" prefWidth="60.0" text="Distance" />
                <TableColumn fx:id="timeModifierColumn" prefWidth="100.0" text="Time modifier" />
                <TableColumn fx:id="shoesColumn" prefWidth="60.0" text="Shoes" />
                <TableColumn fx:id="driverNameColumn" prefWidth="100.0" text="Driver name" />
                <TableColumn fx:id="trainerNameColumn" prefWidth="100.0" text="Traniner name" />
                <TableColumn fx:id="resultColumn" prefWidth="100.0" text="Result" />
                <TableColumn fx:id="horseAvgTimeColumn" prefWidth="100.0" text="Horse avg time" />
                <TableColumn fx:id="horseAvgTimeDistanceColumn" prefWidth="100.0" text="Horse avg time distance" visible="false" />
                <TableColumn fx:id="horseGallopRateColumn" prefWidth="60.0" text="Horse gallop rate" />
                <TableColumn fx:id="driverAvgTimeColumn" prefWidth="100.0" text="Driver avg time" />
                <TableColumn fx:id="driverAvgTimeDistanceColumn" prefWidth="100.0" text="Driver avg time distance" visible="false" />
                <TableColumn fx:id="driverGallopRateColumn" prefWidth="60.0" text="Driver gallop rate" />
                <TableColumn fx:id="avgTimeColumn" prefWidth="60.0" text="Avg time" />
                <TableColumn fx:id="calculationColumn" prefWidth="60.0" text="Calculated Value" />
                <TableColumn fx:id="horseAvarageDistanceModifiedColumn" prefWidth="60.0" text="Horse avg distance modified" />
                <TableColumn fx:id="driverAvarageDistanceModifiedColumn" prefWidth="60.0" text="Driver avg distance modified" />
              </columns>
            </TableView>
         </center>
      </BorderPane>
   </children>
</AnchorPane>
