-
Notifications
You must be signed in to change notification settings - Fork 0
/
Employee.fxml
79 lines (77 loc) · 4.99 KB
/
Employee.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
<?xml version="1.0" encoding="UTF-8"?>
<?import javafx.scene.control.Button?>
<?import javafx.scene.control.ContextMenu?>
<?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 id="AnchorPane" prefHeight="592.0" prefWidth="699.0" stylesheets="@DarkTheme.css" xmlns="http://javafx.com/javafx/8.0.102" xmlns:fx="http://javafx.com/fxml/1" fx:controller="blood.management.EmployeeController">
<children>
<SplitPane dividerPositions="0.27911275415896486" layoutX="338.0" layoutY="90.0" orientation="VERTICAL" prefHeight="543.0" prefWidth="699.0" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
<items>
<AnchorPane minHeight="0.0" minWidth="0.0" prefHeight="100.0" prefWidth="160.0">
<children>
<GridPane layoutX="100.0" layoutY="14.0" prefHeight="180.0" prefWidth="697.0" style="-fx-background-color: #000000;" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
<columnConstraints>
<ColumnConstraints hgrow="SOMETIMES" maxWidth="212.0" minWidth="10.0" prefWidth="203.0" />
<ColumnConstraints hgrow="SOMETIMES" maxWidth="234.0" minWidth="10.0" prefWidth="178.0" />
<ColumnConstraints hgrow="SOMETIMES" maxWidth="316.0" minWidth="10.0" prefWidth="316.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>
<children>
<Label alignment="CENTER_RIGHT" prefHeight="58.0" prefWidth="233.0" text="Name :" GridPane.rowIndex="2">
<font>
<Font name="System Bold" size="14.0" />
</font>
</Label>
<Label alignment="CENTER_RIGHT" prefHeight="58.0" prefWidth="233.0" text="Contact :" GridPane.rowIndex="3">
<font>
<Font name="System Bold" size="14.0" />
</font>
</Label>
<TextField fx:id="eId" prefHeight="45.0" prefWidth="348.0" GridPane.columnIndex="1" GridPane.rowIndex="1" />
<TextField fx:id="eContact" prefHeight="45.0" prefWidth="348.0" GridPane.columnIndex="1" GridPane.rowIndex="3" />
<Label prefHeight="29.0" prefWidth="459.0" text=" Add Employee" GridPane.columnSpan="2">
<font>
<Font name="System Bold" size="24.0" />
</font>
</Label>
<Button fx:id="addBtn" mnemonicParsing="false" onAction="#addEmployee" prefHeight="48.0" prefWidth="82.0" text="Add" GridPane.columnIndex="1" GridPane.rowIndex="4" />
<TextField fx:id="eName" prefHeight="45.0" prefWidth="348.0" GridPane.columnIndex="1" GridPane.rowIndex="2" />
<Label alignment="CENTER_RIGHT" prefHeight="58.0" prefWidth="233.0" text="EID :" GridPane.rowIndex="1">
<font>
<Font name="System Bold" size="14.0" />
</font>
</Label>
</children>
</GridPane>
</children>
</AnchorPane>
<AnchorPane prefHeight="311.0" prefWidth="697.0">
<children>
<TableView fx:id="eTableView" layoutY="-14.0" prefHeight="422.0" prefWidth="697.0" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
<contextMenu>
<ContextMenu>
<items>
<MenuItem mnemonicParsing="false" onAction="#DeleteEmployee" text="Delete" />
</items>
</ContextMenu>
</contextMenu></TableView>
</children>
</AnchorPane>
</items>
</SplitPane>
</children>
</AnchorPane>