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

<?import java.net.*?>
<?import javafx.scene.*?>
<?import com.jfoenix.controls.*?>
<?import java.lang.*?>
<?import javafx.geometry.*?>
<?import javafx.scene.control.*?>
<?import javafx.scene.layout.*?>
<?import javafx.scene.text.*?>
<?import com.jfoenix.controls.JFXButton?>
<?import java.lang.String?>
<?import javafx.geometry.Insets?>
<?import javafx.scene.control.Label?>
<?import javafx.scene.control.ScrollPane?>
<?import javafx.scene.layout.AnchorPane?>
<?import javafx.scene.layout.ColumnConstraints?>
<?import javafx.scene.layout.GridPane?>
<?import javafx.scene.layout.RowConstraints?>
<?import javafx.scene.layout.StackPane?>
<?import javafx.scene.layout.VBox?>
<?import javafx.scene.text.Font?>

<StackPane fx:id="serverListMainStackPane" maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308" minHeight="-Infinity" minWidth="-Infinity" xmlns="http://javafx.com/javafx/8" xmlns:fx="http://javafx.com/fxml/1" fx:controller="seng302.visualiser.controllers.LobbyController">
    <children>
        <GridPane fx:id="serverListMainGridPane" maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308">
            <children>
                <GridPane fx:id="connectGridPane" GridPane.rowIndex="2">
                    <children>
                        <JFXButton fx:id="leaveLobbyButton" buttonType="RAISED" prefHeight="45.0" prefWidth="220.0" ripplerFill="#3493e3" styleClass="invertedButton" text="Leave Lobby" textFill="WHITE" GridPane.columnIndex="2" GridPane.halignment="LEFT" GridPane.valignment="CENTER">
                            <GridPane.margin>
                                <Insets />
                            </GridPane.margin>
                        </JFXButton>
                        <JFXButton fx:id="customizeButton" buttonType="RAISED" prefHeight="45.0" prefWidth="220.0" ripplerFill="#3493e3" styleClass="invertedButton" text="Customize Boat" textFill="WHITE" GridPane.halignment="RIGHT" GridPane.valignment="CENTER" />
                        <JFXButton fx:id="beginRaceButton" buttonType="RAISED" prefHeight="45.0" prefWidth="220.0" ripplerFill="#3493e3" styleClass="invertedButton" text="Begin Race" textFill="WHITE" GridPane.columnIndex="1" GridPane.halignment="CENTER" GridPane.valignment="CENTER" />
                    </children>
                    <columnConstraints>
                        <ColumnConstraints hgrow="SOMETIMES" maxWidth="280.0" minWidth="180.0" prefWidth="180.0" />
                        <ColumnConstraints hgrow="SOMETIMES" maxWidth="1.7976931348623157E308" minWidth="17.0" prefWidth="17.0" />
                        <ColumnConstraints hgrow="SOMETIMES" maxWidth="273.0" minWidth="250.0" prefWidth="273.0" />
                    </columnConstraints>
                    <rowConstraints>
                        <RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
                    </rowConstraints>
                </GridPane>
                <GridPane>
                    <children>
                        <Label fx:id="serverName" text="Party Parrots In Space" GridPane.valignment="CENTER">
                            <font>
                                <Font size="31.0" />
                            </font>
                            <padding>
                                <Insets left="35.0" top="10.0" />
                            </padding>
                        </Label>
                        <Label fx:id="mapName" text="This is a map, it's called Haoming" GridPane.rowIndex="1">
                            <padding>
                                <Insets left="35.0" top="-15.0" />
                            </padding>
                        </Label>
                  <Label fx:id="roomLabel" text="Room: 2145" GridPane.columnIndex="2" GridPane.halignment="RIGHT" GridPane.valignment="CENTER">
                     <font>
                        <Font size="31.0" />
                     </font>
                     <GridPane.margin>
                        <Insets right="20.0" top="10.0" />
                     </GridPane.margin>
                  </Label>
                    </children>
                    <columnConstraints>
                        <ColumnConstraints hgrow="SOMETIMES" maxWidth="732.0" minWidth="10.0" prefWidth="586.0" />
                  <ColumnConstraints hgrow="SOMETIMES" maxWidth="120000.0" minWidth="10.0" prefWidth="314.0" />
                        <ColumnConstraints hgrow="SOMETIMES" maxWidth="445.0" minWidth="10.0" prefWidth="314.0" />
                    </columnConstraints>
                    <rowConstraints>
                        <RowConstraints maxHeight="1.7976931348623157E308" minHeight="50.0" prefHeight="74.0" vgrow="SOMETIMES" />
                        <RowConstraints maxHeight="1.7976931348623157E308" minHeight="23.0" prefHeight="26.0" vgrow="SOMETIMES" />
                    </rowConstraints>
                </GridPane>
                <GridPane GridPane.rowIndex="1">
                    <columnConstraints>
                        <ColumnConstraints hgrow="NEVER" maxWidth="-Infinity" minWidth="-Infinity"
                          prefWidth="115.0"/>
                        <ColumnConstraints hgrow="SOMETIMES" maxWidth="1.7976931348623157E308"
                          minWidth="337.0" prefWidth="430.0"/>
                        <ColumnConstraints hgrow="NEVER" maxWidth="350.0" minWidth="350.0"
                          prefWidth="350.0"/>
                    </columnConstraints>
                    <rowConstraints>
                        <RowConstraints vgrow="SOMETIMES" />
                    </rowConstraints>
                    <children>
                        <ScrollPane fx:id="playerListScrollPane" hbarPolicy="NEVER" GridPane.columnIndex="2" GridPane.halignment="CENTER" GridPane.valignment="CENTER">
                            <content>
                                <VBox fx:id="playerListVBox" alignment="TOP_RIGHT" maxWidth="328.0" minWidth="328.0" prefWidth="328.0" />
                            </content>
                            <GridPane.margin>
                                <Insets bottom="15.0" left="7.0" right="15.0" top="15.0" />
                            </GridPane.margin>
                     <padding>
                        <Insets right="5.0" />
                     </padding>
                        </ScrollPane>
                        <AnchorPane fx:id="serverMap" style="-fx-background-color: skyblue;" GridPane.columnIndex="1">
                     <opaqueInsets>
                        <Insets />
                     </opaqueInsets>
                     <GridPane.margin>
                        <Insets bottom="15.0" left="7.0" right="7.0" top="15.0" />
                     </GridPane.margin>
                        </AnchorPane>
                        <GridPane prefHeight="370.0" prefWidth="189.0" styleClass="tokenGridView"
                          vgap="5.0">
                            <children>
                                <Text strokeType="OUTSIDE" strokeWidth="0.0" text="Tokens"
                                  GridPane.halignment="CENTER">
                                    <font>
                                        <Font name="System Bold" size="18.0"/>
                                    </font>
                                </Text>
                                <StackPane prefHeight="150.0" prefWidth="200.0"
                                  GridPane.rowIndex="1">
                                    <children>
                                        <Label alignment="BOTTOM_CENTER" text="Speed"
                                          StackPane.alignment="BOTTOM_CENTER">
                                            <font>
                                                <Font size="12.0"/>
                                            </font>
                                            <padding>
                                                <Insets bottom="5.0"/>
                                            </padding>
                                        </Label>
                                        <Pane fx:id="speedTokenPane" prefHeight="999.0"
                                          prefWidth="200.0" styleClass="tokenView"/>
                                    </children>
                                </StackPane>
                                <StackPane prefHeight="150.0" prefWidth="200.0"
                                  GridPane.rowIndex="2">
                                    <children>
                                        <Label alignment="BOTTOM_CENTER" text="Handling"
                                          StackPane.alignment="BOTTOM_CENTER">
                                            <font>
                                                <Font size="12.0"/>
                                            </font>
                                            <padding>
                                                <Insets bottom="5.0"/>
                                            </padding>
                                        </Label>
                                        <Pane fx:id="handlingTokenPane" prefHeight="999.0"
                                          prefWidth="200.0" styleClass="tokenView"/>
                                    </children>
                                </StackPane>
                                <StackPane prefHeight="150.0" prefWidth="200.0"
                                  GridPane.rowIndex="3">
                                    <children>
                                        <Label alignment="BOTTOM_CENTER" text="Wind Walker"
                                          StackPane.alignment="BOTTOM_CENTER">
                                            <font>
                                                <Font size="12.0"/>
                                            </font>
                                            <padding>
                                                <Insets bottom="5.0"/>
                                            </padding>
                                        </Label>
                                        <Pane fx:id="windWalkerTokenPane" prefHeight="999.0"
                                          prefWidth="200.0" styleClass="tokenView"/>
                                    </children>
                                </StackPane>
                                <StackPane prefHeight="150.0" prefWidth="200.0"
                                  GridPane.rowIndex="4">
                                    <children>
                                        <Label alignment="BOTTOM_CENTER" text="Bumper"
                                          StackPane.alignment="BOTTOM_CENTER">
                                            <font>
                                                <Font size="12.0"/>
                                            </font>
                                            <padding>
                                                <Insets bottom="5.0"/>
                                            </padding>
                                        </Label>
                                        <Pane fx:id="bumperTokenPane" prefHeight="999.0"
                                          prefWidth="200.0" styleClass="tokenView"/>
                                    </children>
                                </StackPane>
                                <StackPane prefHeight="150.0" prefWidth="200.0"
                                  GridPane.rowIndex="5">
                                    <children>
                                        <Label alignment="BOTTOM_CENTER" text="Random"
                                          StackPane.alignment="BOTTOM_CENTER">
                                            <font>
                                                <Font size="12.0"/>
                                            </font>
                                            <padding>
                                                <Insets bottom="5.0"/>
                                            </padding>
                                        </Label>
                                        <Pane fx:id="randomTokenPane" prefHeight="999.0"
                                          prefWidth="60.0" styleClass="tokenView"/>
                                    </children>
                                </StackPane>
                            </children>
                            <columnConstraints>
                                <ColumnConstraints hgrow="SOMETIMES" maxWidth="80.0" minWidth="80.0"
                                  prefWidth="80.0"/>
                            </columnConstraints>
                            <padding>
                                <Insets bottom="15.0" left="15.0" right="7.0" top="15.0"/>
                            </padding>
                            <rowConstraints>
                                <RowConstraints maxHeight="116.0" minHeight="0.0" prefHeight="40.0"
                                  vgrow="NEVER"/>
                                <RowConstraints maxHeight="285.0" minHeight="-Infinity"
                                  prefHeight="60.0" vgrow="SOMETIMES"/>
                                <RowConstraints maxHeight="285.0" minHeight="-Infinity"
                                  prefHeight="60.0" vgrow="SOMETIMES"/>
                                <RowConstraints maxHeight="141.0" minHeight="-Infinity"
                                  prefHeight="60.0" vgrow="SOMETIMES"/>
                                <RowConstraints maxHeight="285.0" minHeight="-Infinity"
                                  prefHeight="60.0" vgrow="SOMETIMES"/>
                                <RowConstraints maxHeight="285.0" minHeight="-Infinity"
                                  prefHeight="60.0" vgrow="SOMETIMES"/>
                            </rowConstraints>
                        </GridPane>
                    </children>
                </GridPane>
            </children>
            <columnConstraints>
                <ColumnConstraints hgrow="SOMETIMES" maxWidth="1.7976931348623157E308" minWidth="900.0" prefWidth="900.0" />
            </columnConstraints>
            <rowConstraints>
                <RowConstraints maxHeight="80.0" minHeight="80.0" prefHeight="80.0" vgrow="SOMETIMES" />
                <RowConstraints maxHeight="1.7976931348623157E308" minHeight="400.0" prefHeight="400.0" vgrow="SOMETIMES" />
                <RowConstraints maxHeight="80.0" minHeight="80.0" prefHeight="80.0" vgrow="SOMETIMES" />
            </rowConstraints>
        </GridPane>
    </children>
    <stylesheets>
        <URL value="@../css/Master.css"/>
        <URL value="@../css/LobbyView.css"/>
    </stylesheets>
</StackPane>
