GenreStatisticsWindow.fxml 5.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <?import javafx.scene.Cursor?>
  3. <?import javafx.scene.chart.PieChart?>
  4. <?import javafx.scene.control.Label?>
  5. <?import javafx.scene.layout.AnchorPane?>
  6. <?import javafx.scene.layout.BorderPane?>
  7. <?import javafx.scene.layout.HBox?>
  8. <?import javafx.scene.layout.Pane?>
  9. <?import javafx.scene.layout.VBox?>
  10. <?import javafx.scene.text.Font?>
  11. <?import javafx.scene.text.TextFlow?>
  12. <BorderPane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="0.0" prefHeight="553.0" prefWidth="616.0" stylesheets="@AddMovieWindowStyle.css" xmlns="http://javafx.com/javafx/16" xmlns:fx="http://javafx.com/fxml/1" fx:controller="com.moviesdb.GenreStatisticsController">
  13. <right>
  14. <Pane fx:id="borderRight" maxWidth="5.0" prefHeight="520.0" prefWidth="230.0" style="-fx-background-color: #121212;" BorderPane.alignment="CENTER">
  15. <cursor>
  16. <Cursor fx:constant="E_RESIZE" />
  17. </cursor></Pane>
  18. </right>
  19. <bottom>
  20. <AnchorPane>
  21. <Pane fx:id="cornerBottomLeft" maxHeight="5.0" maxWidth="5.0" minHeight="5.0" minWidth="5.0" prefHeight="5.0" prefWidth="5.0" style="-fx-background-color: #121212;" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0">
  22. <cursor>
  23. <Cursor fx:constant="NE_RESIZE" />
  24. </cursor>
  25. </Pane>
  26. <Pane fx:id="borderBottom" prefHeight="5.0" prefWidth="745.0" style="-fx-background-color: #121212;" AnchorPane.leftAnchor="5.0" AnchorPane.rightAnchor="5.0" BorderPane.alignment="CENTER">
  27. <cursor>
  28. <Cursor fx:constant="S_RESIZE" />
  29. </cursor></Pane>
  30. <Pane fx:id="cornerBottomRight" maxHeight="5.0" maxWidth="5.0" minHeight="5.0" minWidth="5.0" prefHeight="5.0" prefWidth="5.0" style="-fx-background-color: #121212;" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
  31. <cursor>
  32. <Cursor fx:constant="SE_RESIZE" />
  33. </cursor>
  34. </Pane>
  35. <cursor>
  36. <Cursor fx:constant="DEFAULT" />
  37. </cursor>
  38. </AnchorPane>
  39. </bottom>
  40. <left>
  41. <Pane fx:id="borderLeft" maxWidth="5.0" prefWidth="10.0" style="-fx-background-color: #121212;" BorderPane.alignment="CENTER">
  42. <cursor>
  43. <Cursor fx:constant="W_RESIZE" />
  44. </cursor></Pane>
  45. </left>
  46. <top>
  47. <AnchorPane fx:id="borderTop" maxHeight="24.0" prefHeight="24.0" style="-fx-background-color: #121212;" BorderPane.alignment="CENTER">
  48. <children>
  49. <Label fx:id="closeButton" onMouseClicked="#closeStage" prefHeight="16.0" prefWidth="16.0" AnchorPane.bottomAnchor="4.0" AnchorPane.rightAnchor="4.0" AnchorPane.topAnchor="4.0">
  50. <font>
  51. <Font name="Arimo" size="12.0" />
  52. </font>
  53. </Label>
  54. <Label fx:id="minimizeButton" onMouseClicked="#minimizeStage" prefHeight="16.0" prefWidth="16.0" AnchorPane.bottomAnchor="4.0" AnchorPane.rightAnchor="24.0" AnchorPane.topAnchor="4.0">
  55. <font>
  56. <Font name="Arimo" size="12.0" />
  57. </font>
  58. </Label>
  59. <Label fx:id="borderTopTitle" layoutX="10.0" layoutY="2.0" text="Title" textFill="#9f9f9f" AnchorPane.bottomAnchor="2.0" AnchorPane.leftAnchor="10.0" AnchorPane.topAnchor="2.0">
  60. <font>
  61. <Font size="14.0" />
  62. </font>
  63. </Label>
  64. </children>
  65. <cursor>
  66. <Cursor fx:constant="DEFAULT" />
  67. </cursor>
  68. </AnchorPane>
  69. </top>
  70. <center>
  71. <AnchorPane prefHeight="200.0" prefWidth="200.0" style="-fx-background-color: #212121;" BorderPane.alignment="CENTER">
  72. <children>
  73. <VBox style="-fx-background-color: transparent;" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
  74. <AnchorPane minHeight="20.0" prefHeight="20.0" prefWidth="200.0" style="-fx-background-color: transparent;" />
  75. <AnchorPane prefHeight="385.0" prefWidth="600.0" style="-fx-background-color: transparent;" VBox.vgrow="ALWAYS">
  76. <children>
  77. <PieChart fx:id="genrePie" layoutX="50.0" prefHeight="250.0" prefWidth="600.0" style="-fx-max-height: 600; -fx-max-width: 600;" stylesheets="@PieChartStyle.css" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0" />
  78. </children>
  79. </AnchorPane>
  80. <AnchorPane prefHeight="120.0">
  81. <children>
  82. <HBox prefHeight="100.0" prefWidth="200.0" AnchorPane.bottomAnchor="17.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0">
  83. <children>
  84. <Pane prefHeight="200.0" prefWidth="200.0" HBox.hgrow="ALWAYS" />
  85. <TextFlow fx:id="statsTextBox" prefHeight="111.0" prefWidth="200.0" style="-fx-text-fill: #9F9F9F;" />
  86. <Pane prefHeight="200.0" prefWidth="200.0" HBox.hgrow="ALWAYS" />
  87. </children>
  88. </HBox>
  89. </children></AnchorPane>
  90. <Pane maxHeight="5.0" minHeight="5.0" prefHeight="5.0" prefWidth="200.0" VBox.vgrow="NEVER" />
  91. </VBox>
  92. </children>
  93. </AnchorPane>
  94. </center>
  95. </BorderPane>