-
Notifications
You must be signed in to change notification settings - Fork 0
/
process.fxml
112 lines (110 loc) · 5.63 KB
/
process.fxml
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
<?xml version="1.0" encoding="UTF-8"?>
<?import javafx.geometry.Insets?>
<?import javafx.scene.control.Button?>
<?import javafx.scene.control.ChoiceBox?>
<?import javafx.scene.control.Label?>
<?import javafx.scene.control.SplitPane?>
<?import javafx.scene.control.TableColumn?>
<?import javafx.scene.control.TableView?>
<?import javafx.scene.control.TextField?>
<?import javafx.scene.layout.HBox?>
<?import javafx.scene.layout.VBox?>
<?import javafx.scene.text.Font?>
<SplitPane dividerPositions="0.650990099009901" maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="595.0" prefWidth="810.0" xmlns="http://javafx.com/javafx/9.0.1" xmlns:fx="http://javafx.com/fxml/1" fx:controller="sample.ProcessController">
<items>
<VBox alignment="TOP_CENTER" prefHeight="594.0" prefWidth="430.0">
<children>
<HBox prefHeight="70.0" prefWidth="523.0">
<children>
<VBox prefHeight="113.0" prefWidth="274.0">
<children>
<HBox prefHeight="36.0" prefWidth="275.0" spacing="5.0">
<children>
<Label text="Allocation Algorithm">
<font>
<Font size="16.0" />
</font>
</Label>
<ChoiceBox fx:id="choicebox" prefHeight="26.0" prefWidth="110.0" />
</children>
<padding>
<Insets left="10.0" top="10.0" />
</padding>
</HBox>
<HBox maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="38.0" prefWidth="262.0" spacing="5.0">
<children>
<Label prefHeight="26.0" prefWidth="102.0" text="Process ID ">
<font>
<Font size="16.0" />
</font>
</Label>
<TextField fx:id="processidinput" prefHeight="26.0" prefWidth="156.0" promptText="Enter process id" />
</children>
<VBox.margin>
<Insets />
</VBox.margin>
<padding>
<Insets left="10.0" right="10.0" top="10.0" />
</padding>
</HBox>
<HBox maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="38.0" prefWidth="263.0" spacing="5.0">
<children>
<Label text="Process Size ">
<font>
<Font size="16.0" />
</font>
</Label>
<TextField fx:id="processsizeinput" promptText="Enter process size" />
</children>
<padding>
<Insets left="10.0" top="10.0" />
</padding>
</HBox>
</children>
</VBox>
<Button fx:id="allocatebtn" mnemonicParsing="false" onAction="#allocatebtnclicked" prefHeight="56.0" prefWidth="92.0" text="Allocate">
<HBox.margin>
<Insets top="50.0" />
</HBox.margin>
</Button>
<Button fx:id="deallocatebtn" alignment="CENTER" disable="true" layoutX="324.0" layoutY="20.0" mnemonicParsing="false" onAction="#deallocatebtnclicked" prefHeight="56.0" prefWidth="92.0" text="Deallocate" textAlignment="JUSTIFY">
<HBox.margin>
<Insets left="60.0" top="50.0" />
</HBox.margin>
</Button>
</children>
</HBox>
<TableView fx:id="processtable" maxHeight="-Infinity" maxWidth="-Infinity" onMouseClicked="#tableclicked" prefHeight="390.0" prefWidth="503.0">
<columns>
<TableColumn fx:id="processidCol" prefWidth="251.1999419927597" text="Process ID" />
<TableColumn fx:id="processsizeCol" minWidth="0.0" prefWidth="252.0000762939453" text="Process Size" />
</columns>
<VBox.margin>
<Insets bottom="15.0" left="10.0" right="10.0" top="15.0" />
</VBox.margin>
</TableView>
<Button fx:id="btn2" mnemonicParsing="false" onAction="#btn2clicked" prefHeight="37.0" prefWidth="171.0" text="Return to Holes Screen" />
</children>
</VBox>
<VBox alignment="CENTER" prefHeight="594.0" prefWidth="375.0">
<children>
<Label text="Memory Scheme">
<font>
<Font name="System Bold Italic" size="16.0" />
</font>
<VBox.margin>
<Insets bottom="10.0" />
</VBox.margin>
</Label>
<VBox fx:id="vboxmemory" alignment="TOP_CENTER" fillWidth="false" maxWidth="-Infinity" prefHeight="500.0" prefWidth="200.0">
<VBox.margin>
<Insets />
</VBox.margin>
<padding>
<Insets right="50.0" />
</padding>
</VBox>
</children>
</VBox>
</items>
</SplitPane>