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

<?import com.jfoenix.controls.JFXButton?>
<?import com.jfoenix.controls.JFXDialogLayout?>
<?import com.jfoenix.controls.JFXToggleButton?>
<?import java.net.URL?>
<?import javafx.geometry.Insets?>
<?import javafx.scene.control.Label?>
<?import javafx.scene.control.ScrollPane?>
<?import javafx.scene.layout.ColumnConstraints?>
<?import javafx.scene.layout.GridPane?>
<?import javafx.scene.layout.RowConstraints?>
<?import javafx.scene.layout.StackPane?>
<JFXDialogLayout fx:id="keyBindDialog" maxHeight="-Infinity" maxWidth="-Infinity"
  minHeight="-Infinity" minWidth="-Infinity" prefHeight="580.0" prefWidth="500.0"
  xmlns="http://javafx.com/javafx/8" xmlns:fx="http://javafx.com/fxml/1"
  fx:controller="seng302.visualiser.controllers.dialogs.KeyBindingDialogController">
    <stylesheets>
        <URL value="@../../css/dialogs/KeyBindingDialog.css"/>
        <URL value="@../../css/Master.css"/>
    </stylesheets>
   <children>
      <GridPane>
        <columnConstraints>
            <ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0"/>
        </columnConstraints>
        <rowConstraints>
            <RowConstraints maxHeight="-Infinity" minHeight="-Infinity" prefHeight="60.0"
              vgrow="SOMETIMES"/>
            <RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES"/>
            <RowConstraints maxHeight="-Infinity" minHeight="-Infinity" prefHeight="60.0"
              vgrow="SOMETIMES"/>
        </rowConstraints>
         <children>
             <ScrollPane prefHeight="200.0" prefWidth="200.0" GridPane.rowIndex="1">
                 <content>
                     <StackPane prefHeight="150.0" prefWidth="200.0">
                         <children>
                             <GridPane>
                                 <children>
                                     <JFXButton fx:id="viewButton" buttonType="RAISED"
                                       minHeight="35.0" prefWidth="120.0" text="F1"
                                       GridPane.columnIndex="1" GridPane.halignment="CENTER"
                                       GridPane.rowIndex="14" GridPane.valignment="CENTER"/>
                                     <Label text="VIEW ASPECT" GridPane.halignment="CENTER"
                                       GridPane.rowIndex="14" GridPane.valignment="CENTER"/>
                                     <JFXButton fx:id="rightButton" buttonType="RAISED"
                                       minHeight="35.0" prefWidth="120.0" text="D"
                                       GridPane.columnIndex="1" GridPane.halignment="CENTER"
                                       GridPane.rowIndex="13" GridPane.valignment="CENTER"/>
                                     <Label text="RIGHT" GridPane.halignment="CENTER"
                                       GridPane.rowIndex="13" GridPane.valignment="CENTER"/>
                                     <JFXButton fx:id="leftButton" buttonType="RAISED"
                                       minHeight="35.0" prefWidth="120.0" text="A"
                                       GridPane.columnIndex="1" GridPane.halignment="CENTER"
                                       GridPane.rowIndex="12" GridPane.valignment="CENTER"/>
                                     <Label text="LEFT" GridPane.halignment="CENTER"
                                       GridPane.rowIndex="12" GridPane.valignment="CENTER"/>
                                     <JFXButton fx:id="forwardButton" buttonType="RAISED"
                                       minHeight="35.0" prefWidth="120.0" text="W"
                                       GridPane.columnIndex="1" GridPane.halignment="CENTER"
                                       GridPane.rowIndex="10" GridPane.valignment="CENTER"/>
                                     <Label text="FORWARD" GridPane.halignment="CENTER"
                                       GridPane.rowIndex="10" GridPane.valignment="CENTER"/>
                                     <JFXButton fx:id="backwardButton" buttonType="RAISED"
                                       minHeight="35.0" prefWidth="120.0" text="S"
                                       GridPane.columnIndex="1" GridPane.halignment="CENTER"
                                       GridPane.rowIndex="11" GridPane.valignment="CENTER"/>
                                     <Label text="BACKWARD" GridPane.halignment="CENTER"
                                       GridPane.rowIndex="11" GridPane.valignment="CENTER"/>
                                     <Label text="ZOOM IN" GridPane.halignment="CENTER"
                                       GridPane.rowIndex="1" GridPane.valignment="CENTER">
                                         <GridPane.margin>
                                             <Insets/>
                                         </GridPane.margin>
                                     </Label>
                                     <Label text="ZOOM OUT" GridPane.halignment="CENTER"
                                       GridPane.rowIndex="2" GridPane.valignment="CENTER">
                                         <GridPane.margin>
                                             <Insets/>
                                         </GridPane.margin>
                                     </Label>
                                     <Label text="VMG" GridPane.halignment="CENTER"
                                       GridPane.rowIndex="3" GridPane.valignment="CENTER">
                                         <GridPane.margin>
                                             <Insets/>
                                         </GridPane.margin>
                                     </Label>
                                     <Label text="SAILS IN/OUT" GridPane.halignment="CENTER"
                                       GridPane.rowIndex="4" GridPane.valignment="CENTER">
                                         <GridPane.margin>
                                             <Insets/>
                                         </GridPane.margin>
                                     </Label>
                                     <Label text="TACK/GYBE" GridPane.halignment="CENTER"
                                       GridPane.rowIndex="5" GridPane.valignment="CENTER">
                                         <GridPane.margin>
                                             <Insets/>
                                         </GridPane.margin>
                                     </Label>
                                     <Label fx:id="upwindLabel" text="UPWIND"
                                       GridPane.halignment="CENTER" GridPane.rowIndex="6"
                                       GridPane.valignment="CENTER">
                                         <GridPane.margin>
                                             <Insets/>
                                         </GridPane.margin>
                                     </Label>
                                     <Label fx:id="downwindLabel" text="DOWNWIND"
                                       GridPane.halignment="CENTER" GridPane.rowIndex="7"
                                       GridPane.valignment="CENTER">
                                         <GridPane.margin>
                                             <Insets/>
                                         </GridPane.margin>
                                     </Label>
                                     <JFXButton id="ZOOM IN" fx:id="zoomInbtn" buttonType="RAISED"
                                       maxHeight="-Infinity" maxWidth="-Infinity" minHeight="35.0"
                                       minWidth="-Infinity" prefWidth="120.0" text="Z"
                                       GridPane.columnIndex="1" GridPane.halignment="CENTER"
                                       GridPane.rowIndex="1" GridPane.valignment="CENTER"/>
                                     <JFXButton id="ZOOM OUT" fx:id="zoomOutBtn" buttonType="RAISED"
                                       maxHeight="-Infinity" maxWidth="-Infinity" minHeight="35.0"
                                       minWidth="-Infinity" prefWidth="120.0" text="X"
                                       GridPane.columnIndex="1" GridPane.halignment="CENTER"
                                       GridPane.rowIndex="2" GridPane.valignment="CENTER"/>
                                     <JFXButton id="VMG" fx:id="vmgBtn" buttonType="RAISED"
                                       maxHeight="-Infinity" maxWidth="-Infinity" minHeight="35.0"
                                       minWidth="-Infinity" prefWidth="120.0" text="SPACE"
                                       GridPane.columnIndex="1" GridPane.halignment="CENTER"
                                       GridPane.rowIndex="3" GridPane.valignment="CENTER"/>
                                     <JFXButton id="SAILS IN/OUT" fx:id="sailInOutBtn"
                                       buttonType="RAISED" maxHeight="-Infinity"
                                       maxWidth="-Infinity" minHeight="35.0" minWidth="-Infinity"
                                       prefWidth="120.0" text="SHIFT" GridPane.columnIndex="1"
                                       GridPane.halignment="CENTER" GridPane.rowIndex="4"
                                       GridPane.valignment="CENTER"/>
                                     <JFXButton id="TACK/GYBE" fx:id="tackGybeBtn"
                                       buttonType="RAISED" maxHeight="-Infinity"
                                       maxWidth="-Infinity" minHeight="35.0" minWidth="-Infinity"
                                       prefWidth="120.0" text="ENTER" GridPane.columnIndex="1"
                                       GridPane.halignment="CENTER" GridPane.rowIndex="5"
                                       GridPane.valignment="CENTER"/>
                                     <JFXButton id="UPWIND" fx:id="upwindBtn" buttonType="RAISED"
                                       maxHeight="-Infinity" maxWidth="-Infinity" minHeight="35.0"
                                       minWidth="-Infinity" prefWidth="120.0" text="PAGE_UP"
                                       GridPane.columnIndex="1" GridPane.halignment="CENTER"
                                       GridPane.rowIndex="6" GridPane.valignment="CENTER"/>
                                     <JFXButton id="DOWNWIND" fx:id="downwindBtn"
                                       buttonType="RAISED" maxHeight="-Infinity"
                                       maxWidth="-Infinity" minHeight="35.0" minWidth="-Infinity"
                                       prefWidth="120.0" text="PAGE_DOWN" GridPane.columnIndex="1"
                                       GridPane.halignment="CENTER" GridPane.rowIndex="7"
                                       GridPane.valignment="CENTER"/>
                                     <JFXToggleButton fx:id="turningToggle" minHeight="-Infinity"
                                       prefHeight="35.0" text="OFF / ON" GridPane.columnIndex="1"
                                       GridPane.halignment="CENTER" GridPane.rowIndex="8"/>
                                     <Label text="CONTINUOUSLY TURNING" GridPane.halignment="CENTER"
                                       GridPane.rowIndex="8" GridPane.valignment="CENTER">
                                         <GridPane.margin>
                                             <Insets/>
                                         </GridPane.margin>
                                     </Label>
                                     <Label styleClass="sectionLabel" text="BOAT ACTIONS"
                                       GridPane.columnSpan="2" GridPane.halignment="CENTER"
                                       GridPane.valignment="CENTER">
                                         <GridPane.margin>
                                             <Insets left="50.0"/>
                                         </GridPane.margin>
                                     </Label>
                                     <Label styleClass="sectionLabel" text="CAMERA SETTINGS"
                                       GridPane.columnSpan="2" GridPane.halignment="CENTER"
                                       GridPane.rowIndex="9" GridPane.valignment="CENTER">
                                         <GridPane.margin>
                                             <Insets left="50.0"/>
                                         </GridPane.margin>
                                     </Label>
                                 </children>
                                 <columnConstraints>
                                     <ColumnConstraints hgrow="SOMETIMES" maxWidth="-Infinity"
                                       minWidth="-Infinity" prefWidth="250.0"/>
                                     <ColumnConstraints hgrow="SOMETIMES" maxWidth="-Infinity"
                                       minWidth="-Infinity" prefWidth="150.0"/>
                                 </columnConstraints>
                                 <rowConstraints>
                                     <RowConstraints maxHeight="50.0" minHeight="50.0"
                                       prefHeight="50.0" vgrow="SOMETIMES"/>
                                     <RowConstraints maxHeight="50.0" minHeight="50.0"
                                       prefHeight="50.0" vgrow="SOMETIMES"/>
                                     <RowConstraints maxHeight="50.0" minHeight="50.0"
                                       prefHeight="50.0" vgrow="SOMETIMES"/>
                                     <RowConstraints maxHeight="50.0" minHeight="50.0"
                                       prefHeight="50.0" vgrow="SOMETIMES"/>
                                     <RowConstraints maxHeight="50.0" minHeight="50.0"
                                       prefHeight="50.0" vgrow="SOMETIMES"/>
                                     <RowConstraints maxHeight="50.0" minHeight="50.0"
                                       prefHeight="50.0" vgrow="SOMETIMES"/>
                                     <RowConstraints maxHeight="50.0" minHeight="50.0"
                                       prefHeight="50.0" vgrow="SOMETIMES"/>
                                     <RowConstraints maxHeight="50.0" minHeight="50.0"
                                       prefHeight="50.0" vgrow="SOMETIMES"/>
                                     <RowConstraints maxHeight="50.0" minHeight="50.0"
                                       prefHeight="50.0" vgrow="SOMETIMES"/>
                                     <RowConstraints maxHeight="50.0" minHeight="50.0"
                                       prefHeight="50.0" vgrow="SOMETIMES"/>
                                     <RowConstraints maxHeight="50.0" minHeight="50.0"
                                       prefHeight="50.0" vgrow="SOMETIMES"/>
                                     <RowConstraints maxHeight="50.0" minHeight="50.0"
                                       prefHeight="50.0" vgrow="SOMETIMES"/>
                                     <RowConstraints maxHeight="50.0" minHeight="50.0"
                                       prefHeight="50.0" vgrow="SOMETIMES"/>
                                     <RowConstraints maxHeight="50.0" minHeight="50.0"
                                       prefHeight="50.0" vgrow="SOMETIMES"/>
                                     <RowConstraints maxHeight="50.0" minHeight="50.0"
                                       prefHeight="50.0" vgrow="SOMETIMES"/>
                                 </rowConstraints>
                             </GridPane>
                         </children>
                     </StackPane>
                 </content>
             </ScrollPane>
             <Label fx:id="keyBindingDialogHeader" text="CUSTOM KEYBINDING" GridPane.columnSpan="2"
               GridPane.halignment="CENTER" GridPane.valignment="CENTER"/>
             <Label fx:id="closeLabel" text="✖" GridPane.halignment="RIGHT"
               GridPane.valignment="TOP"/>
             <JFXButton fx:id="resetBtn" buttonType="RAISED" maxHeight="-Infinity"
               maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="45.0"
               prefWidth="150.0" text="RESET" GridPane.columnSpan="2" GridPane.halignment="CENTER"
               GridPane.rowIndex="2" GridPane.valignment="CENTER"/>
         </children>
      </GridPane>
   </children>
</JFXDialogLayout>
