OddsFxBuilder.fxml 8.2 KB

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