Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="UTF-8"?>
- <?import java.lang.*?>
- <?import java.net.*?>
- <?import java.util.*?>
- <?import javafx.geometry.*?>
- <?import javafx.scene.*?>
- <?import javafx.scene.control.*?>
- <?import javafx.scene.control.Button?>
- <?import javafx.scene.control.cell.*?>
- <?import javafx.scene.image.*?>
- <?import javafx.scene.layout.*?>
- <?import javafx.scene.layout.HBox?>
- <?import javafx.scene.text.*?>
- <VBox prefHeight="623.0" prefWidth="464.0" xmlns="http://javafx.com/javafx/8" xmlns:fx="http://javafx.com/fxml/1" fx:controller="controller.CatalogueController">
- <children>
- <FlowPane alignment="CENTER" prefHeight="364.0" prefWidth="463.9999000000025">
- <children>
- <TableView fx:id="catalogueTable" prefHeight="342.0" prefWidth="437.0">
- <columns>
- <TableColumn fx:id="typeTable" maxWidth="5000.0" minWidth="10.0" prefWidth="106.0" styleClass="table-row-cell" text="Type" />
- <TableColumn fx:id="nameTable" maxWidth="5000.0" minWidth="10.0" prefWidth="109.0" styleClass="table-row-cell" text="Name" />
- <TableColumn fx:id="priceTable" maxWidth="5000.0" minWidth="10.0" prefWidth="69.0" styleClass="table-row-cell" text="Price" />
- </columns>
- <FlowPane.margin>
- <Insets bottom="10.0" left="10.0" right="10.0" top="10.0" />
- </FlowPane.margin>
- </TableView>
- </children>
- </FlowPane>
- <GridPane>
- <children>
- <Label prefWidth="83.0" styleClass="h2" text="Filters" GridPane.columnIndex="0" GridPane.rowIndex="0" />
- </children>
- <columnConstraints>
- <ColumnConstraints hgrow="SOMETIMES" maxWidth="449.0" minWidth="10.0" prefWidth="447.0" />
- </columnConstraints>
- <padding>
- <Insets bottom="10.0" />
- </padding>
- <rowConstraints>
- <RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
- </rowConstraints>
- <VBox.margin>
- <Insets left="10.0" right="10.0" />
- </VBox.margin>
- </GridPane>
- <GridPane prefHeight="38.0" prefWidth="454.0">
- <children>
- <Label alignment="CENTER_LEFT" contentDisplay="LEFT" prefWidth="123.0" text="Type:" GridPane.columnIndex="0" GridPane.rowIndex="0" />
- <TextField fx:id="typeFilterTBox" prefHeight="25.0" prefWidth="307.0" GridPane.columnIndex="1" GridPane.rowIndex="0" />
- </children>
- <columnConstraints>
- <ColumnConstraints hgrow="SOMETIMES" maxWidth="228.0" minWidth="10.0" prefWidth="118.0" />
- <ColumnConstraints hgrow="SOMETIMES" maxWidth="440.0" minWidth="10.0" prefWidth="305.0" />
- <ColumnConstraints hgrow="SOMETIMES" maxWidth="375.0" minWidth="10.0" prefWidth="38.0" />
- </columnConstraints>
- <rowConstraints>
- <RowConstraints maxHeight="31.0" minHeight="10.0" prefHeight="23.0" vgrow="SOMETIMES" />
- </rowConstraints>
- <VBox.margin>
- <Insets left="10.0" fx:id="x1" />
- </VBox.margin>
- </GridPane>
- <GridPane alignment="TOP_LEFT" prefHeight="41.0" prefWidth="454.0" VBox.margin="$x1">
- <children>
- <Label alignment="CENTER_LEFT" prefWidth="123.0" text="Price Range:" wrapText="true" GridPane.columnIndex="0" GridPane.rowIndex="0" />
- <Label alignment="TOP_CENTER" prefWidth="47.0" text="to" textAlignment="CENTER" GridPane.columnIndex="2" GridPane.rowIndex="0" />
- <TextField fx:id="minFilterTBox" prefWidth="200.0" GridPane.columnIndex="1" GridPane.rowIndex="0" />
- <TextField fx:id="maxFilterTBox" prefWidth="127.0" GridPane.columnIndex="3" GridPane.rowIndex="0" />
- </children>
- <columnConstraints>
- <ColumnConstraints hgrow="SOMETIMES" maxWidth="228.0" minWidth="10.0" prefWidth="118.0" />
- <ColumnConstraints hgrow="SOMETIMES" maxWidth="378.0" minWidth="10.0" prefWidth="140.0" />
- <ColumnConstraints hgrow="SOMETIMES" maxWidth="378.0" minWidth="10.0" prefWidth="25.0" />
- <ColumnConstraints hgrow="SOMETIMES" maxWidth="378.0" minWidth="10.0" prefWidth="140.0" />
- <ColumnConstraints hgrow="SOMETIMES" maxWidth="378.0" minWidth="10.0" prefWidth="38.0" />
- </columnConstraints>
- <rowConstraints>
- <RowConstraints maxHeight="29.0" minHeight="10.0" prefHeight="21.0" vgrow="SOMETIMES" />
- </rowConstraints>
- </GridPane>
- <GridPane prefHeight="115.0" prefWidth="463.9999000000025" VBox.margin="$x1">
- <children>
- <Button fx:id="addSelectedBtn" mnemonicParsing="false" onAction="#addBtnClicked" prefHeight="25.0" prefWidth="152.0" text="Add Selected to Build" textFill="WHITE" GridPane.columnIndex="0">
- <GridPane.margin>
- <Insets bottom="10.0" />
- </GridPane.margin></Button>
- <Button fx:id="addNewPartBtn" mnemonicParsing="false" onAction="#buttonClicked" text="Add New Part to Catalogue" GridPane.columnIndex="0" GridPane.rowIndex="1">
- <GridPane.margin>
- <Insets bottom="10.0" top="15.0" />
- </GridPane.margin></Button>
- <Button fx:id="removeSelectedBtn" mnemonicParsing="false" onAction="#removeBtnClicked" text="Remove Selected from Catalogue" GridPane.columnIndex="0" GridPane.rowIndex="2">
- <GridPane.margin>
- <Insets bottom="10.0" top="25.0" />
- </GridPane.margin></Button>
- <Button fx:id="closeButton" mnemonicParsing="false" onAction="#closeButtonAction" text="Close" GridPane.columnIndex="0" GridPane.rowIndex="3">
- <GridPane.margin>
- <Insets bottom="10.0" top="30.0" />
- </GridPane.margin></Button>
- </children>
- <columnConstraints>
- <ColumnConstraints hgrow="SOMETIMES" maxWidth="455.0" minWidth="10.0" prefWidth="232.0" />
- </columnConstraints>
- <rowConstraints>
- <RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
- <RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
- <RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
- <RowConstraints maxHeight="33.0" minHeight="10.0" prefHeight="33.0" vgrow="SOMETIMES" />
- </rowConstraints>
- <opaqueInsets>
- <Insets />
- </opaqueInsets>
- </GridPane>
- </children>
- <stylesheets>
- <URL value="@computerbuilder.css" />
- </stylesheets>
- </VBox>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement