243 lines
17 KiB
XML
243 lines
17 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<?import javafx.scene.control.Button?>
|
|
<?import javafx.scene.control.DatePicker?>
|
|
<?import javafx.scene.control.RadioButton?>
|
|
<?import javafx.scene.control.TextField?>
|
|
<?import javafx.scene.control.ToggleGroup?>
|
|
<?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?>
|
|
<?import javafx.scene.text.Text?>
|
|
|
|
<AnchorPane fx:id="AnchorPaneAjouterClientPersonne" maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="538.0" prefWidth="796.0" styleClass="AnchorPane-Default" stylesheets="@../../Public/CSS/StylePrincipal.css" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0" xmlns="http://javafx.com/javafx/22" xmlns:fx="http://javafx.com/fxml/1" fx:controller="Controllers.Client.AjouterClientPersonneController">
|
|
<children>
|
|
<AnchorPane fx:id="AnchorPaneAjouterCltPersonne" prefHeight="539.0" prefWidth="796.0" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
|
|
<children>
|
|
<AnchorPane prefHeight="179.0" prefWidth="766.0" styleClass="panel-default" AnchorPane.leftAnchor="15.0" AnchorPane.rightAnchor="15.0" AnchorPane.topAnchor="3.0">
|
|
<children>
|
|
<AnchorPane prefHeight="38.0" prefWidth="200.0" styleClass="panel-default-titre" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
|
|
<children>
|
|
<Text fontSmoothingType="LCD" layoutX="22.0" layoutY="24.0" strokeType="OUTSIDE" strokeWidth="0.0" text="Information du compte">
|
|
<font>
|
|
<Font name="System Bold" size="14.0" />
|
|
</font>
|
|
</Text>
|
|
</children>
|
|
</AnchorPane>
|
|
<GridPane layoutX="50.0" layoutY="54.0" prefHeight="61.0" prefWidth="599.0" AnchorPane.leftAnchor="80.0" AnchorPane.rightAnchor="80.0" AnchorPane.topAnchor="43.0">
|
|
<children>
|
|
<Text strokeType="OUTSIDE" strokeWidth="0.0" text="Code">
|
|
<font>
|
|
<Font name="Verdana" size="12.0" />
|
|
</font>
|
|
</Text>
|
|
<TextField fx:id="AjouterClientCode" prefHeight="35.0" prefWidth="122.0" GridPane.columnIndex="1" />
|
|
<Text fx:id="ErreurCode" fill="#f20606" strokeType="OUTSIDE" strokeWidth="0.0" GridPane.columnIndex="1" GridPane.rowIndex="1">
|
|
<font>
|
|
<Font name="System Bold" size="12.0" />
|
|
</font>
|
|
</Text>
|
|
<TextField fx:id="AjouterClientCIN" prefHeight="35.0" prefWidth="123.0" GridPane.columnIndex="4" />
|
|
<Text strokeType="OUTSIDE" strokeWidth="0.0" text="CIN" GridPane.columnIndex="3">
|
|
<font>
|
|
<Font name="Verdana" size="12.0" />
|
|
</font>
|
|
</Text>
|
|
<Text fx:id="ErreurCIN" fill="#f20606" strokeType="OUTSIDE" strokeWidth="0.0" GridPane.columnIndex="4" GridPane.rowIndex="1">
|
|
<font>
|
|
<Font name="System Bold" size="12.0" />
|
|
</font>
|
|
</Text>
|
|
</children>
|
|
<columnConstraints>
|
|
<ColumnConstraints hgrow="SOMETIMES" maxWidth="56.0" minWidth="10.0" prefWidth="56.0" />
|
|
<ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="163.0" />
|
|
<ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="145.0" />
|
|
<ColumnConstraints hgrow="SOMETIMES" maxWidth="54.0" minWidth="10.0" prefWidth="54.0" />
|
|
<ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="163.0" />
|
|
</columnConstraints>
|
|
<rowConstraints>
|
|
<RowConstraints maxHeight="62.0" minHeight="10.0" prefHeight="45.0" vgrow="SOMETIMES" />
|
|
<RowConstraints maxHeight="44.0" minHeight="10.0" prefHeight="20.0" vgrow="SOMETIMES" />
|
|
</rowConstraints>
|
|
</GridPane>
|
|
<GridPane layoutX="56.0" layoutY="105.0" prefHeight="61.0" prefWidth="428.0" AnchorPane.leftAnchor="56.0" AnchorPane.rightAnchor="284.0" AnchorPane.topAnchor="105.0">
|
|
<children>
|
|
<Text strokeType="OUTSIDE" strokeWidth="0.0" text="Nom complet">
|
|
<font>
|
|
<Font name="Verdana" size="12.0" />
|
|
</font>
|
|
</Text>
|
|
<TextField fx:id="AjouterClientNomComplet" prefHeight="35.0" prefWidth="264.0" GridPane.columnIndex="1" />
|
|
<Text fx:id="ErreurNomComplet" fill="#f20606" strokeType="OUTSIDE" strokeWidth="0.0" GridPane.columnIndex="1" GridPane.rowIndex="1">
|
|
<font>
|
|
<Font name="System Bold" size="12.0" />
|
|
</font>
|
|
</Text>
|
|
</children>
|
|
<columnConstraints>
|
|
<ColumnConstraints hgrow="SOMETIMES" maxWidth="90.0" minWidth="10.0" prefWidth="90.0" />
|
|
<ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="314.0" />
|
|
</columnConstraints>
|
|
<rowConstraints>
|
|
<RowConstraints maxHeight="45.0" minHeight="10.0" prefHeight="38.0" vgrow="SOMETIMES" />
|
|
<RowConstraints maxHeight="23.0" minHeight="1.0" prefHeight="23.0" vgrow="SOMETIMES" />
|
|
</rowConstraints>
|
|
</GridPane>
|
|
</children>
|
|
</AnchorPane>
|
|
<AnchorPane prefHeight="331.0" prefWidth="766.0" styleClass="panel-default" AnchorPane.bottomAnchor="3.0" AnchorPane.leftAnchor="15.0" AnchorPane.rightAnchor="15.0" AnchorPane.topAnchor="205.0">
|
|
<children>
|
|
<AnchorPane prefHeight="38.0" prefWidth="200.0" styleClass="panel-default-titre" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
|
|
<children>
|
|
<Text fontSmoothingType="LCD" layoutX="22.0" layoutY="24.0" strokeType="OUTSIDE" strokeWidth="0.0" text="Information du client">
|
|
<font>
|
|
<Font name="System Bold" size="14.0" />
|
|
</font>
|
|
</Text>
|
|
</children>
|
|
</AnchorPane>
|
|
<GridPane layoutX="17.2" layoutY="45.2" prefHeight="278.0" prefWidth="725.0" AnchorPane.bottomAnchor="7.0" AnchorPane.leftAnchor="25.0" AnchorPane.rightAnchor="25.0" AnchorPane.topAnchor="44.0">
|
|
<children>
|
|
<Text strokeType="OUTSIDE" strokeWidth="0.0" text="Prénom">
|
|
<font>
|
|
<Font name="Verdana" size="12.0" />
|
|
</font>
|
|
</Text>
|
|
<TextField fx:id="AjouterClientPrenom" prefHeight="35.0" prefWidth="122.0" GridPane.columnIndex="1" />
|
|
<TextField fx:id="AjouterClientNom" prefHeight="35.0" prefWidth="123.0" GridPane.columnIndex="4" />
|
|
<DatePicker fx:id="AjouterClientNaissance" prefHeight="35.0" GridPane.columnIndex="7" />
|
|
<Text strokeType="OUTSIDE" strokeWidth="0.0" text="Nom" GridPane.columnIndex="3">
|
|
<font>
|
|
<Font name="Verdana" size="12.0" />
|
|
</font>
|
|
</Text>
|
|
<TextField fx:id="AjouterClientTeleFixe" prefHeight="35.0" GridPane.columnIndex="1" GridPane.rowIndex="3" />
|
|
<TextField fx:id="AjouterClientTeleMobile" prefHeight="35.0" GridPane.columnIndex="4" GridPane.rowIndex="3" />
|
|
<Text strokeType="OUTSIDE" strokeWidth="0.0" text="Date naissance" GridPane.columnIndex="6">
|
|
<font>
|
|
<Font name="Verdana" size="12.0" />
|
|
</font>
|
|
</Text>
|
|
<Text strokeType="OUTSIDE" strokeWidth="0.0" text="Sexe" GridPane.columnIndex="6" GridPane.rowIndex="3">
|
|
<font>
|
|
<Font name="Verdana" size="12.0" />
|
|
</font>
|
|
</Text>
|
|
<AnchorPane prefHeight="200.0" prefWidth="200.0" GridPane.columnIndex="7" GridPane.rowIndex="3">
|
|
<children>
|
|
<RadioButton fx:id="AjouterClientSexeHomme" layoutY="17.0" mnemonicParsing="false" text="Homme" AnchorPane.topAnchor="10.0">
|
|
<toggleGroup>
|
|
<ToggleGroup fx:id="groupesexe" />
|
|
</toggleGroup>
|
|
</RadioButton>
|
|
<RadioButton fx:id="AjouterClientSexeFemme" layoutX="87.0" layoutY="17.0" mnemonicParsing="false" text="Femme" toggleGroup="$groupesexe" AnchorPane.topAnchor="10.0" />
|
|
</children>
|
|
</AnchorPane>
|
|
<Text strokeType="OUTSIDE" strokeWidth="0.0" text="Téléphone" GridPane.rowIndex="3">
|
|
<font>
|
|
<Font name="Verdana" size="12.0" />
|
|
</font>
|
|
</Text>
|
|
<Text strokeType="OUTSIDE" strokeWidth="0.0" text="Télé mobile" GridPane.columnIndex="3" GridPane.rowIndex="3">
|
|
<font>
|
|
<Font name="Verdana" size="12.0" />
|
|
</font>
|
|
</Text>
|
|
<Text strokeType="OUTSIDE" strokeWidth="0.0" text="Adresse" GridPane.rowIndex="6">
|
|
<font>
|
|
<Font name="Verdana" size="12.0" />
|
|
</font>
|
|
</Text>
|
|
<Text strokeType="OUTSIDE" strokeWidth="0.0" text="E-mail" GridPane.columnIndex="6" GridPane.rowIndex="6">
|
|
<font>
|
|
<Font name="Verdana" size="12.0" />
|
|
</font>
|
|
</Text>
|
|
<Text strokeType="OUTSIDE" strokeWidth="0.0" text="Code postal" GridPane.columnIndex="3" GridPane.rowIndex="6">
|
|
<font>
|
|
<Font name="Verdana" size="12.0" />
|
|
</font>
|
|
</Text>
|
|
<Text fx:id="ErreurMail" fill="#f20606" strokeType="OUTSIDE" strokeWidth="0.0" GridPane.columnIndex="7" GridPane.rowIndex="7">
|
|
<font>
|
|
<Font name="System Bold" size="12.0" />
|
|
</font>
|
|
</Text>
|
|
<Text fx:id="ErreurAdresse" fill="#f20606" strokeType="OUTSIDE" strokeWidth="0.0" GridPane.columnIndex="1" GridPane.rowIndex="7">
|
|
<font>
|
|
<Font name="System Bold" size="12.0" />
|
|
</font>
|
|
</Text>
|
|
<Text fx:id="ErreurCodePostal" fill="#f20606" strokeType="OUTSIDE" strokeWidth="0.0" GridPane.columnIndex="4" GridPane.rowIndex="7">
|
|
<font>
|
|
<Font name="System Bold" size="12.0" />
|
|
</font>
|
|
</Text>
|
|
<Text fx:id="ErreurPrenom" fill="#f20606" strokeType="OUTSIDE" strokeWidth="0.0" GridPane.columnIndex="1" GridPane.rowIndex="1">
|
|
<font>
|
|
<Font name="System Bold" size="12.0" />
|
|
</font>
|
|
</Text>
|
|
<Text fx:id="ErreurNom" fill="#f20606" strokeType="OUTSIDE" strokeWidth="0.0" GridPane.columnIndex="4" GridPane.rowIndex="1">
|
|
<font>
|
|
<Font name="System Bold" size="12.0" />
|
|
</font>
|
|
</Text>
|
|
<Text fx:id="ErreurTeleMobile" fill="#f20606" strokeType="OUTSIDE" strokeWidth="0.0" GridPane.columnIndex="4" GridPane.rowIndex="4">
|
|
<font>
|
|
<Font name="System Bold" size="12.0" />
|
|
</font>
|
|
</Text>
|
|
<Text fx:id="ErreurTeleFixe" fill="#f20606" strokeType="OUTSIDE" strokeWidth="0.0" GridPane.columnIndex="1" GridPane.rowIndex="4">
|
|
<font>
|
|
<Font name="System Bold" size="12.0" />
|
|
</font>
|
|
</Text>
|
|
<TextField fx:id="AjouterClientAdresse" prefHeight="35.0" prefWidth="166.0" GridPane.columnIndex="1" GridPane.rowIndex="6" />
|
|
<TextField fx:id="AjouterClientCodePostal" prefHeight="35.0" prefWidth="166.0" GridPane.columnIndex="4" GridPane.rowIndex="6" />
|
|
<TextField fx:id="AjouterClientMail" prefHeight="35.0" prefWidth="166.0" GridPane.columnIndex="7" GridPane.rowIndex="6" />
|
|
<Button mnemonicParsing="false" onAction="#AjouterClientPersonneButtonAction" prefHeight="33.0" prefWidth="122.0" styleClass="btn-primary" text="Ajouter" GridPane.columnIndex="4" GridPane.rowIndex="8" />
|
|
<Text fx:id="ErreurNaissance" fill="#f20606" strokeType="OUTSIDE" strokeWidth="0.0" GridPane.columnIndex="7" GridPane.rowIndex="1">
|
|
<font>
|
|
<Font name="System Bold" size="12.0" />
|
|
</font>
|
|
</Text>
|
|
<Text fx:id="ErreurSexe" fill="#f20606" strokeType="OUTSIDE" strokeWidth="0.0" GridPane.columnIndex="7" GridPane.rowIndex="4">
|
|
<font>
|
|
<Font name="System Bold" size="12.0" />
|
|
</font>
|
|
</Text>
|
|
</children>
|
|
<columnConstraints>
|
|
<ColumnConstraints hgrow="SOMETIMES" maxWidth="70.0" minWidth="10.0" prefWidth="68.0" />
|
|
<ColumnConstraints hgrow="SOMETIMES" maxWidth="1.7976931348623157E308" minWidth="10.0" prefWidth="149.0" />
|
|
<ColumnConstraints hgrow="SOMETIMES" maxWidth="40.0" minWidth="10.0" prefWidth="39.0" />
|
|
<ColumnConstraints hgrow="SOMETIMES" maxWidth="85.0" minWidth="10.0" prefWidth="82.0" />
|
|
<ColumnConstraints hgrow="SOMETIMES" maxWidth="1.7976931348623157E308" minWidth="10.0" prefWidth="137.0" />
|
|
<ColumnConstraints hgrow="SOMETIMES" maxWidth="40.0" minWidth="10.0" prefWidth="40.0" />
|
|
<ColumnConstraints hgrow="SOMETIMES" maxWidth="101.0" minWidth="10.0" prefWidth="101.0" />
|
|
<ColumnConstraints hgrow="SOMETIMES" maxWidth="1.7976931348623157E308" minWidth="10.0" prefWidth="150.0" />
|
|
</columnConstraints>
|
|
<rowConstraints>
|
|
<RowConstraints maxHeight="62.0" minHeight="10.0" prefHeight="41.0" vgrow="SOMETIMES" />
|
|
<RowConstraints maxHeight="44.0" minHeight="5.0" prefHeight="18.0" vgrow="SOMETIMES" />
|
|
<RowConstraints maxHeight="44.0" minHeight="8.0" prefHeight="26.0" vgrow="SOMETIMES" />
|
|
<RowConstraints maxHeight="74.0" minHeight="10.0" prefHeight="39.0" vgrow="SOMETIMES" />
|
|
<RowConstraints maxHeight="73.0" minHeight="10.0" prefHeight="22.0" vgrow="SOMETIMES" />
|
|
<RowConstraints maxHeight="73.0" minHeight="10.0" prefHeight="27.0" vgrow="SOMETIMES" />
|
|
<RowConstraints maxHeight="73.0" minHeight="10.0" prefHeight="40.0" vgrow="SOMETIMES" />
|
|
<RowConstraints maxHeight="73.0" minHeight="10.0" prefHeight="25.0" vgrow="SOMETIMES" />
|
|
<RowConstraints maxHeight="73.0" minHeight="10.0" prefHeight="42.0" vgrow="SOMETIMES" />
|
|
</rowConstraints>
|
|
</GridPane>
|
|
</children>
|
|
</AnchorPane>
|
|
</children>
|
|
</AnchorPane>
|
|
</children>
|
|
</AnchorPane>
|