OddsFxBuilder.fxml 8.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <?import javafx.scene.control.*?>
  3. <?import javafx.scene.layout.*?>
  4. <?import javafx.scene.text.Font?>
  5. <StackPane prefHeight="800.0" prefWidth="1600.0" xmlns="http://javafx.com/javafx/18" xmlns:fx="http://javafx.com/fxml/1" fx:controller="controllers.MainController">
  6. <children>
  7. <BorderPane prefHeight="600.0" prefWidth="1200.0">
  8. <top>
  9. <FlowPane BorderPane.alignment="CENTER">
  10. <children>
  11. <ComboBox id="SportComboBox" fx:id="sportSelector" onAction="#sportSelected" prefHeight="25.0" prefWidth="200.0" promptText="Sport" />
  12. <ComboBox id="CountryComboBox" fx:id="countrySelector" disable="true" onAction="#countrySelected" prefHeight="25.0" prefWidth="200.0" promptText="Country" />
  13. <ComboBox id="LeagueComboBox" fx:id="leagueSelector" disable="true" onAction="#leagueSelected" prefHeight="25.0" prefWidth="200.0" promptText="League" />
  14. <Button fx:id="resetFilterButton" mnemonicParsing="false" onAction="#resetFilter" text="Reset Filter" />
  15. <Button fx:id="getLeagueInfoButton" disable="true" mnemonicParsing="false" onAction="#getLeagueInfo" text="Get League Info" />
  16. <Button fx:id="getMoreLeagueInfo" disable="true" mnemonicParsing="false" onAction="#getMoreLeagueInfo" text="Get more league info" />
  17. <Button fx:id="updateStatsTableButton" disable="true" mnemonicParsing="false" onAction="#updateStatsTable" text="Update Statistics" />
  18. <Button fx:id="showMatchStatsButton" disable="true" mnemonicParsing="false" onAction="#setMatchStatInfo" text="Show match stats" />
  19. <Button onAction="#getLeagueInfo" text="Get this years stats" />
  20. </children>
  21. </FlowPane>
  22. </top>
  23. <left>
  24. <SplitPane dividerPositions="0.38190954773869346" prefHeight="575.0" prefWidth="300.0" BorderPane.alignment="CENTER">
  25. <items>
  26. <FlowPane prefHeight="573.0">
  27. <children>
  28. <TextField alignment="CENTER" editable="false" prefHeight="25.0" text="Home team" />
  29. <TextField alignment="CENTER" editable="false" prefHeight="25.0" text="Away team" />
  30. <TextField editable="false" prefHeight="25.0" prefWidth="100.0" text="League avarages">
  31. <font>
  32. <Font name="System Bold" size="12.0" />
  33. </font>
  34. </TextField>
  35. <TextField editable="false" text="Home score" />
  36. <TextField editable="false" text="Away score" />
  37. <TextField editable="false" prefHeight="25.0" prefWidth="149.0" text="Season Scoring">
  38. <font>
  39. <Font name="System Bold" size="12.0" />
  40. </font>
  41. </TextField>
  42. <TextField editable="false" text="0 Goals" />
  43. <TextField editable="false" text="1 Goal" />
  44. <TextField editable="false" text="2 Goals" />
  45. <TextField editable="false" text="3 Goals" />
  46. <TextField editable="false" text="4 Goals" />
  47. <TextField editable="false" text="5 Goals" />
  48. <TextField editable="false" text="6+ Goals" />
  49. </children>
  50. </FlowPane>
  51. <FlowPane prefHeight="573.0" prefWidth="149.0">
  52. <children>
  53. <ChoiceBox id="HomeTeamSelector" fx:id="homeTeamSelector" disable="true" prefHeight="25.0" prefWidth="100.0" />
  54. <ChoiceBox id="AwayTeamSelector" fx:id="awayTeamSelector" disable="true" prefHeight="25.0" prefWidth="100.0" />
  55. <TextField editable="false" prefHeight="25.0" prefWidth="100.0" text="League avarages">
  56. <font>
  57. <Font name="System Bold" size="12.0" />
  58. </font>
  59. </TextField>
  60. <TextField fx:id="avgLeagueHomeScoreTxt" editable="false" />
  61. <TextField fx:id="avgLeagueAwayScoreTxt" editable="false" />
  62. <TextField editable="false" />
  63. <TextField fx:id="league0Goals" editable="false" />
  64. <TextField fx:id="league1Goals" editable="false" />
  65. <TextField fx:id="league2Goals" editable="false" />
  66. <TextField fx:id="league3Goals" editable="false" />
  67. <TextField fx:id="league4Goals" editable="false" />
  68. <TextField fx:id="league5Goals" editable="false" />
  69. <TextField fx:id="league6Goals" editable="false" />
  70. </children>
  71. </FlowPane>
  72. </items>
  73. </SplitPane>
  74. </left>
  75. <center>
  76. <TabPane prefHeight="200.0" prefWidth="200.0" tabClosingPolicy="UNAVAILABLE" BorderPane.alignment="CENTER">
  77. <tabs>
  78. <Tab text="Predictions">
  79. <content>
  80. <fx:include fx:id="matchTab" source="MatchTabBuilder.fxml" />
  81. </content>
  82. </Tab>
  83. <Tab text="To Be Resolved">
  84. <content>
  85. <fx:include fx:id="resultsTab" source="MatchResultTabBuilder.fxml" />
  86. </content>
  87. </Tab>
  88. <Tab text="Statistic Tests">
  89. <content>
  90. <fx:include fx:id="statTab" source="StatisticsTabBuilder.fxml" />
  91. </content>
  92. </Tab>
  93. <Tab text="Match Statistics">
  94. <content>
  95. <fx:include fx:id="matchStatTab" source="MatchStatTabBuilder.fxml" />
  96. </content>
  97. </Tab>
  98. <Tab text="Old results">
  99. <content>
  100. <fx:include fx:id="oldResultsTab" source="PastResults.fxml" />
  101. </content>
  102. </Tab>
  103. <Tab text="Testing2">
  104. <content>
  105. <fx:include fx:id="testsTab" source="Testing.fxml" />
  106. </content>
  107. </Tab>
  108. <Tab text="Analyze Betting">
  109. <content>
  110. <fx:include fx:id="analyzeTesting" source="AnalysisTesting.fxml" />
  111. </content>
  112. </Tab>
  113. <Tab text="Stryktipset">
  114. <content>
  115. <fx:include fx:id="stryktipset" source="Stryktipset.fxml" />
  116. </content>
  117. </Tab>
  118. <Tab text="Analyser">
  119. <content>
  120. <fx:include fx:id="analyser" source="Analyser.fxml" />
  121. </content>
  122. </Tab>
  123. <Tab text="MatchStatistics">
  124. <content>
  125. <fx:include fx:id="matchStatistics" source="MatchStatistics.fxml" />
  126. </content>
  127. </Tab>
  128. <Tab text="Strategy Tester">
  129. <content>
  130. <fx:include fx:id="strategyTester" source="StrategyTester.fxml" />
  131. </content>
  132. </Tab>
  133. <Tab text="Upcomming Matches">
  134. <content>
  135. <fx:include fx:id="upcommingMatches" source="UpcommingMatches.fxml" />
  136. </content>
  137. </Tab>
  138. </tabs>
  139. </TabPane>
  140. </center>
  141. </BorderPane>
  142. <Pane fx:id="glass" disable="true" opacity="0.0" prefHeight="600.0" prefWidth="1200.0" style="-fx-background-color: #000111;" visible="false">
  143. <children>
  144. <TextField alignment="CENTER" editable="false" layoutX="198.0" layoutY="231.0" style="-fx-background-color: #000FFF; -fx-text-fill: #FFFFFF;" text="WAIT">
  145. <font>
  146. <Font size="65.0" />
  147. </font>
  148. </TextField>
  149. </children>
  150. </Pane>
  151. </children>
  152. </StackPane>