-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathInventory.fxml
More file actions
117 lines (115 loc) · 9.05 KB
/
Inventory.fxml
File metadata and controls
117 lines (115 loc) · 9.05 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
<?xml version="1.0" encoding="UTF-8"?>
<?import javafx.scene.control.Button?>
<?import javafx.scene.control.Label?>
<?import javafx.scene.layout.AnchorPane?>
<?import javafx.scene.layout.ColumnConstraints?>
<?import javafx.scene.layout.GridPane?>
<?import javafx.scene.layout.RowConstraints?>
<?import javafx.scene.text.Font?>
<AnchorPane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="800.0" prefWidth="800.0" styleClass="inventoryBackgroundImage" stylesheets="@style.css" xmlns:fx="http://javafx.com/fxml/1" fx:controller="InventoryController">
<children>
<GridPane gridLinesVisible="true" layoutX="53.0" layoutY="240.0" prefHeight="320.0" prefWidth="225.0" styleClass="chalkboardImage" stylesheets="@style.css">
<columnConstraints>
<ColumnConstraints hgrow="SOMETIMES" maxWidth="430.0" minWidth="10.0" prefWidth="196.0" />
<ColumnConstraints hgrow="SOMETIMES" maxWidth="331.0" minWidth="0.0" prefWidth="33.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 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 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 minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
</rowConstraints>
<children>
<Label text="Raspberry Seed" textFill="#d15eff" GridPane.rowIndex="1" />
<Label fx:id="raspberrySeedQuantity" alignment="CENTER" contentDisplay="RIGHT" text="1" textFill="WHITE" GridPane.columnIndex="1" GridPane.rowIndex="1" />
<Label layoutX="10.0" layoutY="17.0" text="Strawberry Seed" textFill="#d15eff" />
<Label fx:id="strawberrySeedQuantity" text="1" textFill="WHITE" GridPane.columnIndex="1" />
<Label text="Passion Fruit Seed" textFill="#d15eff" GridPane.rowIndex="2" />
<Label fx:id="passionFruitSeedQuantity" text="1" textFill="#f5f4f4" GridPane.columnIndex="1" GridPane.rowIndex="2" />
<Label text="Grape Seed" textFill="#d15eff" GridPane.rowIndex="4" />
<Label fx:id="grapeSeedQuantity" text="1" textFill="#f8f6f6" GridPane.columnIndex="1" GridPane.rowIndex="4" />
<Label text="Pineapple Seed" textFill="#d15eff" GridPane.rowIndex="7" />
<Label fx:id="pinSeedQ" text="0" textFill="#fffdfd" GridPane.columnIndex="1" GridPane.rowIndex="7" />
<Label text="Dragon Fruit Seed" textFill="#d15eff" GridPane.rowIndex="3" />
<Label fx:id="dragSeedQ" text="0" textFill="#fcfafa" GridPane.columnIndex="1" GridPane.rowIndex="3" />
<Label text="Bean Stalk Seed" textFill="#d15eff" GridPane.rowIndex="5" />
<Label fx:id="beanSeedQ" text="0" textFill="#f8f8f8" GridPane.columnIndex="1" GridPane.rowIndex="5" />
<Label text="Watermelon Seed" textFill="#d15eff" GridPane.rowIndex="6" />
<Label fx:id="watSeedQ" text="0" textFill="WHITE" GridPane.columnIndex="1" GridPane.rowIndex="6" />
<Label text="Fertilizer" textFill="#ffc15e" GridPane.rowIndex="8" />
<Label fx:id="fertilizerQ" text="0" textFill="#fffdfd" GridPane.columnIndex="1" GridPane.rowIndex="8" />
<Label text="Pesticide" textFill="#ffc15e" GridPane.rowIndex="9" />
<Label fx:id="pesticideQ" text="0" textFill="#fffdfd" GridPane.columnIndex="1" GridPane.rowIndex="9" />
</children>
</GridPane>
<GridPane gridLinesVisible="true" layoutX="350.0" layoutY="240.0" prefHeight="320.0" prefWidth="225.0" styleClass="chalkboardImage" stylesheets="@style.css">
<columnConstraints>
<ColumnConstraints hgrow="SOMETIMES" maxWidth="430.0" minWidth="10.0" prefWidth="221.0" />
<ColumnConstraints hgrow="SOMETIMES" maxWidth="331.0" minWidth="0.0" prefWidth="67.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 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 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 minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
</rowConstraints>
<children>
<Label text="Watermelon Crop" textFill="#12a65c" GridPane.rowIndex="6" />
<Label fx:id="watCropQ" text="0" textFill="#f8f7f7" GridPane.columnIndex="1" GridPane.rowIndex="6" />
<Label text="Pineapple Crop" textFill="#12a65c" GridPane.rowIndex="7" />
<Label text="Dragon Fruit Crop" textFill="#12a65c" GridPane.rowIndex="3" />
<Label text="Bean Stalk Crop" textFill="#12a65c" GridPane.rowIndex="5" />
<Label fx:id="pinCropQ" text="0" textFill="#fffbfb" GridPane.columnIndex="1" GridPane.rowIndex="7" />
<Label fx:id="dragCropQ" text="0" textFill="#fffdfd" GridPane.columnIndex="1" GridPane.rowIndex="3" />
<Label fx:id="beanCropQ" text="0" textFill="#f5f0f0" GridPane.columnIndex="1" GridPane.rowIndex="5" />
<Label text="Strawberry Crop" textFill="#12a65c" />
<Label fx:id="strawberryCropQ" text="0" textFill="#fcfcfc" GridPane.columnIndex="1" />
<Label prefHeight="17.0" prefWidth="207.0" text="Raspberry Crop" textFill="#12a65c" GridPane.rowIndex="1" />
<Label fx:id="raspberryCropQ" text="0" textFill="#fcfcfc" GridPane.columnIndex="1" GridPane.rowIndex="1" />
<Label prefHeight="17.0" prefWidth="130.0" text="Passion Fruit Crop" textFill="#12a65c" GridPane.rowIndex="2" />
<Label fx:id="passionFruitCropQ" text="0" textFill="#fcfafa" GridPane.columnIndex="1" GridPane.rowIndex="2" />
<Label prefHeight="17.0" prefWidth="130.0" text="Grape Crop" textFill="#12a65c" GridPane.rowIndex="4" />
<Label fx:id="grapeCropQ" text="0" textFill="WHITE" GridPane.columnIndex="1" GridPane.rowIndex="4" />
<Label text="Irrigation" textFill="#2dc6f5" GridPane.rowIndex="8" />
<Label fx:id="irrigationQ" text="0" textFill="#fffafa" GridPane.columnIndex="1" GridPane.rowIndex="8" />
<Label text="Tractor" textFill="#2dc6f5" GridPane.rowIndex="9" />
<Label fx:id="tractorQ" text="0" textFill="#fffafa" GridPane.columnIndex="1" GridPane.rowIndex="9" />
</children>
</GridPane>
<Button fx:id="goToFarm" layoutX="329.0" layoutY="757.0" mnemonicParsing="false" onAction="#changeScreen" text="Return To Farm">
<font>
<Font name="Avenir Next Bold" size="13.0" />
</font>
</Button>
<Button fx:id="goToMarket" layoutX="335.0" layoutY="14.0" mnemonicParsing="false" onAction="#changeScreenToMarket" text="Go to Market">
<font>
<Font name="Avenir Next Bold" size="13.0" />
</font>
</Button>
<Label fx:id="inventoryCapacity" alignment="CENTER" layoutX="201.0" layoutY="578.0" prefHeight="37.0" prefWidth="297.0">
<font>
<Font name="Avenir Next Bold" size="19.0" />
</font>
</Label>
<Button fx:id="raspberryPlant" layoutX="278.0" layoutY="272.0" mnemonicParsing="false" onAction="#plant" text="Plant" />
<Button fx:id="strawberryPlant" layoutX="278.0" layoutY="240.0" mnemonicParsing="false" onAction="#plant" text="Plant" />
<Button fx:id="passionPlant" layoutX="278.0" layoutY="305.0" mnemonicParsing="false" onAction="#plant" text="Plant" />
<Button fx:id="grapePlant" layoutX="278.0" layoutY="375.0" mnemonicParsing="false" onAction="#plant" text="Plant" />
<Button fx:id="watermelonPlant" layoutX="278.0" layoutY="438.0" mnemonicParsing="false" onAction="#plant" text="Plant" />
<Button fx:id="pineapplePlant" layoutX="278.0" layoutY="470.0" mnemonicParsing="false" onAction="#plant" text="Plant" />
<Button fx:id="dragonPlant" layoutX="278.0" layoutY="339.0" mnemonicParsing="false" onAction="#plant" text="Plant" />
<Button fx:id="beanPlant" layoutX="278.0" layoutY="406.0" mnemonicParsing="false" onAction="#plant" text="Plant" />
</children>
</AnchorPane>