Testing.fxml 4.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <?import javafx.scene.control.Button?>
  3. <?import javafx.scene.control.ComboBox?>
  4. <?import javafx.scene.control.DatePicker?>
  5. <?import javafx.scene.control.SplitPane?>
  6. <?import javafx.scene.control.TextField?>
  7. <?import javafx.scene.layout.AnchorPane?>
  8. <?import javafx.scene.layout.FlowPane?>
  9. <?import javafx.scene.layout.Pane?>
  10. <?import javafx.scene.layout.VBox?>
  11. <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">
  12. <children>
  13. <VBox prefHeight="414.0" prefWidth="736.0" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
  14. <children>
  15. <AnchorPane>
  16. <children>
  17. <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">
  18. <children>
  19. <DatePicker fx:id="date" prefHeight="30.0" prefWidth="209.0" />
  20. <Button fx:id="getResults" mnemonicParsing="false" onAction="#getResults" prefHeight="30.0" prefWidth="96.0" text="GetResults" />
  21. <ComboBox id="CountryComboBox" fx:id="countrySelector" disable="true" onAction="#CountrySelected" prefHeight="25.0" prefWidth="200.0" promptText="Country" />
  22. <ComboBox id="LeagueComboBox" fx:id="leagueSelector" disable="true" onAction="#LeagueSelected" prefHeight="25.0" prefWidth="200.0" promptText="League" />
  23. </children>
  24. </FlowPane>
  25. </children>
  26. </AnchorPane>
  27. <AnchorPane fx:id="testSettingsPanel" prefHeight="386.0" prefWidth="736.0">
  28. <children>
  29. <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">
  30. <items>
  31. <AnchorPane minHeight="0.0" minWidth="0.0" prefHeight="160.0" prefWidth="100.0">
  32. <children>
  33. <VBox prefHeight="383.0" prefWidth="216.0" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
  34. <children>
  35. <TextField editable="false" text="Starting cash" />
  36. <TextField editable="false" text="Betting level" />
  37. <TextField editable="false" text="Games lookback" />
  38. <TextField editable="false" text="Bet margin" />
  39. </children>
  40. </VBox>
  41. </children>
  42. </AnchorPane>
  43. <AnchorPane minHeight="0.0" minWidth="0.0" prefHeight="160.0" prefWidth="100.0">
  44. <children>
  45. <VBox prefHeight="383.0" prefWidth="512.0" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
  46. <children>
  47. <TextField fx:id="startingBank" promptText="1000" />
  48. <TextField fx:id="bettingLevel" promptText="1%" />
  49. <TextField fx:id="lookBack" promptText="10" />
  50. <TextField fx:id="betMargin" promptText="5%" />
  51. </children>
  52. </VBox>
  53. </children>
  54. </AnchorPane>
  55. </items>
  56. </SplitPane>
  57. <Pane layoutX="-1.0" layoutY="390.0" prefHeight="30.0" prefWidth="736.0">
  58. <children>
  59. <Button onAction="#runTestAction" layoutX="338.0" layoutY="2.0" mnemonicParsing="false" text="Run test" />
  60. </children>
  61. </Pane>
  62. </children>
  63. </AnchorPane>
  64. <AnchorPane fx:id="testResultsPanel" prefHeight="386.0" prefWidth="736.0">
  65. </AnchorPane>
  66. </children>
  67. </VBox>
  68. </children>
  69. </AnchorPane>