forked from NganeEmmanuel/Java-Projects
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtransaction-view.fxml
More file actions
153 lines (151 loc) · 14.7 KB
/
Copy pathtransaction-view.fxml
File metadata and controls
153 lines (151 loc) · 14.7 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
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
<?xml version="1.0" encoding="UTF-8"?>
<?import javafx.scene.control.Button?>
<?import javafx.scene.control.Label?>
<?import javafx.scene.control.Separator?>
<?import javafx.scene.control.Tab?>
<?import javafx.scene.control.TabPane?>
<?import javafx.scene.control.TableColumn?>
<?import javafx.scene.control.TableView?>
<?import javafx.scene.control.TextField?>
<?import javafx.scene.layout.AnchorPane?>
<?import javafx.scene.layout.BorderPane?>
<?import javafx.scene.text.Font?>
<AnchorPane prefHeight="448.0" prefWidth="769.0" xmlns="http://javafx.com/javafx/21" xmlns:fx="http://javafx.com/fxml/1" fx:controller="com.bankmanagement.bankmanagement.controller.TransactionController">
<children>
<AnchorPane layoutX="174.0" layoutY="7.0" prefHeight="448.0" prefWidth="769.0" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
<children>
<AnchorPane layoutY="63.0" prefHeight="448.0" prefWidth="769.0" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
<children>
<TabPane layoutX="33.0" layoutY="24.0" prefHeight="448.0" prefWidth="769.0" tabClosingPolicy="UNAVAILABLE" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
<tabs>
<Tab text="All Transactions">
<content>
<AnchorPane minHeight="0.0" minWidth="0.0" prefHeight="171.0" prefWidth="442.0">
<children>
<AnchorPane layoutX="87.0" layoutY="56.0" prefHeight="419.0" prefWidth="769.0" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
<children>
<BorderPane layoutX="144.0" layoutY="76.0" prefHeight="419.0" prefWidth="769.0" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
<left>
<AnchorPane prefHeight="419.0" prefWidth="256.0" BorderPane.alignment="CENTER">
<children>
<TableView fx:id="transactionTable" layoutY="58.0" onMouseClicked="#ShowTransactionDetails" prefHeight="419.0" prefWidth="256.0" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
<columns>
<TableColumn fx:id="id" prefWidth="105.0" text="ID" />
<TableColumn fx:id="transactionType" prefWidth="86.0" text="Type" />
<TableColumn fx:id="transactionStatus" prefWidth="64.0" text="Status" />
</columns>
</TableView>
</children>
</AnchorPane>
</left>
<center>
<AnchorPane prefHeight="200.0" prefWidth="200.0" BorderPane.alignment="CENTER">
<children>
<AnchorPane layoutX="119.0" layoutY="48.0" prefHeight="419.0" prefWidth="513.0" style="-fx-background-color: white;" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
<children>
<Label layoutX="214.0" layoutY="4.0" text="Account Info">
<font>
<Font name="System Bold" size="14.0" />
</font>
</Label>
<Label layoutX="98.0" layoutY="40.0" text="Account Number :" />
<Label layoutX="100.0" layoutY="76.0" text="Last Updated :" />
<Label layoutX="100.0" layoutY="116.0" text="Status :" />
<Label layoutX="203.0" layoutY="147.0" text="Transaction Info">
<font>
<Font name="System Bold" size="14.0" />
</font>
</Label>
<Label layoutX="98.0" layoutY="201.0" text="Transaction Number : " />
<Label layoutX="98.0" layoutY="237.0" text="Transaction Type : " />
<Label layoutX="97.0" layoutY="302.0" text="Transaction Date: : " />
<Label layoutX="100.0" layoutY="271.0" text="Amount :" />
<Label layoutX="100.0" layoutY="336.0" text="Transaction Status :" />
<Label fx:id="accountNumberLabel" layoutX="243.0" layoutY="40.0" text="00000000000000000" />
<Label fx:id="lastUpdated" layoutX="241.0" layoutY="76.0" text="12 / 12/ 2023" />
<Label fx:id="accountStatusLabel" layoutX="241.0" layoutY="116.0" text="Active" />
<Label fx:id="transactionIdLabel" layoutX="244.0" layoutY="201.0" text="00000000000000000" />
<Label fx:id="transactionDate" layoutX="244.0" layoutY="302.0" text="12 / 12/ 2023" />
<Label fx:id="transactionStatusLabel" layoutX="244.0" layoutY="336.0" text="Active" />
<Label fx:id="transactionAmount" layoutX="244.0" layoutY="271.0" text="200, 000" />
<Label fx:id="transactionTypeLabel" layoutX="246.0" layoutY="237.0" text="Deposit" />
</children>
</AnchorPane>
</children>
</AnchorPane>
</center>
</BorderPane>
</children>
</AnchorPane>
</children>
</AnchorPane>
</content>
</Tab>
<Tab text="Deposits">
<content>
<AnchorPane minHeight="0.0" minWidth="0.0" prefHeight="180.0" prefWidth="200.0">
<children>
<AnchorPane layoutX="193.0" layoutY="31.0" prefHeight="419.0" prefWidth="769.0" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
<children>
<AnchorPane layoutX="265.0" layoutY="14.0" maxHeight="375.0" maxWidth="323.0" minHeight="375.0" minWidth="375.0" prefHeight="375.0" prefWidth="323.0" style="-fx-background-color: white;" styleClass="main-header" stylesheets="@css/accountView.css">
<children>
<Label layoutX="105.0" layoutY="8.0" prefHeight="37.0" prefWidth="323.0" style="-fx-alignment: center;" text="Deposit Funds" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
<font>
<Font name="System Bold" size="17.0" />
</font>
</Label>
<Separator layoutX="62.0" layoutY="42.0" prefWidth="200.0" AnchorPane.leftAnchor="62.0" AnchorPane.rightAnchor="61.0" AnchorPane.topAnchor="42.0" />
<Label layoutX="27.0" layoutY="63.0" text="Account Number :" />
<TextField fx:id="depoAccountNumber" layoutX="144.0" layoutY="59.0" promptText="00000000000000" style="-fx-background-color: white;" styleClass="text-field" stylesheets="@css/login.css" />
<Label layoutX="29.0" layoutY="99.0" text="Amount :" />
<TextField fx:id="depoAmount" layoutX="146.0" layoutY="95.0" promptText="100,000" style="-fx-background-color: white;" styleClass="text-field" stylesheets="@css/login.css" />
<Label layoutX="29.0" layoutY="134.0" text="Name : " />
<TextField fx:id="depositor" layoutX="146.0" layoutY="130.0" promptText="name of depositor" style="-fx-background-color: white;" styleClass="text-field" stylesheets="@css/login.css" />
<Label layoutX="27.0" layoutY="179.0" text="Reason : " />
<TextField fx:id="depoReason" layoutX="144.0" layoutY="175.0" promptText="reason for deposit" style="-fx-background-color: white;" styleClass="text-field" stylesheets="@css/login.css" />
<Button layoutX="136.0" layoutY="336.0" mnemonicParsing="false" onMouseClicked="#makeDeposit" styleClass="filter-applyBtn" stylesheets="@css/accountView.css" text="Deposit" />
<Label fx:id="depositStatusMsg" layoutX="137.0" layoutY="263.0" prefHeight="17.0" prefWidth="108.0" style="-fx-alignment: center;" textFill="#14c600" />
</children>
</AnchorPane>
</children>
</AnchorPane>
</children>
</AnchorPane>
</content>
</Tab>
<Tab text="Wthdrawal">
<content>
<AnchorPane minHeight="0.0" minWidth="0.0" prefHeight="180.0" prefWidth="200.0">
<children>
<AnchorPane layoutX="347.0" layoutY="117.0" prefHeight="419.0" prefWidth="769.0" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0" />
<AnchorPane layoutX="275.0" layoutY="24.0" maxHeight="375.0" maxWidth="323.0" minHeight="375.0" minWidth="375.0" prefHeight="375.0" prefWidth="323.0" style="-fx-background-color: white;" styleClass="main-header" stylesheets="@css/accountView.css">
<children>
<Label layoutX="105.0" layoutY="8.0" prefHeight="37.0" prefWidth="323.0" style="-fx-alignment: center;" text="Withdraw Funds" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
<font>
<Font name="System Bold" size="17.0" />
</font>
</Label>
<Separator layoutX="62.0" layoutY="42.0" prefWidth="200.0" AnchorPane.leftAnchor="62.0" AnchorPane.rightAnchor="61.0" AnchorPane.topAnchor="42.0" />
<Label layoutX="27.0" layoutY="63.0" text="Account Number :" />
<TextField fx:id="withAccountNumber" layoutX="144.0" layoutY="59.0" promptText="00000000000000" style="-fx-background-color: white;" styleClass="text-field" stylesheets="@css/login.css" />
<Label layoutX="29.0" layoutY="99.0" text="Amount :" />
<TextField fx:id="withAmount" layoutX="146.0" layoutY="95.0" promptText="100,000" style="-fx-background-color: white;" styleClass="text-field" stylesheets="@css/login.css" />
<Label layoutX="29.0" layoutY="134.0" text="Name : " />
<TextField fx:id="withdrawer" layoutX="146.0" layoutY="130.0" promptText="name of withdrawer" style="-fx-background-color: white;" styleClass="text-field" stylesheets="@css/login.css" />
<Label layoutX="27.0" layoutY="192.0" text="Reason : " />
<TextField fx:id="withReason" layoutX="144.0" layoutY="188.0" promptText="reason for withdrawal" style="-fx-background-color: white;" styleClass="text-field" stylesheets="@css/login.css" />
<Button layoutX="155.0" layoutY="336.0" mnemonicParsing="false" onMouseClicked="#makeWithdrawal" styleClass="filter-applyBtn" stylesheets="@css/accountView.css" text="withdraw" />
<Label fx:id="withSuccessMsg" layoutX="91.0" layoutY="270.0" prefHeight="17.0" prefWidth="165.0" style="-fx-alignment: center;" textFill="#03e10e" />
</children>
</AnchorPane>
</children>
</AnchorPane>
</content>
</Tab>
</tabs>
</TabPane>
</children></AnchorPane>
</children>
</AnchorPane>
</children>
</AnchorPane>