Advertisement
Guest User

Untitled

a guest
Nov 28th, 2017
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 23.97 KB | None | 0 0
  1. <?xml version="1.0" encoding="UTF-8"?>
  2.  
  3. <?import javafx.geometry.Insets?>
  4. <?import javafx.scene.control.Button?>
  5. <?import javafx.scene.control.Label?>
  6. <?import javafx.scene.control.RadioButton?>
  7. <?import javafx.scene.control.Tooltip?>
  8. <?import javafx.scene.image.Image?>
  9. <?import javafx.scene.image.ImageView?>
  10. <?import javafx.scene.layout.AnchorPane?>
  11. <?import javafx.scene.layout.ColumnConstraints?>
  12. <?import javafx.scene.layout.GridPane?>
  13. <?import javafx.scene.layout.HBox?>
  14. <?import javafx.scene.layout.Pane?>
  15. <?import javafx.scene.layout.RowConstraints?>
  16. <?import javafx.scene.layout.VBox?>
  17. <?import javafx.scene.text.Font?>
  18.  
  19. <AnchorPane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="378.0" prefWidth="900.0" xmlns="http://javafx.com/javafx/8.0.141" xmlns:fx="http://javafx.com/fxml/1" fx:controller="controller.SessionController">
  20.    <children>
  21.       <HBox AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
  22.          <children>
  23.             <VBox prefHeight="580.0" prefWidth="253.0">
  24.                <children>
  25.                   <Label fx:id="friendsInvitedLabel" alignment="CENTER" maxWidth="1.7976931348623157E308" prefHeight="48.0" prefWidth="227.0" style="-fx-background-color: skyblue;" text="Friends" textAlignment="CENTER">
  26.                      <font>
  27.                         <Font name="System Bold" size="24.0" />
  28.                      </font>
  29.                      <VBox.margin>
  30.                         <Insets />
  31.                      </VBox.margin>
  32.                   </Label>
  33.                   <GridPane prefHeight="323.0" prefWidth="227.0" VBox.vgrow="ALWAYS">
  34.                     <columnConstraints>
  35.                       <ColumnConstraints hgrow="SOMETIMES" maxWidth="168.0" minWidth="10.0" prefWidth="168.0" />
  36.                       <ColumnConstraints hgrow="SOMETIMES" maxWidth="101.0" minWidth="10.0" prefWidth="45.0" />
  37.                     </columnConstraints>
  38.                     <rowConstraints>
  39.                         <RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
  40.                         <RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
  41.                         <RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
  42.                         <RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
  43.                         <RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
  44.                         <RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
  45.                         <RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
  46.                       <RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
  47.                       <RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
  48.                       <RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
  49.                     </rowConstraints>
  50.                      <children>
  51.                         <Pane fx:id="user1LabelBackground" prefHeight="200.0" prefWidth="200.0">
  52.                            <GridPane.margin>
  53.                               <Insets bottom="5.0" left="3.0" top="5.0" />
  54.                            </GridPane.margin>
  55.                         </Pane>
  56.                         <Label fx:id="user1Label" onDragDetected="#initialize">
  57.                            <font>
  58.                               <Font size="16.0" />
  59.                            </font>
  60.                            <GridPane.margin>
  61.                               <Insets left="10.0" />
  62.                            </GridPane.margin>
  63.                         </Label>
  64.                         <Label fx:id="user2Label" GridPane.rowIndex="1">
  65.                            <font>
  66.                               <Font size="16.0" />
  67.                            </font>
  68.                            <GridPane.margin>
  69.                               <Insets left="10.0" />
  70.                            </GridPane.margin>
  71.                         </Label>
  72.                         <Label fx:id="user3Label" GridPane.rowIndex="2">
  73.                            <font>
  74.                               <Font size="16.0" />
  75.                            </font>
  76.                            <GridPane.margin>
  77.                               <Insets left="10.0" />
  78.                            </GridPane.margin>
  79.                         </Label>
  80.                         <Label fx:id="user4Label" GridPane.rowIndex="3">
  81.                            <font>
  82.                               <Font size="16.0" />
  83.                            </font>
  84.                            <GridPane.margin>
  85.                               <Insets left="10.0" />
  86.                            </GridPane.margin>
  87.                         </Label>
  88.                         <Label fx:id="user5Label" GridPane.rowIndex="4">
  89.                            <font>
  90.                               <Font size="16.0" />
  91.                            </font>
  92.                            <GridPane.margin>
  93.                               <Insets left="10.0" />
  94.                            </GridPane.margin>
  95.                         </Label>
  96.                         <Label fx:id="user6Label" GridPane.rowIndex="5">
  97.                            <font>
  98.                               <Font size="16.0" />
  99.                            </font>
  100.                            <GridPane.margin>
  101.                               <Insets left="10.0" />
  102.                            </GridPane.margin>
  103.                         </Label>
  104.                         <Label fx:id="user7Label" GridPane.rowIndex="6">
  105.                            <font>
  106.                               <Font size="16.0" />
  107.                            </font>
  108.                            <GridPane.margin>
  109.                               <Insets left="10.0" />
  110.                            </GridPane.margin>
  111.                         </Label>
  112.                         <Label fx:id="user8Label" GridPane.rowIndex="7">
  113.                            <font>
  114.                               <Font size="16.0" />
  115.                            </font>
  116.                            <GridPane.margin>
  117.                               <Insets left="10.0" />
  118.                            </GridPane.margin>
  119.                         </Label>
  120.                         <Label fx:id="user9Label" GridPane.rowIndex="8">
  121.                            <font>
  122.                               <Font size="16.0" />
  123.                            </font>
  124.                            <GridPane.margin>
  125.                               <Insets left="10.0" />
  126.                            </GridPane.margin>
  127.                         </Label>
  128.                         <Label fx:id="user10Label" GridPane.rowIndex="9">
  129.                            <font>
  130.                               <Font size="16.0" />
  131.                            </font>
  132.                            <GridPane.margin>
  133.                               <Insets left="10.0" />
  134.                            </GridPane.margin>
  135.                         </Label>
  136.                         <Pane fx:id="user3LabelBackground" prefHeight="200.0" prefWidth="200.0" GridPane.rowIndex="2">
  137.                            <GridPane.margin>
  138.                               <Insets bottom="5.0" left="3.0" top="5.0" />
  139.                            </GridPane.margin>
  140.                         </Pane>
  141.                         <Pane fx:id="user4LabelBackground" prefHeight="200.0" prefWidth="200.0" GridPane.rowIndex="3">
  142.                            <GridPane.margin>
  143.                               <Insets bottom="5.0" left="3.0" top="5.0" />
  144.                            </GridPane.margin>
  145.                         </Pane>
  146.                         <Pane fx:id="user5LabelBackground" prefHeight="200.0" prefWidth="200.0" GridPane.rowIndex="4">
  147.                            <GridPane.margin>
  148.                               <Insets bottom="5.0" left="3.0" top="5.0" />
  149.                            </GridPane.margin>
  150.                         </Pane>
  151.                         <Pane fx:id="user6LabelBackground" prefHeight="200.0" prefWidth="200.0" GridPane.rowIndex="5">
  152.                            <GridPane.margin>
  153.                               <Insets bottom="5.0" left="3.0" top="5.0" />
  154.                            </GridPane.margin>
  155.                         </Pane>
  156.                         <Pane fx:id="user7LabelBackground" prefHeight="200.0" prefWidth="200.0" GridPane.rowIndex="6">
  157.                            <GridPane.margin>
  158.                               <Insets bottom="5.0" left="3.0" top="5.0" />
  159.                            </GridPane.margin>
  160.                         </Pane>
  161.                         <Pane fx:id="user8LabelBackground" prefHeight="200.0" prefWidth="200.0" GridPane.rowIndex="7">
  162.                            <GridPane.margin>
  163.                               <Insets bottom="5.0" left="3.0" top="5.0" />
  164.                            </GridPane.margin>
  165.                         </Pane>
  166.                         <Pane fx:id="user9LabelBackground" prefHeight="200.0" prefWidth="200.0" GridPane.rowIndex="8">
  167.                            <GridPane.margin>
  168.                               <Insets bottom="5.0" left="3.0" top="5.0" />
  169.                            </GridPane.margin>
  170.                         </Pane>
  171.                         <Pane fx:id="user10LabelBackground" prefHeight="200.0" prefWidth="200.0" GridPane.rowIndex="9">
  172.                            <GridPane.margin>
  173.                               <Insets bottom="5.0" left="3.0" top="5.0" />
  174.                            </GridPane.margin>
  175.                         </Pane>
  176.                         <Pane fx:id="user1IndicatorBackground" prefHeight="200.0" prefWidth="200.0" GridPane.columnIndex="1">
  177.                            <GridPane.margin>
  178.                               <Insets bottom="5.0" right="3.0" top="5.0" />
  179.                            </GridPane.margin>
  180.                         </Pane>
  181.                         <Pane fx:id="user2IndicatorBackground" prefHeight="200.0" prefWidth="200.0" GridPane.columnIndex="1" GridPane.rowIndex="1">
  182.                            <GridPane.margin>
  183.                               <Insets bottom="5.0" right="3.0" top="5.0" />
  184.                            </GridPane.margin>
  185.                         </Pane>
  186.                         <Pane fx:id="user3IndicatorBackground" prefHeight="200.0" prefWidth="200.0" GridPane.columnIndex="1" GridPane.rowIndex="2">
  187.                            <GridPane.margin>
  188.                               <Insets bottom="5.0" right="3.0" top="5.0" />
  189.                            </GridPane.margin>
  190.                         </Pane>
  191.                         <Pane fx:id="user4IndicatorBackground" prefHeight="200.0" prefWidth="200.0" GridPane.columnIndex="1" GridPane.rowIndex="3">
  192.                            <GridPane.margin>
  193.                               <Insets bottom="5.0" right="3.0" top="5.0" />
  194.                            </GridPane.margin>
  195.                         </Pane>
  196.                         <Pane fx:id="user5IndicatorBackground" prefHeight="200.0" prefWidth="200.0" GridPane.columnIndex="1" GridPane.rowIndex="4">
  197.                            <GridPane.margin>
  198.                               <Insets bottom="5.0" right="3.0" top="5.0" />
  199.                            </GridPane.margin>
  200.                         </Pane>
  201.                         <Pane fx:id="user6IndicatorBackground" prefHeight="200.0" prefWidth="200.0" GridPane.columnIndex="1" GridPane.rowIndex="5">
  202.                            <GridPane.margin>
  203.                               <Insets bottom="5.0" right="3.0" top="5.0" />
  204.                            </GridPane.margin>
  205.                         </Pane>
  206.                         <Pane fx:id="user7IndicatorBackground" prefHeight="200.0" prefWidth="200.0" GridPane.columnIndex="1" GridPane.rowIndex="6">
  207.                            <GridPane.margin>
  208.                               <Insets bottom="5.0" right="3.0" top="5.0" />
  209.                            </GridPane.margin>
  210.                         </Pane>
  211.                         <Pane fx:id="user8IndicatorBackground" prefHeight="200.0" prefWidth="200.0" GridPane.columnIndex="1" GridPane.rowIndex="7">
  212.                            <GridPane.margin>
  213.                               <Insets bottom="5.0" right="3.0" top="5.0" />
  214.                            </GridPane.margin>
  215.                         </Pane>
  216.                         <Pane fx:id="user9IndicatorBackground" prefHeight="200.0" prefWidth="200.0" GridPane.columnIndex="1" GridPane.rowIndex="8">
  217.                            <GridPane.margin>
  218.                               <Insets bottom="5.0" right="3.0" top="5.0" />
  219.                            </GridPane.margin>
  220.                         </Pane>
  221.                         <Pane fx:id="user10IndicatorBackground" prefHeight="200.0" prefWidth="200.0" GridPane.columnIndex="1" GridPane.rowIndex="9">
  222.                            <GridPane.margin>
  223.                               <Insets bottom="5.0" right="3.0" top="5.0" />
  224.                            </GridPane.margin>
  225.                         </Pane>
  226.                         <Pane fx:id="user2LabelBackground" prefHeight="200.0" prefWidth="200.0" GridPane.rowIndex="1">
  227.                            <GridPane.margin>
  228.                               <Insets bottom="5.0" left="3.0" top="5.0" />
  229.                            </GridPane.margin>
  230.                         </Pane>
  231.                      </children>
  232.                   </GridPane>
  233.                </children>
  234.                <HBox.margin>
  235.                   <Insets bottom="10.0" left="10.0" top="10.0" />
  236.                </HBox.margin>
  237.             </VBox>
  238.             <VBox prefHeight="600.0" prefWidth="663.0">
  239.                <children>
  240.                 <AnchorPane minHeight="-Infinity" minWidth="-Infinity" prefHeight="276.0" prefWidth="663.0" VBox.vgrow="ALWAYS">
  241.                      <children>
  242.                         <HBox layoutY="27.0" prefHeight="528.0" prefWidth="663.0" AnchorPane.bottomAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
  243.                            <children>
  244.                               <VBox prefHeight="508.0" prefWidth="634.0" HBox.hgrow="ALWAYS">
  245.                                  <HBox.margin>
  246.                                     <Insets bottom="10.0" left="10.0" right="10.0" top="10.0" />
  247.                                  </HBox.margin>
  248.                                  <children>
  249.                                     <Pane prefHeight="155.0" prefWidth="643.0" style="-fx-background-color: skyblue;">
  250.                                        <children>
  251.                                           <Label fx:id="restaurantNameLabel" alignment="CENTER" contentDisplay="CENTER" layoutX="-1.0" layoutY="-2.0" maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308" prefHeight="47.0" prefWidth="651.0" text="-Insert Restaurant Name-">
  252.                                              <font>
  253.                                                 <Font name="System Bold" size="24.0" />
  254.                                              </font>
  255.                                              <opaqueInsets>
  256.                                                 <Insets />
  257.                                              </opaqueInsets>
  258.                                              <padding>
  259.                                                 <Insets left="10.0" />
  260.                                              </padding>
  261.                                           </Label>
  262.                                           <Button fx:id="previousRestaurantButton" contentDisplay="TOP" layoutX="14.0" layoutY="9.0" mnemonicParsing="false" nodeOrientation="LEFT_TO_RIGHT" onAction="#previousRestaurant" text="Previous" textAlignment="CENTER" />
  263.                                           <Button fx:id="nextRestaurantButton" layoutX="588.0" layoutY="9.0" mnemonicParsing="false" onAction="#nextRestaurant" text="Next" />
  264.                                        </children>
  265.                                        <VBox.margin>
  266.                                           <Insets />
  267.                                        </VBox.margin>
  268.                                     </Pane>
  269.                                     <Pane prefHeight="430.0" prefWidth="643.0" VBox.vgrow="ALWAYS">
  270.                                        <children>
  271.                                           <Label layoutX="323.0" layoutY="6.0" text="Cuisine:">
  272.                                              <font>
  273.                                                 <Font name="System Bold" size="24.0" />
  274.                                              </font>
  275.                                           </Label>
  276.                                           <Label layoutX="323.0" layoutY="45.0" text="Price:">
  277.                                              <font>
  278.                                                 <Font name="System Bold" size="24.0" />
  279.                                              </font>
  280.                                           </Label>
  281.                                           <Button fx:id="websiteButton" accessibleRole="IMAGE_VIEW" layoutX="323.0" layoutY="92.0" mnemonicParsing="false" onAction="#toRestaurantWebsite" prefHeight="34.0" prefWidth="311.0" text="Website">
  282.                                              <font>
  283.                                                 <Font name="System Italic" size="16.0" />
  284.                                              </font>
  285.                                           </Button>
  286.                                           <Label fx:id="cuisineTypeLabel" layoutX="418.0" layoutY="6.0" text="-Insert Cuisine-">
  287.                                              <font>
  288.                                                 <Font size="24.0" />
  289.                                              </font>
  290.                                           </Label>
  291.                                           <Label fx:id="priceLabel" layoutX="388.0" layoutY="45.0" text="-Insert Price-">
  292.                                              <font>
  293.                                                 <Font size="24.0" />
  294.                                              </font>
  295.                                           </Label>
  296.                                           <ImageView fx:id="images" fitHeight="296.0" fitWidth="301.0" layoutX="10.0" layoutY="11.0" pickOnBounds="true" smooth="false" />
  297.                                           <Button layoutX="10.0" layoutY="11.0" mnemonicParsing="false" onAction="#toMapView" prefHeight="296.0" prefWidth="301.0" style="-fx-background-color: transparent;">
  298.                                              <tooltip>
  299.                                                 <Tooltip text="Click for map" />
  300.                                              </tooltip></Button>
  301.                                           <RadioButton fx:id="loveChoice" layoutX="339.0" layoutY="215.0" mnemonicParsing="false" text="I love it" />
  302.                                           <RadioButton fx:id="neutralChoice" layoutX="448.0" layoutY="215.0" mnemonicParsing="false" text="Neutral" />
  303.                                           <RadioButton fx:id="hateChoice" layoutX="556.0" layoutY="215.0" mnemonicParsing="false" text="I hate it" />
  304.                                           <Button fx:id="submit" layoutX="428.0" layoutY="260.0" mnemonicParsing="false" onAction="#submit" prefHeight="25.0" prefWidth="100.0" text="Submit" />
  305.                                           <ImageView fx:id="ratingStar1L" fitHeight="50.0" fitWidth="50.0" layoutX="323.0" layoutY="131.0" pickOnBounds="true" preserveRatio="true" visible="false">
  306.                                              <image>
  307.                                                 <Image url="@starLeft.png" />
  308.                                              </image>
  309.                                           </ImageView>
  310.                                           <ImageView fx:id="ratingStar1R" fitHeight="50.0" fitWidth="50.0" layoutX="323.0" layoutY="131.0" pickOnBounds="true" preserveRatio="true" visible="false">
  311.                                              <image>
  312.                                                 <Image url="@starRight.png" />
  313.                                              </image>
  314.                                           </ImageView>
  315.                                           <ImageView fx:id="ratingStar2L" fitHeight="50.0" fitWidth="50.0" layoutX="390.0" layoutY="131.0" pickOnBounds="true" preserveRatio="true" visible="false">
  316.                                              <image>
  317.                                                 <Image url="@starLeft.png" />
  318.                                              </image>
  319.                                           </ImageView>
  320.                                           <ImageView fx:id="ratingStar2R" fitHeight="50.0" fitWidth="50.0" layoutX="390.0" layoutY="131.0" pickOnBounds="true" preserveRatio="true" visible="false">
  321.                                              <image>
  322.                                                 <Image url="@starRight.png" />
  323.                                              </image>
  324.                                           </ImageView>
  325.                                           <ImageView fx:id="ratingStar3L" fitHeight="50.0" fitWidth="50.0" layoutX="457.0" layoutY="131.0" pickOnBounds="true" preserveRatio="true" visible="false">
  326.                                              <image>
  327.                                                 <Image url="@starLeft.png" />
  328.                                              </image>
  329.                                           </ImageView>
  330.                                           <ImageView fx:id="ratingStar4L" fitHeight="50.0" fitWidth="50.0" layoutX="523.0" layoutY="131.0" pickOnBounds="true" preserveRatio="true" visible="false">
  331.                                              <image>
  332.                                                 <Image url="@starLeft.png" />
  333.                                              </image>
  334.                                           </ImageView>
  335.                                           <ImageView fx:id="ratingStar3R" fitHeight="49.0" fitWidth="80.0" layoutX="457.0" layoutY="131.0" pickOnBounds="true" preserveRatio="true" visible="false">
  336.                                              <image>
  337.                                                 <Image url="@starRight.png" />
  338.                                              </image>
  339.                                           </ImageView>
  340.                                           <ImageView fx:id="ratingStar4R" fitHeight="50.0" fitWidth="50.0" layoutX="523.0" layoutY="131.0" pickOnBounds="true" preserveRatio="true" visible="false">
  341.                                              <image>
  342.                                                 <Image url="@starRight.png" />
  343.                                              </image>
  344.                                           </ImageView>
  345.                                           <ImageView fx:id="ratingStar5L" fitHeight="50.0" fitWidth="50.0" layoutX="586.0" layoutY="131.0" pickOnBounds="true" preserveRatio="true" visible="false">
  346.                                              <image>
  347.                                                 <Image url="@starLeft.png" />
  348.                                              </image>
  349.                                           </ImageView>
  350.                                           <ImageView fx:id="ratingStar5R" fitHeight="50.0" fitWidth="50.0" layoutX="586.0" layoutY="131.0" pickOnBounds="true" preserveRatio="true" visible="false">
  351.                                              <image>
  352.                                                 <Image url="@starRight.png" />
  353.                                              </image>
  354.                                           </ImageView>
  355.                                        </children>
  356.                                     </Pane>
  357.                                  </children>
  358.                               </VBox>
  359.                            </children>
  360.                         </HBox>
  361.                      </children>
  362.                   </AnchorPane>
  363.                </children>
  364.             </VBox>
  365.          </children>
  366.       </HBox>
  367.    </children>
  368. </AnchorPane>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement