-
Notifications
You must be signed in to change notification settings - Fork 0
/
AddbloodSence.fxml
107 lines (105 loc) · 6.65 KB
/
AddbloodSence.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
<?xml version="1.0" encoding="UTF-8"?>
<?import javafx.scene.control.Button?>
<?import javafx.scene.control.ComboBox?>
<?import javafx.scene.control.ContextMenu?>
<?import javafx.scene.control.DatePicker?>
<?import javafx.scene.control.Label?>
<?import javafx.scene.control.MenuItem?>
<?import javafx.scene.control.SplitPane?>
<?import javafx.scene.control.TableView?>
<?import javafx.scene.control.TextField?>
<?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 prefHeight="519.0" prefWidth="750.0" stylesheets="@DarkTheme.css" xmlns="http://javafx.com/javafx/8.0.102" xmlns:fx="http://javafx.com/fxml/1" fx:controller="blood.management.AddbloodSence">
<children>
<SplitPane dividerPositions="0.42166344294003866" orientation="VERTICAL" prefHeight="740.0" prefWidth="747.0" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
<items>
<GridPane prefHeight="167.0" prefWidth="619.0" style="-fx-background-color: #000000;">
<columnConstraints>
<ColumnConstraints hgrow="SOMETIMES" maxWidth="372.0" minWidth="10.0" prefWidth="311.0" />
<ColumnConstraints hgrow="SOMETIMES" maxWidth="343.0" minWidth="10.0" prefWidth="308.0" />
<ColumnConstraints hgrow="SOMETIMES" maxWidth="343.0" minWidth="10.0" prefWidth="308.0" />
<ColumnConstraints hgrow="SOMETIMES" maxWidth="343.0" minWidth="10.0" prefWidth="308.0" />
<ColumnConstraints hgrow="SOMETIMES" maxWidth="343.0" minWidth="10.0" prefWidth="308.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>
<children>
<Label alignment="CENTER_RIGHT" prefHeight="117.0" prefWidth="310.0" text="Donor Name :" GridPane.rowIndex="2">
<font>
<Font name="System Bold" size="14.0" />
</font>
</Label>
<TextField fx:id="aName" prefHeight="31.0" prefWidth="154.0" GridPane.columnIndex="1" GridPane.rowIndex="2" />
<Label prefHeight="56.0" prefWidth="620.0" text=" Add new Blood" GridPane.columnSpan="2">
<font>
<Font name="System Bold" size="18.0" />
</font>
</Label>
<Label alignment="CENTER_RIGHT" prefHeight="117.0" prefWidth="310.0" text="Gender :" GridPane.columnIndex="2" GridPane.rowIndex="1">
<font>
<Font name="System Bold" size="14.0" />
</font>
</Label>
<Label alignment="CENTER_RIGHT" prefHeight="117.0" prefWidth="310.0" text="Blood Group :" GridPane.rowIndex="3">
<font>
<Font name="System Bold" size="14.0" />
</font>
</Label>
<Label alignment="CENTER_RIGHT" prefHeight="117.0" prefWidth="310.0" text="Address :" GridPane.columnIndex="2" GridPane.rowIndex="2">
<font>
<Font name="System Bold" size="14.0" />
</font>
</Label>
<TextField fx:id="aAddress" prefHeight="30.0" prefWidth="154.0" GridPane.columnIndex="3" GridPane.rowIndex="2" />
<DatePicker fx:id="date" prefHeight="30.0" prefWidth="154.0" GridPane.columnIndex="1" GridPane.rowIndex="1" />
<Label alignment="CENTER_RIGHT" prefHeight="117.0" prefWidth="310.0" text="Date :" GridPane.rowIndex="1">
<font>
<Font name="System Bold" size="14.0" />
</font>
</Label>
<Button fx:id="addBtn" mnemonicParsing="false" onAction="#addBlood" prefHeight="90.0" prefWidth="154.0" text="Add" GridPane.columnIndex="2" GridPane.rowIndex="5" />
<TextField fx:id="aAmount" prefHeight="30.0" prefWidth="154.0" GridPane.columnIndex="3" GridPane.rowIndex="4" />
<Label alignment="CENTER_RIGHT" prefHeight="117.0" prefWidth="310.0" text="Amount :" GridPane.columnIndex="2" GridPane.rowIndex="4">
<font>
<Font name="System Bold" size="14.0" />
</font>
</Label>
<Label alignment="CENTER_RIGHT" prefHeight="117.0" prefWidth="310.0" text="EID :" GridPane.columnIndex="2" GridPane.rowIndex="3">
<font>
<Font name="System Bold" size="14.0" />
</font>
</Label>
<Label alignment="CENTER_RIGHT" prefHeight="117.0" prefWidth="310.0" text="QTY :" GridPane.rowIndex="4">
<font>
<Font name="System Bold" size="14.0" />
</font>
</Label>
<TextField fx:id="aQty" prefHeight="31.0" prefWidth="154.0" GridPane.columnIndex="1" GridPane.rowIndex="4" />
<ComboBox fx:id="aEid" prefHeight="26.0" prefWidth="150.0" GridPane.columnIndex="3" GridPane.rowIndex="3" />
<ComboBox fx:id="aGender" prefHeight="25.0" prefWidth="184.0" GridPane.columnIndex="3" GridPane.rowIndex="1" />
<ComboBox fx:id="aGroup" prefWidth="150.0" GridPane.columnIndex="1" GridPane.rowIndex="3" />
</children>
</GridPane>
<TableView fx:id="atableView" prefHeight="200.0" prefWidth="200.0">
<contextMenu>
<ContextMenu>
<items>
<MenuItem mnemonicParsing="false" onAction="#mUpdateDonor" text="Update Donor" />
<MenuItem mnemonicParsing="false" onAction="#mDeleteDonor" text="Delete Donor" />
</items>
</ContextMenu>
</contextMenu></TableView>
</items>
</SplitPane>
</children>
</AnchorPane>