Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="UTF-8"?>
- <?import javafx.geometry.Insets?>
- <?import javafx.scene.control.Button?>
- <?import javafx.scene.control.Label?>
- <?import javafx.scene.control.RadioButton?>
- <?import javafx.scene.control.Tooltip?>
- <?import javafx.scene.image.Image?>
- <?import javafx.scene.image.ImageView?>
- <?import javafx.scene.layout.AnchorPane?>
- <?import javafx.scene.layout.ColumnConstraints?>
- <?import javafx.scene.layout.GridPane?>
- <?import javafx.scene.layout.HBox?>
- <?import javafx.scene.layout.Pane?>
- <?import javafx.scene.layout.RowConstraints?>
- <?import javafx.scene.layout.VBox?>
- <?import javafx.scene.text.Font?>
- <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">
- <children>
- <HBox AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
- <children>
- <VBox prefHeight="580.0" prefWidth="253.0">
- <children>
- <Label fx:id="friendsInvitedLabel" alignment="CENTER" maxWidth="1.7976931348623157E308" prefHeight="48.0" prefWidth="227.0" style="-fx-background-color: skyblue;" text="Friends" textAlignment="CENTER">
- <font>
- <Font name="System Bold" size="24.0" />
- </font>
- <VBox.margin>
- <Insets />
- </VBox.margin>
- </Label>
- <GridPane prefHeight="323.0" prefWidth="227.0" VBox.vgrow="ALWAYS">
- <columnConstraints>
- <ColumnConstraints hgrow="SOMETIMES" maxWidth="168.0" minWidth="10.0" prefWidth="168.0" />
- <ColumnConstraints hgrow="SOMETIMES" maxWidth="101.0" minWidth="10.0" prefWidth="45.0" />
- </columnConstraints>
- <rowConstraints>
- <RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
- <RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
- <RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
- <RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
- <RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
- <RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
- <RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
- <RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
- <RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
- <RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
- </rowConstraints>
- <children>
- <Pane fx:id="user1LabelBackground" prefHeight="200.0" prefWidth="200.0">
- <GridPane.margin>
- <Insets bottom="5.0" left="3.0" top="5.0" />
- </GridPane.margin>
- </Pane>
- <Label fx:id="user1Label" onDragDetected="#initialize">
- <font>
- <Font size="16.0" />
- </font>
- <GridPane.margin>
- <Insets left="10.0" />
- </GridPane.margin>
- </Label>
- <Label fx:id="user2Label" GridPane.rowIndex="1">
- <font>
- <Font size="16.0" />
- </font>
- <GridPane.margin>
- <Insets left="10.0" />
- </GridPane.margin>
- </Label>
- <Label fx:id="user3Label" GridPane.rowIndex="2">
- <font>
- <Font size="16.0" />
- </font>
- <GridPane.margin>
- <Insets left="10.0" />
- </GridPane.margin>
- </Label>
- <Label fx:id="user4Label" GridPane.rowIndex="3">
- <font>
- <Font size="16.0" />
- </font>
- <GridPane.margin>
- <Insets left="10.0" />
- </GridPane.margin>
- </Label>
- <Label fx:id="user5Label" GridPane.rowIndex="4">
- <font>
- <Font size="16.0" />
- </font>
- <GridPane.margin>
- <Insets left="10.0" />
- </GridPane.margin>
- </Label>
- <Label fx:id="user6Label" GridPane.rowIndex="5">
- <font>
- <Font size="16.0" />
- </font>
- <GridPane.margin>
- <Insets left="10.0" />
- </GridPane.margin>
- </Label>
- <Label fx:id="user7Label" GridPane.rowIndex="6">
- <font>
- <Font size="16.0" />
- </font>
- <GridPane.margin>
- <Insets left="10.0" />
- </GridPane.margin>
- </Label>
- <Label fx:id="user8Label" GridPane.rowIndex="7">
- <font>
- <Font size="16.0" />
- </font>
- <GridPane.margin>
- <Insets left="10.0" />
- </GridPane.margin>
- </Label>
- <Label fx:id="user9Label" GridPane.rowIndex="8">
- <font>
- <Font size="16.0" />
- </font>
- <GridPane.margin>
- <Insets left="10.0" />
- </GridPane.margin>
- </Label>
- <Label fx:id="user10Label" GridPane.rowIndex="9">
- <font>
- <Font size="16.0" />
- </font>
- <GridPane.margin>
- <Insets left="10.0" />
- </GridPane.margin>
- </Label>
- <Pane fx:id="user3LabelBackground" prefHeight="200.0" prefWidth="200.0" GridPane.rowIndex="2">
- <GridPane.margin>
- <Insets bottom="5.0" left="3.0" top="5.0" />
- </GridPane.margin>
- </Pane>
- <Pane fx:id="user4LabelBackground" prefHeight="200.0" prefWidth="200.0" GridPane.rowIndex="3">
- <GridPane.margin>
- <Insets bottom="5.0" left="3.0" top="5.0" />
- </GridPane.margin>
- </Pane>
- <Pane fx:id="user5LabelBackground" prefHeight="200.0" prefWidth="200.0" GridPane.rowIndex="4">
- <GridPane.margin>
- <Insets bottom="5.0" left="3.0" top="5.0" />
- </GridPane.margin>
- </Pane>
- <Pane fx:id="user6LabelBackground" prefHeight="200.0" prefWidth="200.0" GridPane.rowIndex="5">
- <GridPane.margin>
- <Insets bottom="5.0" left="3.0" top="5.0" />
- </GridPane.margin>
- </Pane>
- <Pane fx:id="user7LabelBackground" prefHeight="200.0" prefWidth="200.0" GridPane.rowIndex="6">
- <GridPane.margin>
- <Insets bottom="5.0" left="3.0" top="5.0" />
- </GridPane.margin>
- </Pane>
- <Pane fx:id="user8LabelBackground" prefHeight="200.0" prefWidth="200.0" GridPane.rowIndex="7">
- <GridPane.margin>
- <Insets bottom="5.0" left="3.0" top="5.0" />
- </GridPane.margin>
- </Pane>
- <Pane fx:id="user9LabelBackground" prefHeight="200.0" prefWidth="200.0" GridPane.rowIndex="8">
- <GridPane.margin>
- <Insets bottom="5.0" left="3.0" top="5.0" />
- </GridPane.margin>
- </Pane>
- <Pane fx:id="user10LabelBackground" prefHeight="200.0" prefWidth="200.0" GridPane.rowIndex="9">
- <GridPane.margin>
- <Insets bottom="5.0" left="3.0" top="5.0" />
- </GridPane.margin>
- </Pane>
- <Pane fx:id="user1IndicatorBackground" prefHeight="200.0" prefWidth="200.0" GridPane.columnIndex="1">
- <GridPane.margin>
- <Insets bottom="5.0" right="3.0" top="5.0" />
- </GridPane.margin>
- </Pane>
- <Pane fx:id="user2IndicatorBackground" prefHeight="200.0" prefWidth="200.0" GridPane.columnIndex="1" GridPane.rowIndex="1">
- <GridPane.margin>
- <Insets bottom="5.0" right="3.0" top="5.0" />
- </GridPane.margin>
- </Pane>
- <Pane fx:id="user3IndicatorBackground" prefHeight="200.0" prefWidth="200.0" GridPane.columnIndex="1" GridPane.rowIndex="2">
- <GridPane.margin>
- <Insets bottom="5.0" right="3.0" top="5.0" />
- </GridPane.margin>
- </Pane>
- <Pane fx:id="user4IndicatorBackground" prefHeight="200.0" prefWidth="200.0" GridPane.columnIndex="1" GridPane.rowIndex="3">
- <GridPane.margin>
- <Insets bottom="5.0" right="3.0" top="5.0" />
- </GridPane.margin>
- </Pane>
- <Pane fx:id="user5IndicatorBackground" prefHeight="200.0" prefWidth="200.0" GridPane.columnIndex="1" GridPane.rowIndex="4">
- <GridPane.margin>
- <Insets bottom="5.0" right="3.0" top="5.0" />
- </GridPane.margin>
- </Pane>
- <Pane fx:id="user6IndicatorBackground" prefHeight="200.0" prefWidth="200.0" GridPane.columnIndex="1" GridPane.rowIndex="5">
- <GridPane.margin>
- <Insets bottom="5.0" right="3.0" top="5.0" />
- </GridPane.margin>
- </Pane>
- <Pane fx:id="user7IndicatorBackground" prefHeight="200.0" prefWidth="200.0" GridPane.columnIndex="1" GridPane.rowIndex="6">
- <GridPane.margin>
- <Insets bottom="5.0" right="3.0" top="5.0" />
- </GridPane.margin>
- </Pane>
- <Pane fx:id="user8IndicatorBackground" prefHeight="200.0" prefWidth="200.0" GridPane.columnIndex="1" GridPane.rowIndex="7">
- <GridPane.margin>
- <Insets bottom="5.0" right="3.0" top="5.0" />
- </GridPane.margin>
- </Pane>
- <Pane fx:id="user9IndicatorBackground" prefHeight="200.0" prefWidth="200.0" GridPane.columnIndex="1" GridPane.rowIndex="8">
- <GridPane.margin>
- <Insets bottom="5.0" right="3.0" top="5.0" />
- </GridPane.margin>
- </Pane>
- <Pane fx:id="user10IndicatorBackground" prefHeight="200.0" prefWidth="200.0" GridPane.columnIndex="1" GridPane.rowIndex="9">
- <GridPane.margin>
- <Insets bottom="5.0" right="3.0" top="5.0" />
- </GridPane.margin>
- </Pane>
- <Pane fx:id="user2LabelBackground" prefHeight="200.0" prefWidth="200.0" GridPane.rowIndex="1">
- <GridPane.margin>
- <Insets bottom="5.0" left="3.0" top="5.0" />
- </GridPane.margin>
- </Pane>
- </children>
- </GridPane>
- </children>
- <HBox.margin>
- <Insets bottom="10.0" left="10.0" top="10.0" />
- </HBox.margin>
- </VBox>
- <VBox prefHeight="600.0" prefWidth="663.0">
- <children>
- <AnchorPane minHeight="-Infinity" minWidth="-Infinity" prefHeight="276.0" prefWidth="663.0" VBox.vgrow="ALWAYS">
- <children>
- <HBox layoutY="27.0" prefHeight="528.0" prefWidth="663.0" AnchorPane.bottomAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
- <children>
- <VBox prefHeight="508.0" prefWidth="634.0" HBox.hgrow="ALWAYS">
- <HBox.margin>
- <Insets bottom="10.0" left="10.0" right="10.0" top="10.0" />
- </HBox.margin>
- <children>
- <Pane prefHeight="155.0" prefWidth="643.0" style="-fx-background-color: skyblue;">
- <children>
- <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-">
- <font>
- <Font name="System Bold" size="24.0" />
- </font>
- <opaqueInsets>
- <Insets />
- </opaqueInsets>
- <padding>
- <Insets left="10.0" />
- </padding>
- </Label>
- <Button fx:id="previousRestaurantButton" contentDisplay="TOP" layoutX="14.0" layoutY="9.0" mnemonicParsing="false" nodeOrientation="LEFT_TO_RIGHT" onAction="#previousRestaurant" text="Previous" textAlignment="CENTER" />
- <Button fx:id="nextRestaurantButton" layoutX="588.0" layoutY="9.0" mnemonicParsing="false" onAction="#nextRestaurant" text="Next" />
- </children>
- <VBox.margin>
- <Insets />
- </VBox.margin>
- </Pane>
- <Pane prefHeight="430.0" prefWidth="643.0" VBox.vgrow="ALWAYS">
- <children>
- <Label layoutX="323.0" layoutY="6.0" text="Cuisine:">
- <font>
- <Font name="System Bold" size="24.0" />
- </font>
- </Label>
- <Label layoutX="323.0" layoutY="45.0" text="Price:">
- <font>
- <Font name="System Bold" size="24.0" />
- </font>
- </Label>
- <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">
- <font>
- <Font name="System Italic" size="16.0" />
- </font>
- </Button>
- <Label fx:id="cuisineTypeLabel" layoutX="418.0" layoutY="6.0" text="-Insert Cuisine-">
- <font>
- <Font size="24.0" />
- </font>
- </Label>
- <Label fx:id="priceLabel" layoutX="388.0" layoutY="45.0" text="-Insert Price-">
- <font>
- <Font size="24.0" />
- </font>
- </Label>
- <ImageView fx:id="images" fitHeight="296.0" fitWidth="301.0" layoutX="10.0" layoutY="11.0" pickOnBounds="true" smooth="false" />
- <Button layoutX="10.0" layoutY="11.0" mnemonicParsing="false" onAction="#toMapView" prefHeight="296.0" prefWidth="301.0" style="-fx-background-color: transparent;">
- <tooltip>
- <Tooltip text="Click for map" />
- </tooltip></Button>
- <RadioButton fx:id="loveChoice" layoutX="339.0" layoutY="215.0" mnemonicParsing="false" text="I love it" />
- <RadioButton fx:id="neutralChoice" layoutX="448.0" layoutY="215.0" mnemonicParsing="false" text="Neutral" />
- <RadioButton fx:id="hateChoice" layoutX="556.0" layoutY="215.0" mnemonicParsing="false" text="I hate it" />
- <Button fx:id="submit" layoutX="428.0" layoutY="260.0" mnemonicParsing="false" onAction="#submit" prefHeight="25.0" prefWidth="100.0" text="Submit" />
- <ImageView fx:id="ratingStar1L" fitHeight="50.0" fitWidth="50.0" layoutX="323.0" layoutY="131.0" pickOnBounds="true" preserveRatio="true" visible="false">
- <image>
- <Image url="@starLeft.png" />
- </image>
- </ImageView>
- <ImageView fx:id="ratingStar1R" fitHeight="50.0" fitWidth="50.0" layoutX="323.0" layoutY="131.0" pickOnBounds="true" preserveRatio="true" visible="false">
- <image>
- <Image url="@starRight.png" />
- </image>
- </ImageView>
- <ImageView fx:id="ratingStar2L" fitHeight="50.0" fitWidth="50.0" layoutX="390.0" layoutY="131.0" pickOnBounds="true" preserveRatio="true" visible="false">
- <image>
- <Image url="@starLeft.png" />
- </image>
- </ImageView>
- <ImageView fx:id="ratingStar2R" fitHeight="50.0" fitWidth="50.0" layoutX="390.0" layoutY="131.0" pickOnBounds="true" preserveRatio="true" visible="false">
- <image>
- <Image url="@starRight.png" />
- </image>
- </ImageView>
- <ImageView fx:id="ratingStar3L" fitHeight="50.0" fitWidth="50.0" layoutX="457.0" layoutY="131.0" pickOnBounds="true" preserveRatio="true" visible="false">
- <image>
- <Image url="@starLeft.png" />
- </image>
- </ImageView>
- <ImageView fx:id="ratingStar4L" fitHeight="50.0" fitWidth="50.0" layoutX="523.0" layoutY="131.0" pickOnBounds="true" preserveRatio="true" visible="false">
- <image>
- <Image url="@starLeft.png" />
- </image>
- </ImageView>
- <ImageView fx:id="ratingStar3R" fitHeight="49.0" fitWidth="80.0" layoutX="457.0" layoutY="131.0" pickOnBounds="true" preserveRatio="true" visible="false">
- <image>
- <Image url="@starRight.png" />
- </image>
- </ImageView>
- <ImageView fx:id="ratingStar4R" fitHeight="50.0" fitWidth="50.0" layoutX="523.0" layoutY="131.0" pickOnBounds="true" preserveRatio="true" visible="false">
- <image>
- <Image url="@starRight.png" />
- </image>
- </ImageView>
- <ImageView fx:id="ratingStar5L" fitHeight="50.0" fitWidth="50.0" layoutX="586.0" layoutY="131.0" pickOnBounds="true" preserveRatio="true" visible="false">
- <image>
- <Image url="@starLeft.png" />
- </image>
- </ImageView>
- <ImageView fx:id="ratingStar5R" fitHeight="50.0" fitWidth="50.0" layoutX="586.0" layoutY="131.0" pickOnBounds="true" preserveRatio="true" visible="false">
- <image>
- <Image url="@starRight.png" />
- </image>
- </ImageView>
- </children>
- </Pane>
- </children>
- </VBox>
- </children>
- </HBox>
- </children>
- </AnchorPane>
- </children>
- </VBox>
- </children>
- </HBox>
- </children>
- </AnchorPane>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement