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

<?import javafx.geometry.Insets?>
<?import javafx.scene.control.Button?>
<?import javafx.scene.control.CheckBox?>
<?import javafx.scene.control.ComboBox?>
<?import javafx.scene.control.Label?>
<?import javafx.scene.control.TextField?>
<?import javafx.scene.layout.AnchorPane?>
<?import javafx.scene.layout.HBox?>
<?import javafx.scene.layout.VBox?>
<?import javafx.scene.text.Font?>

<AnchorPane stylesheets="@../../../../../../styles/CustomFormComponents.css" xmlns="http://javafx.com/javafx/8.0.171" xmlns:fx="http://javafx.com/fxml/1">
   <children>
      <VBox fx:id="mainContainer" layoutX="10.0" layoutY="10.0" spacing="10.0" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
         <children>
            <HBox fx:id="formFieldContainer" alignment="CENTER_LEFT" spacing="5.0">
               <children>
                  <Label fx:id="squareBracketLeft" text="[">
                     <font>
                        <Font size="24.0" />
                     </font>
                  </Label>
                  <HBox fx:id="fieldContainer" spacing="5.0">
                     <children>
                        <HBox alignment="CENTER_LEFT" spacing="5.0">
                           <children>
                              <Label text="Nom" />
                              <TextField fx:id="nameField" maxWidth="120.0" prefWidth="120.0" />
                           </children>
                        </HBox>
                        <HBox alignment="CENTER_LEFT" spacing="5.0">
                           <children>
                              <Label text="Type" />
                              <ComboBox fx:id="typeField" maxWidth="120.0" prefWidth="120.0" />
                           </children>
                        </HBox>
                        <HBox fx:id="formatFieldContainer" alignment="CENTER_LEFT" layoutX="200.0" layoutY="10.0" spacing="5.0">
                           <children>
                              <Label text="Format" />
                              <ComboBox fx:id="formatField" maxWidth="110.0" prefWidth="110.0" />
                           </children>
                        </HBox>
                        <HBox fx:id="delimitorFieldContainer" alignment="CENTER_LEFT" spacing="5.0">
                           <children>
                              <Label text="Délimiteur" />
                              <ComboBox fx:id="delimitorField" maxWidth="110.0" prefWidth="110.0" />
                           </children>
                        </HBox>
                        <HBox alignment="CENTER_LEFT" spacing="5.0">
                           <children>
                              <Label text="Taille" />
                              <TextField fx:id="tailleField" maxWidth="45.0" prefWidth="45.0" />
                           </children>
                        </HBox>
                        <HBox alignment="CENTER_LEFT" spacing="5.0">
                           <children>
                              <CheckBox fx:id="requiredField" mnemonicParsing="false" text="Obligatoire" />
                           </children>
                        </HBox>
                        <HBox alignment="CENTER_LEFT" spacing="5.0">
                           <children>
                              <CheckBox fx:id="collectionField" mnemonicParsing="false" text="Liste" />
                           </children>
                        </HBox>
                     </children>
                  </HBox>
                  <Label fx:id="squareBracketRight" text="]">
                     <font>
                        <Font size="24.0" />
                     </font>
                  </Label>
               </children>
            </HBox>
            <VBox fx:id="objectContainer" VBox.vgrow="ALWAYS">
               <children>
                  <HBox alignment="CENTER_LEFT" spacing="5.0">
                     <children>
                        <HBox fx:id="objectContainerleft" alignment="CENTER_LEFT">
                           <children>
                              <Label fx:id="objectSquareBracketLeft" text="[">
                                 <font>
                                    <Font size="24.0" />
                                 </font>
                              </Label>
                              <Label text="{">
                                 <font>
                                    <Font size="24.0" />
                                 </font>
                              </Label>
                           </children>
                        </HBox>
                        <Button fx:id="addButton" mnemonicParsing="false" text="+" />
                     </children>
                  </HBox>
                  <VBox fx:id="nestedContainer" spacing="5.0" VBox.vgrow="ALWAYS">
                     <padding>
                        <Insets bottom="5.0" left="10.0" right="5.0" top="5.0" />
                     </padding>
                  </VBox>
                  <HBox fx:id="objectContainerRight" alignment="CENTER_LEFT">
                     <children>
                        <Label text="}">
                           <font>
                              <Font size="24.0" />
                           </font>
                        </Label>
                        <Label fx:id="objectSquareBracketRight" text="]">
                           <font>
                              <Font size="24.0" />
                           </font>
                        </Label>
                     </children>
                  </HBox>
               </children>
            </VBox>
         </children>
      </VBox>
   </children>
</AnchorPane>
