Advertisement
Guest User

Untitled

a guest
Oct 14th, 2019
137
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.30 KB | None | 0 0
  1. <?xml version="1.0" encoding="UTF-8"?>
  2.  
  3. <?import java.lang.*?>
  4. <?import java.net.*?>
  5. <?import java.util.*?>
  6. <?import javafx.geometry.*?>
  7. <?import javafx.scene.*?>
  8. <?import javafx.scene.control.*?>
  9. <?import javafx.scene.control.Button?>
  10. <?import javafx.scene.control.cell.*?>
  11. <?import javafx.scene.image.*?>
  12. <?import javafx.scene.layout.*?>
  13. <?import javafx.scene.layout.HBox?>
  14. <?import javafx.scene.text.*?>
  15.  
  16. <VBox prefHeight="623.0" prefWidth="464.0" xmlns="http://javafx.com/javafx/8" xmlns:fx="http://javafx.com/fxml/1" fx:controller="controller.CatalogueController">
  17. <children>
  18. <FlowPane alignment="CENTER" prefHeight="364.0" prefWidth="463.9999000000025">
  19. <children>
  20. <TableView fx:id="catalogueTable" prefHeight="342.0" prefWidth="437.0">
  21. <columns>
  22. <TableColumn fx:id="typeTable" maxWidth="5000.0" minWidth="10.0" prefWidth="106.0" styleClass="table-row-cell" text="Type" />
  23. <TableColumn fx:id="nameTable" maxWidth="5000.0" minWidth="10.0" prefWidth="109.0" styleClass="table-row-cell" text="Name" />
  24. <TableColumn fx:id="priceTable" maxWidth="5000.0" minWidth="10.0" prefWidth="69.0" styleClass="table-row-cell" text="Price" />
  25. </columns>
  26. <FlowPane.margin>
  27. <Insets bottom="10.0" left="10.0" right="10.0" top="10.0" />
  28. </FlowPane.margin>
  29. </TableView>
  30. </children>
  31. </FlowPane>
  32. <GridPane>
  33. <children>
  34. <Label prefWidth="83.0" styleClass="h2" text="Filters" GridPane.columnIndex="0" GridPane.rowIndex="0" />
  35. </children>
  36. <columnConstraints>
  37. <ColumnConstraints hgrow="SOMETIMES" maxWidth="449.0" minWidth="10.0" prefWidth="447.0" />
  38. </columnConstraints>
  39. <padding>
  40. <Insets bottom="10.0" />
  41. </padding>
  42. <rowConstraints>
  43. <RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
  44. </rowConstraints>
  45. <VBox.margin>
  46. <Insets left="10.0" right="10.0" />
  47. </VBox.margin>
  48. </GridPane>
  49. <GridPane prefHeight="38.0" prefWidth="454.0">
  50. <children>
  51. <Label alignment="CENTER_LEFT" contentDisplay="LEFT" prefWidth="123.0" text="Type:" GridPane.columnIndex="0" GridPane.rowIndex="0" />
  52. <TextField fx:id="typeFilterTBox" prefHeight="25.0" prefWidth="307.0" GridPane.columnIndex="1" GridPane.rowIndex="0" />
  53. </children>
  54. <columnConstraints>
  55. <ColumnConstraints hgrow="SOMETIMES" maxWidth="228.0" minWidth="10.0" prefWidth="118.0" />
  56. <ColumnConstraints hgrow="SOMETIMES" maxWidth="440.0" minWidth="10.0" prefWidth="305.0" />
  57. <ColumnConstraints hgrow="SOMETIMES" maxWidth="375.0" minWidth="10.0" prefWidth="38.0" />
  58. </columnConstraints>
  59. <rowConstraints>
  60. <RowConstraints maxHeight="31.0" minHeight="10.0" prefHeight="23.0" vgrow="SOMETIMES" />
  61. </rowConstraints>
  62. <VBox.margin>
  63. <Insets left="10.0" fx:id="x1" />
  64. </VBox.margin>
  65. </GridPane>
  66. <GridPane alignment="TOP_LEFT" prefHeight="41.0" prefWidth="454.0" VBox.margin="$x1">
  67. <children>
  68. <Label alignment="CENTER_LEFT" prefWidth="123.0" text="Price Range:" wrapText="true" GridPane.columnIndex="0" GridPane.rowIndex="0" />
  69. <Label alignment="TOP_CENTER" prefWidth="47.0" text="to" textAlignment="CENTER" GridPane.columnIndex="2" GridPane.rowIndex="0" />
  70. <TextField fx:id="minFilterTBox" prefWidth="200.0" GridPane.columnIndex="1" GridPane.rowIndex="0" />
  71. <TextField fx:id="maxFilterTBox" prefWidth="127.0" GridPane.columnIndex="3" GridPane.rowIndex="0" />
  72. </children>
  73. <columnConstraints>
  74. <ColumnConstraints hgrow="SOMETIMES" maxWidth="228.0" minWidth="10.0" prefWidth="118.0" />
  75. <ColumnConstraints hgrow="SOMETIMES" maxWidth="378.0" minWidth="10.0" prefWidth="140.0" />
  76. <ColumnConstraints hgrow="SOMETIMES" maxWidth="378.0" minWidth="10.0" prefWidth="25.0" />
  77. <ColumnConstraints hgrow="SOMETIMES" maxWidth="378.0" minWidth="10.0" prefWidth="140.0" />
  78. <ColumnConstraints hgrow="SOMETIMES" maxWidth="378.0" minWidth="10.0" prefWidth="38.0" />
  79. </columnConstraints>
  80. <rowConstraints>
  81. <RowConstraints maxHeight="29.0" minHeight="10.0" prefHeight="21.0" vgrow="SOMETIMES" />
  82. </rowConstraints>
  83. </GridPane>
  84. <GridPane prefHeight="115.0" prefWidth="463.9999000000025" VBox.margin="$x1">
  85. <children>
  86. <Button fx:id="addSelectedBtn" mnemonicParsing="false" onAction="#addBtnClicked" prefHeight="25.0" prefWidth="152.0" text="Add Selected to Build" textFill="WHITE" GridPane.columnIndex="0">
  87. <GridPane.margin>
  88. <Insets bottom="10.0" />
  89. </GridPane.margin></Button>
  90. <Button fx:id="addNewPartBtn" mnemonicParsing="false" onAction="#buttonClicked" text="Add New Part to Catalogue" GridPane.columnIndex="0" GridPane.rowIndex="1">
  91. <GridPane.margin>
  92. <Insets bottom="10.0" top="15.0" />
  93. </GridPane.margin></Button>
  94. <Button fx:id="removeSelectedBtn" mnemonicParsing="false" onAction="#removeBtnClicked" text="Remove Selected from Catalogue" GridPane.columnIndex="0" GridPane.rowIndex="2">
  95. <GridPane.margin>
  96. <Insets bottom="10.0" top="25.0" />
  97. </GridPane.margin></Button>
  98. <Button fx:id="closeButton" mnemonicParsing="false" onAction="#closeButtonAction" text="Close" GridPane.columnIndex="0" GridPane.rowIndex="3">
  99. <GridPane.margin>
  100. <Insets bottom="10.0" top="30.0" />
  101. </GridPane.margin></Button>
  102. </children>
  103. <columnConstraints>
  104. <ColumnConstraints hgrow="SOMETIMES" maxWidth="455.0" minWidth="10.0" prefWidth="232.0" />
  105. </columnConstraints>
  106. <rowConstraints>
  107. <RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
  108. <RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
  109. <RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
  110. <RowConstraints maxHeight="33.0" minHeight="10.0" prefHeight="33.0" vgrow="SOMETIMES" />
  111. </rowConstraints>
  112. <opaqueInsets>
  113. <Insets />
  114. </opaqueInsets>
  115. </GridPane>
  116. </children>
  117. <stylesheets>
  118. <URL value="@computerbuilder.css" />
  119. </stylesheets>
  120. </VBox>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement