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

<?import javafx.scene.control.Accordion?>
<?import javafx.scene.control.Button?>
<?import javafx.scene.control.Label?>
<?import javafx.scene.control.TitledPane?>
<?import javafx.scene.control.ToolBar?>
<?import javafx.scene.image.ImageView?>
<?import javafx.scene.layout.AnchorPane?>
<?import javafx.scene.layout.BorderPane?>
<?import javafx.scene.layout.HBox?>
<?import javafx.scene.layout.VBox?>
<?import javafx.scene.text.Font?>

<BorderPane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="600.0" prefWidth="900.0" styleClass="bodybg" stylesheets="@application.css" xmlns="http://javafx.com/javafx/11.0.1" xmlns:fx="http://javafx.com/fxml/1" fx:controller="SampleController">
   <center>
      <Accordion BorderPane.alignment="CENTER">
        <panes>
          <TitledPane animated="false" text="Comidas">
            <content>
              <AnchorPane minHeight="0.0" minWidth="0.0" prefHeight="180.0" prefWidth="200.0">
                     <children>
                        <ImageView fx:id="icomida" fitHeight="202.0" fitWidth="289.0" layoutX="305.0" layoutY="243.0" pickOnBounds="true" preserveRatio="true" />
                        <VBox prefHeight="38.0" prefWidth="900.0" spacing="10.0" style="-fx-background-color: lightgreen;">
                           <children>
                              <ToolBar prefHeight="40.0" prefWidth="200.0">
                                <items>
                                    <Label fx:id="comida1" onMouseClicked="#mostrarimg1" prefHeight="18.0" prefWidth="822.0" text="Label" />
                                  <Button fx:id="anadircom1" mnemonicParsing="false" onAction="#onAnadircom1Clicked" prefHeight="26.0" prefWidth="58.0" style="-fx-background-color: green;" text="Añadir" />
                                </items>
                              </ToolBar>
                           </children>
                        </VBox>
                        <VBox layoutY="38.0" prefHeight="38.0" prefWidth="900.0">
                           <children>
                              <ToolBar prefHeight="40.0" prefWidth="200.0">
                                <items>
                                    <Label fx:id="comida2" onMouseClicked="#mostrarimg2" prefHeight="18.0" prefWidth="822.0" text="Label" />
                                  <Button fx:id="anadircom2" mnemonicParsing="false" onAction="#onAnadircom2Clicked" prefHeight="26.0" prefWidth="58.0" style="-fx-background-color: green;" text="Añadir" />
                                </items>
                              </ToolBar>
                           </children>
                        </VBox>
                        <VBox layoutY="76.0" prefHeight="38.0" prefWidth="900.0" spacing="10.0" style="-fx-background-color: lightgreen;">
                           <children>
                              <ToolBar prefHeight="40.0" prefWidth="200.0">
                                 <items>
                                    <Label fx:id="comida3" onMouseClicked="#mostrarimg3" prefHeight="18.0" prefWidth="822.0" text="Label" />
                                    <Button fx:id="anadircom3" mnemonicParsing="false" onAction="#onAnadircom3Clicked" prefHeight="26.0" prefWidth="58.0" style="-fx-background-color: green;" text="Añadir" />
                                 </items>
                              </ToolBar>
                           </children>
                        </VBox>
                        <VBox layoutY="114.0" prefHeight="38.0" prefWidth="900.0" spacing="10.0" style="-fx-background-color: lightgreen;">
                           <children>
                              <ToolBar prefHeight="40.0" prefWidth="200.0">
                                 <items>
                                    <Label fx:id="comida4" onMouseClicked="#mostrarimg4" prefHeight="18.0" prefWidth="822.0" text="Label" />
                                    <Button fx:id="anadircom4" mnemonicParsing="false" onAction="#onAnadircom4Clicked" prefHeight="26.0" prefWidth="58.0" style="-fx-background-color: green;" text="Añadir" />
                                 </items>
                              </ToolBar>
                           </children>
                        </VBox>
                        <VBox layoutY="160.0" prefHeight="38.0" prefWidth="900.0" spacing="10.0" style="-fx-background-color: lightgreen;">
                           <children>
                              <ToolBar prefHeight="40.0" prefWidth="200.0">
                                 <items>
                                    <Label fx:id="comida5" onMouseClicked="#mostrarimg5" prefHeight="18.0" prefWidth="822.0" text="Label" />
                                    <Button fx:id="anadircom5" mnemonicParsing="false" onAction="#onAnadircom5Clicked" prefHeight="26.0" prefWidth="58.0" style="-fx-background-color: green;" text="Añadir" />
                                 </items>
                              </ToolBar>
                           </children>
                        </VBox>
                     </children></AnchorPane>
            </content>
               <font>
                  <Font name="System Bold Italic" size="12.0" />
               </font>
          </TitledPane>
          <TitledPane animated="false" text="Bebidas">
            <content>
              <AnchorPane minHeight="0.0" minWidth="0.0" prefHeight="180.0" prefWidth="200.0">
                     <children>
                        <ImageView fx:id="ibebida" fitHeight="244.0" fitWidth="363.0" layoutX="197.0" layoutY="211.0" pickOnBounds="true" preserveRatio="true" />
                        <VBox prefHeight="38.0" prefWidth="900.0" spacing="10.0" style="-fx-background-color: lightgreen;">
                           <children>
                              <ToolBar prefHeight="40.0" prefWidth="200.0">
                                 <items>
                                    <Label fx:id="bebida1" onMouseClicked="#mostrarimgb1" prefHeight="18.0" prefWidth="822.0" text="Label" />
                                    <Button fx:id="anadirbeb1" mnemonicParsing="false" onAction="#onAnadirbeb1Clicked" prefHeight="26.0" prefWidth="58.0" style="-fx-background-color: green;" text="Añadir" />
                                 </items>
                              </ToolBar>
                           </children>
                        </VBox>
                        <VBox layoutX="-1.0" layoutY="46.0" prefHeight="38.0" prefWidth="900.0" spacing="10.0" style="-fx-background-color: lightgreen;">
                           <children>
                              <ToolBar prefHeight="40.0" prefWidth="200.0">
                                 <items>
                                    <Label fx:id="bebida2" onMouseClicked="#mostrarimgb2" prefHeight="18.0" prefWidth="822.0" text="Label" />
                                    <Button fx:id="anadirbeb2" mnemonicParsing="false" onAction="#onAnadirbeb2Clicked" prefHeight="26.0" prefWidth="58.0" style="-fx-background-color: green;" text="Añadir" />
                                 </items>
                              </ToolBar>
                           </children>
                        </VBox>
                        <VBox layoutX="-1.0" layoutY="84.0" prefHeight="38.0" prefWidth="900.0" spacing="10.0" style="-fx-background-color: lightgreen;">
                           <children>
                              <ToolBar prefHeight="40.0" prefWidth="200.0">
                                 <items>
                                    <Label fx:id="bebida3" onMouseClicked="#mostrarimgb3" prefHeight="18.0" prefWidth="822.0" text="Label" />
                                    <Button fx:id="anadirbeb3" mnemonicParsing="false" onAction="#onAnadirbeb3Clicked" prefHeight="26.0" prefWidth="58.0" style="-fx-background-color: green;" text="Añadir" />
                                 </items>
                              </ToolBar>
                           </children>
                        </VBox>
                        <VBox layoutX="-1.0" layoutY="122.0" prefHeight="38.0" prefWidth="900.0" spacing="10.0" style="-fx-background-color: lightgreen;">
                           <children>
                              <ToolBar prefHeight="40.0" prefWidth="200.0">
                                 <items>
                                    <Label fx:id="bebida4" onMouseClicked="#mostrarimgb4" prefHeight="18.0" prefWidth="822.0" text="Label" />
                                    <Button fx:id="anadirbeb4" mnemonicParsing="false" onAction="#onAnadirbeb4Clicked" prefHeight="26.0" prefWidth="58.0" style="-fx-background-color: green;" text="Añadir" />
                                 </items>
                              </ToolBar>
                           </children>
                        </VBox>
                        <VBox layoutX="-1.0" layoutY="160.0" prefHeight="38.0" prefWidth="900.0" spacing="10.0" style="-fx-background-color: lightgreen;">
                           <children>
                              <ToolBar prefHeight="40.0" prefWidth="200.0">
                                 <items>
                                    <Label fx:id="bebida5" onMouseClicked="#mostrarimgb5" prefHeight="18.0" prefWidth="822.0" text="Label" />
                                    <Button fx:id="anadirbeb5" mnemonicParsing="false" onAction="#onAnadirbeb5Clicked" prefHeight="26.0" prefWidth="58.0" style="-fx-background-color: green;" text="Añadir" />
                                 </items>
                              </ToolBar>
                           </children>
                        </VBox>
                     </children></AnchorPane>
            </content>
          </TitledPane>
          <TitledPane animated="false" text="Postres">
            <content>
              <AnchorPane minHeight="0.0" minWidth="0.0" prefHeight="180.0" prefWidth="200.0">
                     <children>
                        <ImageView fx:id="ipostre" fitHeight="219.0" fitWidth="334.0" layoutX="215.0" layoutY="206.0" pickOnBounds="true" preserveRatio="true" />
                        <VBox prefHeight="38.0" prefWidth="900.0" spacing="10.0" style="-fx-background-color: lightgreen;">
                           <children>
                              <ToolBar prefHeight="40.0" prefWidth="200.0">
                                 <items>
                                    <Label fx:id="postre1" onMouseClicked="#mostrarimgp1" prefHeight="18.0" prefWidth="822.0" text="Label" />
                                    <Button fx:id="anadirpost1" mnemonicParsing="false" onAction="#onAnadirpost1Clicked" prefHeight="26.0" prefWidth="58.0" style="-fx-background-color: green;" text="Añadir" />
                                 </items>
                              </ToolBar>
                           </children>
                        </VBox>
                        <VBox layoutX="-1.0" layoutY="38.0" prefHeight="38.0" prefWidth="900.0" spacing="10.0" style="-fx-background-color: lightgreen;">
                           <children>
                              <ToolBar prefHeight="40.0" prefWidth="200.0">
                                 <items>
                                    <Label fx:id="postre2" onMouseClicked="#mostrarimgp2" prefHeight="18.0" prefWidth="822.0" text="Label" />
                                    <Button fx:id="anadirpost2" mnemonicParsing="false" onAction="#onAnadirpost2Clicked" prefHeight="26.0" prefWidth="58.0" style="-fx-background-color: green;" text="Añadir" />
                                 </items>
                              </ToolBar>
                           </children>
                        </VBox>
                        <VBox layoutY="76.0" prefHeight="38.0" prefWidth="900.0" spacing="10.0" style="-fx-background-color: lightgreen;">
                           <children>
                              <ToolBar prefHeight="40.0" prefWidth="200.0">
                                 <items>
                                    <Label fx:id="postre3" onMouseClicked="#mostrarimgp3" prefHeight="18.0" prefWidth="822.0" text="Label" />
                                    <Button fx:id="anadirpost3" mnemonicParsing="false" onAction="#onAnadirpost3Clicked" prefHeight="26.0" prefWidth="58.0" style="-fx-background-color: green;" text="Añadir" />
                                 </items>
                              </ToolBar>
                           </children>
                        </VBox>
                        <VBox layoutX="-1.0" layoutY="114.0" prefHeight="38.0" prefWidth="900.0" spacing="10.0" style="-fx-background-color: lightgreen;">
                           <children>
                              <ToolBar prefHeight="40.0" prefWidth="200.0">
                                 <items>
                                    <Label fx:id="postre4" onMouseClicked="#mostrarimgp4" prefHeight="18.0" prefWidth="822.0" text="Label" />
                                    <Button fx:id="anadirpost4" mnemonicParsing="false" onAction="#onAnadirpost4Clicked" prefHeight="26.0" prefWidth="58.0" style="-fx-background-color: green;" text="Añadir" />
                                 </items>
                              </ToolBar>
                           </children>
                        </VBox>
                        <VBox layoutX="-1.0" layoutY="152.0" prefHeight="38.0" prefWidth="900.0" spacing="10.0" style="-fx-background-color: lightgreen;">
                           <children>
                              <ToolBar prefHeight="40.0" prefWidth="200.0">
                                 <items>
                                    <Label fx:id="postre5" onMouseClicked="#mostrarimgp5" prefHeight="18.0" prefWidth="822.0" text="Label" />
                                    <Button fx:id="anadirpost5" mnemonicParsing="false" onAction="#onAnadirpost5Clicked" prefHeight="26.0" prefWidth="58.0" style="-fx-background-color: green;" text="Añadir" />
                                 </items>
                              </ToolBar>
                           </children>
                        </VBox>
                     </children></AnchorPane>
            </content>
          </TitledPane>
        </panes>
      </Accordion>
   </center>
   <bottom>
      <HBox prefHeight="38.0" prefWidth="900.0" spacing="10.0" BorderPane.alignment="CENTER">
         <children>
            <Label prefHeight="18.0" prefWidth="328.0" style="-fx-background-color: white;" text="Total">
               <font>
                  <Font size="24.0" />
               </font>
            </Label>
            <Label fx:id="total" alignment="TOP_RIGHT" prefHeight="35.0" prefWidth="395.0" style="-fx-background-color: white;" text="Label">
               <font>
                  <Font size="24.0" />
               </font>
            </Label>
            <AnchorPane prefHeight="38.0" prefWidth="148.0">
               <children>
                  <Button layoutX="48.0" layoutY="7.0" mnemonicParsing="false" onAction="#changeScreenToListofProducts" style="-fx-background-color: yellow;" text="Ver Pedido" />
               </children>
            </AnchorPane>
         </children>
      </HBox>
   </bottom>
   <top>
      <HBox prefHeight="20.0" prefWidth="900.0" spacing="20.0" BorderPane.alignment="CENTER">
         <children>
            <Button mnemonicParsing="false" onAction="#onMesa1Clicked" text="Mesa1" />
            <Button mnemonicParsing="false" onAction="#onMesa2Clicked" text="Mesa2" />
            <Button mnemonicParsing="false" onAction="#onMesa3Clicked" text="Mesa3" />
            <Button mnemonicParsing="false" onAction="#onMesa4Clicked" text="Mesa4" />
            <Button mnemonicParsing="false" onAction="#selectCocinero" text="VistaCocinero" />
         </children>
      </HBox>
   </top>
</BorderPane>
