<?xml version="1.0" encoding="UTF-8"?>

<?import com.megatimfx.common.customcontrols.AbstractSelectionItem?>
<?import javafx.geometry.Insets?>
<?import javafx.scene.control.CheckBox?>
<?import javafx.scene.control.ComboBox?>
<?import javafx.scene.control.Label?>
<?import javafx.scene.control.PasswordField?>
<?import javafx.scene.control.TextField?>
<?import javafx.scene.control.TitledPane?>
<?import javafx.scene.image.Image?>
<?import javafx.scene.image.ImageView?>
<?import javafx.scene.layout.AnchorPane?>
<?import javafx.scene.layout.HBox?>
<?import javafx.scene.layout.StackPane?>
<?import javafx.scene.layout.VBox?>

<AnchorPane id="AnchorPane" prefHeight="249.0" prefWidth="648.0" xmlns="http://javafx.com/javafx/8.0.171" xmlns:fx="http://javafx.com/fxml/1" fx:controller="com.megatim.fdxgenerator.forms.FichierValidationEditFormController">
    <children>
        <VBox spacing="5.0" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
            <padding>
                <Insets bottom="20.0" left="32.0" right="32.0" top="20.0" />
            </padding>
            <children>
                <TitledPane collapsible="false" text="Informations sur le fichier de validation">
                    <content>
                        <VBox spacing="5.0">
                            <children>
                                <HBox alignment="CENTER_LEFT" spacing="10.0">
                                    <children>
                                        <Label alignment="CENTER_RIGHT" minWidth="205.0" text="Type de fichier" />
                                        <AbstractSelectionItem fx:id="typeFichierAbstractSelectItem" minWidth="330.0" prefWidth="327.0">
                                 <HBox.margin>
                                    <Insets left="10.0" />
                                 </HBox.margin></AbstractSelectionItem>
                                    </children>
                                </HBox>
                        <HBox layoutX="25.0" layoutY="87.0" prefHeight="100.0" prefWidth="200.0" spacing="10.0">
                           <children>
                              <Label alignment="CENTER_RIGHT" prefWidth="205.0" text="Protéger fichier de validation ?" />
                              <CheckBox fx:id="isProtegeCheckBox" layoutX="235.0" layoutY="10.0" mnemonicParsing="false" text="Oui">
                                 <HBox.margin>
                                    <Insets left="10.0" />
                                 </HBox.margin>
                              </CheckBox>
                           </children>
                        </HBox>
                        <HBox prefHeight="100.0" prefWidth="200.0" spacing="10.0">
                           <children>
                              <Label alignment="TOP_RIGHT" prefWidth="205.0" text="Clé de cryptage" />
                              <StackPane minWidth="328.0" prefHeight="150.0" prefWidth="200.0">
                                 <children>
                                    <TextField fx:id="showKeyToEncrypt" prefWidth="328.0" style="-fx-background-radius: 0%;" />
                                    <PasswordField fx:id="keyToEncryptField" />
                                    <ImageView fx:id="imageView" fitHeight="15.0" fitWidth="15.0" onMousePressed="#eyeOnMousePressed" pickOnBounds="true" preserveRatio="true" StackPane.alignment="CENTER_RIGHT">
                                       <StackPane.margin>
                                          <Insets right="5.0" />
                                       </StackPane.margin>
                                       <image>
                                          <Image url="@../../../../images/oeil.png" />
                                       </image>
                                    </ImageView>
                                 </children>
                                 <HBox.margin>
                                    <Insets left="10.0" />
                                 </HBox.margin>
                              </StackPane>
                           </children>
                        </HBox>
                        <HBox layoutX="25.0" layoutY="57.0" prefHeight="100.0" prefWidth="200.0" spacing="10.0">
                           <children>
                              <Label alignment="CENTER_RIGHT" prefWidth="205.0" text="Confirmation de la clé" />
                              <PasswordField fx:id="keyConfirmationField" minWidth="328.0">
                                 <HBox.margin>
                                    <Insets left="10.0" />
                                 </HBox.margin>
                              </PasswordField>
                           </children>
                        </HBox>
                        <HBox layoutX="25.0" layoutY="117.0" prefHeight="100.0" prefWidth="200.0" spacing="10.0">
                           <children>
                              <Label alignment="CENTER_RIGHT" prefWidth="205.0" text="Valider nom du fichier ?" />
                              <CheckBox fx:id="validateFileNameCheckBox" layoutX="235.0" layoutY="10.0" mnemonicParsing="false" text="Oui">
                                 <HBox.margin>
                                    <Insets left="10.0" />
                                 </HBox.margin>
                              </CheckBox>
                           </children>
                        </HBox>
<!--                                <HBox alignment="CENTER_LEFT">
                                    <children>
                                        <Label alignment="CENTER_RIGHT" minWidth="205.0" text="Repertoire de sortie" />
                                        <TextField fx:id="OutDirTextField" prefHeight="25.0" prefWidth="336.0">
                                            <HBox.margin>
                                                <Insets left="10.0" right="2.0" />
                                            </HBox.margin>
                                        </TextField>
                                        <Button fx:id="OutButton" mnemonicParsing="false" onMousePressed="#outButtonOnClicked" prefHeight="25.0" prefWidth="31.0" text="...">
                                            <HBox.margin>
                                                <Insets right="10.0" />
                                            </HBox.margin>
                                        </Button>
                                    </children>
                                </HBox>-->
                            </children>
                            <padding>
                                <Insets bottom="15.0" left="15.0" right="15.0" top="15.0" />
                            </padding>
                        </VBox>
                    </content>
                </TitledPane>
                <TitledPane fx:id="fileNameTitledPane" collapsible="false" text="Informations sur le nom du fichier à valider">
                    <content>
                        <VBox spacing="5.0">
                            <children>
                                <HBox alignment="CENTER_LEFT" spacing="10.0">
                                    <children>
                                        <Label alignment="CENTER_RIGHT" minWidth="205.0" text="Format de la date" />
                                         <ComboBox fx:id="formatDate" prefWidth="327.0" style="-fx-background-radius: 0%;">
                                 <HBox.margin>
                                    <Insets left="10.0" />
                                 </HBox.margin></ComboBox>
                                    </children>
                                </HBox>
<!--                                <HBox alignment="CENTER_LEFT" spacing="10.0">
                                    <children>
                                        <Label alignment="CENTER_RIGHT" minWidth="205.0" text="Extension du fichier" />
                              <ComboBox fx:id="extensionFichier" prefWidth="327.0" style="-fx-background-radius: 0%;">
                                 <HBox.margin>
                                    <Insets left="10.0" />
                                 </HBox.margin>
                              </ComboBox>
                                    </children>
                                </HBox>-->
                                <HBox alignment="CENTER_LEFT" spacing="10.0">
                                    <children>
                                        <Label alignment="CENTER_RIGHT" minWidth="205.0" text="Valeur maximale des tierces" />
                                        <TextField fx:id="MaxValueTierceTextField" prefHeight="25.0" prefWidth="124.0" style="-fx-background-radius: 0%;">
                                            <HBox.margin>
                                                <Insets left="10.0" />
                                            </HBox.margin>
                                        </TextField>
                                    </children>
                                </HBox>
                            </children>
                            <padding>
                                <Insets bottom="15.0" left="15.0" right="15.0" top="15.0" />
                            </padding>
                        </VBox>
                    </content>
                </TitledPane>
            </children>
        </VBox>
    </children>
</AnchorPane>
