OddsFxBuilder.fxml 7.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145
  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/15.0.1" 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. </children>
  32. </FlowPane>
  33. </top>
  34. <left>
  35. <SplitPane dividerPositions="0.38190954773869346" prefHeight="575.0" prefWidth="300.0" BorderPane.alignment="CENTER">
  36. <items>
  37. <FlowPane prefHeight="573.0">
  38. <children>
  39. <TextField alignment="CENTER" editable="false" prefHeight="25.0" text="Home team" />
  40. <TextField alignment="CENTER" editable="false" prefHeight="25.0" text="Away team" />
  41. <TextField editable="false" prefHeight="25.0" prefWidth="100.0" text="League avarages">
  42. <font>
  43. <Font name="System Bold" size="12.0" />
  44. </font>
  45. </TextField>
  46. <TextField editable="false" text="Home score" />
  47. <TextField editable="false" text="Away score" />
  48. <TextField editable="false" prefHeight="25.0" prefWidth="149.0" text="Season Scoring">
  49. <font>
  50. <Font name="System Bold" size="12.0" />
  51. </font>
  52. </TextField>
  53. <TextField editable="false" text="0 Goals" />
  54. <TextField editable="false" text="1 Goal" />
  55. <TextField editable="false" text="2 Goals" />
  56. <TextField editable="false" text="3 Goals" />
  57. <TextField editable="false" text="4 Goals" />
  58. <TextField editable="false" text="5 Goals" />
  59. <TextField editable="false" text="6+ Goals" />
  60. </children>
  61. </FlowPane>
  62. <FlowPane prefHeight="573.0" prefWidth="149.0">
  63. <children>
  64. <ChoiceBox id="HomeTeamSelector" fx:id="homeTeamSelector" disable="true" prefHeight="25.0" prefWidth="100.0" />
  65. <ChoiceBox id="AwayTeamSelector" fx:id="awayTeamSelector" disable="true" prefHeight="25.0" prefWidth="100.0" />
  66. <TextField editable="false" prefHeight="25.0" prefWidth="100.0" text="League avarages">
  67. <font>
  68. <Font name="System Bold" size="12.0" />
  69. </font>
  70. </TextField>
  71. <TextField fx:id="avgLeagueHomeScoreTxt" editable="false" />
  72. <TextField fx:id="avgLeagueAwayScoreTxt" editable="false" />
  73. <TextField editable="false" />
  74. <TextField fx:id="league0Goals" editable="false" />
  75. <TextField fx:id="league1Goal" editable="false" />
  76. <TextField fx:id="league2Goals" editable="false" />
  77. <TextField fx:id="league3Goals" editable="false" />
  78. <TextField fx:id="league4Goals" editable="false" />
  79. <TextField fx:id="league5Goals" editable="false" />
  80. <TextField fx:id="league6Goals" editable="false" />
  81. </children>
  82. </FlowPane>
  83. </items>
  84. </SplitPane>
  85. </left>
  86. <center>
  87. <TabPane prefHeight="200.0" prefWidth="200.0" tabClosingPolicy="UNAVAILABLE" BorderPane.alignment="CENTER">
  88. <tabs>
  89. <Tab text="Predictions">
  90. <content>
  91. <fx:include fx:id="matchTab" source="MatchTabBuilder.fxml" />
  92. </content>
  93. </Tab>
  94. <Tab text="To Be Resolved">
  95. <content>
  96. <fx:include fx:id="resultsTab" source="MatchResultTabBuilder.fxml" />
  97. </content>
  98. </Tab>
  99. <Tab text="Statistic Tests">
  100. <content>
  101. <fx:include fx:id="statTab" source="StatisticsTabBuilder.fxml" />
  102. </content>
  103. </Tab>
  104. <Tab text="Match Statistics">
  105. <content>
  106. <fx:include fx:id="matchStatTab" source="MatchStatTabBuilder.fxml" />
  107. </content>
  108. </Tab>
  109. <Tab text="Old results">
  110. <content>
  111. <fx:include fx:id="oldResultsTab" source="PastResults.fxml" />
  112. </content>
  113. </Tab>
  114. <Tab text="Testing">
  115. <content>
  116. <fx:include fx:id="testsTab" source="Testing.fxml" />
  117. </content>
  118. </Tab>
  119. </tabs>
  120. </TabPane>
  121. </center>
  122. </BorderPane>
  123. <Pane fx:id="glass" disable="true" opacity="0.0" prefHeight="600.0" prefWidth="1200.0" style="-fx-background-color: #000111;" visible="false">
  124. <children>
  125. <TextField alignment="CENTER" editable="false" layoutX="198.0" layoutY="231.0" style="-fx-background-color: #000FFF; -fx-text-fill: #FFFFFF;" text="WAIT">
  126. <font>
  127. <Font size="65.0" />
  128. </font>
  129. <effect>
  130. <Lighting>
  131. <bumpInput>
  132. <Shadow />
  133. </bumpInput>
  134. <light>
  135. <Light.Distant />
  136. </light>
  137. </Lighting>
  138. </effect>
  139. </TextField>
  140. </children>
  141. </Pane>
  142. </children>
  143. </StackPane>