-
Notifications
You must be signed in to change notification settings - Fork 0
/
member_add.fxml
51 lines (49 loc) · 2.49 KB
/
member_add.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
<?xml version="1.0" encoding="UTF-8"?>
<?import com.jfoenix.controls.JFXButton?>
<?import com.jfoenix.controls.JFXTextField?>
<?import javafx.geometry.Insets?>
<?import javafx.scene.layout.AnchorPane?>
<?import javafx.scene.layout.HBox?>
<?import javafx.scene.layout.VBox?>
<AnchorPane id="AnchorPane" fx:id="rootPane" prefHeight="264.0" prefWidth="364.0" xmlns="http://javafx.com/javafx/8.0.171" xmlns:fx="http://javafx.com/fxml/1" fx:controller="javafxapplication12.FXMLDocumentController">
<children>
<VBox prefHeight="325.0" prefWidth="365.0" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
<children>
<JFXTextField fx:id="name" labelFloat="true" promptText="Name">
<VBox.margin>
<Insets bottom="10.0" left="10.0" right="10.0" top="20.0" />
</VBox.margin>
</JFXTextField>
<JFXTextField fx:id="id" labelFloat="true" layoutX="20.0" layoutY="30.0" promptText="Member ID">
<padding>
<Insets bottom="10.0" left="10.0" right="10.0" top="20.0" />
</padding>
</JFXTextField>
<JFXTextField fx:id="mobile" labelFloat="true" layoutX="10.0" layoutY="65.0" promptText="Mobile">
<padding>
<Insets bottom="10.0" left="10.0" right="10.0" top="20.0" />
</padding>
</JFXTextField>
<JFXTextField fx:id="email" labelFloat="true" layoutX="10.0" layoutY="102.0" promptText="Email">
<padding>
<Insets bottom="10.0" left="10.0" right="10.0" top="20.0" />
</padding>
</JFXTextField>
<HBox prefHeight="64.0" prefWidth="355.0">
<children>
<JFXButton fx:id="saveButton" onAction="#addmember" prefHeight="78.0" prefWidth="176.0" stylesheets="@addmember.css" text="save">
<HBox.margin>
<Insets top="10.0" />
</HBox.margin>
</JFXButton>
<JFXButton fx:id="cancelButton" layoutX="10.0" layoutY="10.0" onAction="#cancel" prefHeight="74.0" prefWidth="189.0" stylesheets="@addmember.css" text="cancel">
<HBox.margin>
<Insets top="10.0" />
</HBox.margin>
</JFXButton>
</children>
</HBox>
</children>
</VBox>
</children>
</AnchorPane>