modifyProfile.fxml 3.85 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
<?xml version="1.0" encoding="UTF-8"?>

<?import javafx.scene.control.Button?>
<?import javafx.scene.control.TextField?>
<?import javafx.scene.image.ImageView?>
<?import javafx.scene.layout.BorderPane?>
<?import javafx.scene.layout.Pane?>
<?import javafx.scene.shape.Rectangle?>
<?import javafx.scene.text.Font?>
<?import javafx.scene.text.Text?>

<?import javafx.scene.control.DatePicker?>
13
<BorderPane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="500.0" prefWidth="889.0" style="-fx-background-color: white;" xmlns="http://javafx.com/javafx/8.0.172-ea" xmlns:fx="http://javafx.com/fxml/1" fx:controller="main.java.client.main.controller.FXModifyProfile">
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
   <bottom>
      <Pane prefHeight="50.0" prefWidth="200.0" BorderPane.alignment="CENTER" />
   </bottom>
   <top>
      <Pane prefHeight="100.0" prefWidth="200.0" BorderPane.alignment="CENTER">
         <children>
            <Text fx:id="loginTextAppTitle" layoutX="327.0" layoutY="64.0" strokeType="OUTSIDE" strokeWidth="0.0" text="Projet Baleine">
               <font>
                  <Font name="System Bold" size="36.0" />
               </font>
            </Text>
         </children></Pane>
   </top>
   <left>
      <Pane prefHeight="200.0" prefWidth="200.0" BorderPane.alignment="CENTER" />
   </left>
   <right>
      <Pane prefHeight="200.0" prefWidth="200.0" BorderPane.alignment="CENTER" />
   </right>
   <center>
      <Pane prefHeight="350.0" prefWidth="489.0" BorderPane.alignment="CENTER">
         <children>
            <Rectangle arcHeight="5.0" arcWidth="5.0" fill="#fffffa" height="350.0" stroke="BLACK" strokeType="INSIDE" width="489.0" />
            <Text layoutX="170.0" layoutY="20.0" strokeType="OUTSIDE" strokeWidth="0.0" text="Création de compte">
               <font>
                  <Font name="System Bold" size="16.0" />
               </font>
            </Text>
            <Text layoutX="51.0" layoutY="69.0" strokeType="OUTSIDE" strokeWidth="0.0" text="Nom" />
            <TextField fx:id="modifyProfileTextFieldName" layoutX="51.0" layoutY="73.0" />
            <DatePicker fx:id="modifyProfileTextFieldBirthDate" layoutX="51.0" layoutY="129.0" />
            <TextField fx:id="modifyProfileTextFieldPseudo" layoutX="51.0" layoutY="183.0" />
            <Text layoutX="51.0" layoutY="125.0" strokeType="OUTSIDE" strokeWidth="0.0" text="Date de naissance" />
            <Text layoutX="50.0" layoutY="179.0" strokeType="OUTSIDE" strokeWidth="0.0" text="Pseudo* (20 caractères maximum)" />
            <Text layoutX="282.0" layoutY="130.0" strokeType="OUTSIDE" strokeWidth="0.0" text="Avatar" />
            <Button fx:id="modifyProfileButtonImportImage" layoutX="335.0" layoutY="113.0" mnemonicParsing="false" onMouseClicked="#handleButtonClick" text="Importer une image" />
            <TextField fx:id="modifyProfileTextFieldPassword" layoutX="51.0" layoutY="240.0" />
            <Text layoutX="53.0" layoutY="233.0" strokeType="OUTSIDE" strokeWidth="0.0" text="Mot de passe*" />
            <Text layoutX="282.0" layoutY="69.0" strokeType="OUTSIDE" strokeWidth="0.0" text="Prénom" />
            <TextField fx:id="modifyProfileTextFieldFirstName" layoutX="282.0" layoutY="73.0" />
            <ImageView fitHeight="150.0" fitWidth="125.0" layoutX="282.0" layoutY="145.0" pickOnBounds="true" preserveRatio="true" />
            <Button fx:id="modifyProfileButtonCancel" layoutX="52.0" layoutY="295.0" mnemonicParsing="false" onMouseClicked="#handleButtonClick" text="Annuler" />
            <Button fx:id="modifyProfileButtonImportProfile" layoutX="322.0" layoutY="295.0" mnemonicParsing="false" onMouseClicked="#handleButtonClick" text="Importer" />
            <Button fx:id="modifyProfileButtonValidate" layoutX="404.0" layoutY="295.0" mnemonicParsing="false" onMouseClicked="#handleButtonClick" text="Valider" />
         </children>
      </Pane>
   </center>
</BorderPane>