| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576 |
- <?xml version="1.0" encoding="UTF-8"?>
- <?import javafx.scene.control.Button?>
- <?import javafx.scene.control.ComboBox?>
- <?import javafx.scene.control.DatePicker?>
- <?import javafx.scene.control.SplitPane?>
- <?import javafx.scene.control.TextField?>
- <?import javafx.scene.layout.AnchorPane?>
- <?import javafx.scene.layout.FlowPane?>
- <?import javafx.scene.layout.Pane?>
- <?import javafx.scene.layout.VBox?>
- <AnchorPane fx:id="basePane" prefHeight="414.0" prefWidth="736.0" xmlns="http://javafx.com/javafx/15.0.1" xmlns:fx="http://javafx.com/fxml/1" fx:controller="controllers.TestsController">
- <children>
- <VBox prefHeight="414.0" prefWidth="736.0" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
- <children>
- <AnchorPane>
- <children>
- <FlowPane maxHeight="30.0" minHeight="30.0" prefHeight="30.0" prefWidth="598.0" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
- <children>
- <DatePicker fx:id="date" prefHeight="30.0" prefWidth="209.0" />
- <Button fx:id="getResults" mnemonicParsing="false" onAction="#getResults" prefHeight="30.0" prefWidth="96.0" text="GetResults" />
- <ComboBox id="CountryComboBox" fx:id="countrySelector" disable="true" onAction="#CountrySelected" prefHeight="25.0" prefWidth="200.0" promptText="Country" />
- <ComboBox id="LeagueComboBox" fx:id="leagueSelector" disable="true" onAction="#LeagueSelected" prefHeight="25.0" prefWidth="200.0" promptText="League" />
-
- <Button fx:id="getLeagueInfoButton" mnemonicParsing="false" disable="true" onAction="#getLeagueInfo" prefHeight="30.0" prefWidth="96.0" text="Get league info" />
- <Button fx:id="getMoreLeagueInfoButton" mnemonicParsing="false" disable="true" onAction="#getMoreLeagueInfo" prefHeight="30.0" prefWidth="96.0" text="Get more league info" />
- </children>
- </FlowPane>
- </children>
- </AnchorPane>
- <AnchorPane fx:id="testSettingsPanel" prefHeight="386.0" prefWidth="736.0">
- <children>
- <SplitPane dividerPositions="0.5" prefHeight="351.0" prefWidth="736.0" AnchorPane.bottomAnchor="34.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
- <items>
- <AnchorPane minHeight="0.0" minWidth="0.0" prefHeight="160.0" prefWidth="100.0">
- <children>
- <VBox prefHeight="383.0" prefWidth="216.0" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
- <children>
- <TextField editable="false" text="Starting cash" />
- <TextField editable="false" text="Betting level" />
- <TextField editable="false" text="Games lookback" />
- <TextField editable="false" text="Bet margin" />
- </children>
- </VBox>
- </children>
- </AnchorPane>
- <AnchorPane minHeight="0.0" minWidth="0.0" prefHeight="160.0" prefWidth="100.0">
- <children>
- <VBox prefHeight="383.0" prefWidth="512.0" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
- <children>
- <TextField fx:id="startingBank" promptText="1000" />
- <TextField fx:id="bettingLevel" promptText="1%" />
- <TextField fx:id="lookBack" promptText="10" />
- <TextField fx:id="betMargin" promptText="5%" />
- <Button fx:id="calcBestValues" onAction="#calcBestResultsAction" text="Calc Best values"/>
- <Button fx:id="topLeaguesTest" onAction="#topLeaguesTestAction" text="Top Leagues Test"/>
- </children>
- </VBox>
- </children>
- </AnchorPane>
- </items>
- </SplitPane>
- <Pane layoutX="-1.0" layoutY="390.0" prefHeight="30.0" prefWidth="736.0">
- <children>
- <Button onAction="#runTestAction" layoutX="338.0" layoutY="2.0" mnemonicParsing="false" text="Run test" />
- </children>
- </Pane>
- </children>
- </AnchorPane>
- <AnchorPane fx:id="testResultsPanel" prefHeight="386.0" prefWidth="736.0">
- </AnchorPane>
- </children>
- </VBox>
- </children>
- </AnchorPane>
|