You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
79 lines
4.4 KiB
79 lines
4.4 KiB
<?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.TextField?>
|
|
<?import javafx.scene.layout.ColumnConstraints?>
|
|
<?import javafx.scene.layout.GridPane?>
|
|
<?import javafx.scene.layout.RowConstraints?>
|
|
<?import javafx.scene.text.Font?>
|
|
|
|
<GridPane hgap="10.0" maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="330.0" prefWidth="600.0" vgap="10.0" xmlns="http://javafx.com/javafx/8.0.60" xmlns:fx="http://javafx.com/fxml/1" fx:controller="seng202.group9.GUI.RouteAddController">
|
|
<columnConstraints>
|
|
<ColumnConstraints hgrow="SOMETIMES" maxWidth="280.0" minWidth="10.0" prefWidth="168.0" />
|
|
<ColumnConstraints hgrow="SOMETIMES" maxWidth="515.0" minWidth="10.0" prefWidth="402.0" />
|
|
</columnConstraints>
|
|
<rowConstraints>
|
|
<RowConstraints maxHeight="30.0" minHeight="0.0" prefHeight="30.0" vgrow="SOMETIMES" />
|
|
<RowConstraints maxHeight="30.0" minHeight="4.0" prefHeight="30.0" vgrow="SOMETIMES" />
|
|
<RowConstraints maxHeight="30.0" minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
|
|
<RowConstraints maxHeight="30.0" minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
|
|
<RowConstraints maxHeight="30.0" minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
|
|
<RowConstraints maxHeight="30.0" minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
|
|
<RowConstraints maxHeight="30.0" minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
|
|
<RowConstraints maxHeight="30.0" minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
|
|
</rowConstraints>
|
|
<padding>
|
|
<Insets bottom="10.0" left="10.0" right="10.0" top="10.0" />
|
|
</padding>
|
|
<children>
|
|
<Label text="Add New Route" GridPane.columnSpan="2" GridPane.halignment="CENTER" GridPane.valignment="TOP">
|
|
<font>
|
|
<Font size="18.0" />
|
|
</font>
|
|
</Label>
|
|
<Label text="Airline*" GridPane.halignment="LEFT" GridPane.rowIndex="1">
|
|
<GridPane.margin>
|
|
<Insets bottom="15.0" left="15.0" right="15.0" top="15.0" />
|
|
</GridPane.margin>
|
|
</Label>
|
|
<Label text="Source Airport*" GridPane.halignment="LEFT" GridPane.rowIndex="2">
|
|
<GridPane.margin>
|
|
<Insets bottom="15.0" left="15.0" right="15.0" top="15.0" />
|
|
</GridPane.margin>
|
|
</Label>
|
|
<Label text="Desintation Airport*" GridPane.halignment="LEFT" GridPane.rowIndex="3">
|
|
<GridPane.margin>
|
|
<Insets bottom="15.0" left="15.0" right="15.0" top="15.0" />
|
|
</GridPane.margin>
|
|
</Label>
|
|
<Label text="Codeshare" GridPane.halignment="LEFT" GridPane.rowIndex="4">
|
|
<GridPane.margin>
|
|
<Insets bottom="15.0" left="15.0" right="15.0" top="15.0" />
|
|
</GridPane.margin>
|
|
</Label>
|
|
<Label text="Stops" GridPane.halignment="LEFT" GridPane.rowIndex="5">
|
|
<GridPane.margin>
|
|
<Insets bottom="15.0" left="15.0" right="15.0" top="15.0" />
|
|
</GridPane.margin>
|
|
</Label>
|
|
<Label text="Equipment" GridPane.halignment="LEFT" GridPane.rowIndex="6">
|
|
<GridPane.margin>
|
|
<Insets bottom="15.0" left="15.0" right="15.0" top="15.0" />
|
|
</GridPane.margin>
|
|
</Label>
|
|
<Button fx:id="addButton" mnemonicParsing="false" onAction="#addRouteSingle" text="Add Route" GridPane.columnIndex="1" GridPane.halignment="RIGHT" GridPane.rowIndex="7" />
|
|
<TextField fx:id="rAirlineAdd" prefHeight="31.0" prefWidth="432.0" GridPane.columnIndex="1" GridPane.halignment="RIGHT" GridPane.rowIndex="1" />
|
|
<TextField fx:id="rSourceAdd" GridPane.columnIndex="1" GridPane.halignment="RIGHT" GridPane.rowIndex="2" />
|
|
<TextField fx:id="rDestAdd" GridPane.columnIndex="1" GridPane.halignment="RIGHT" GridPane.rowIndex="3" />
|
|
<TextField fx:id="rCodeshareAdd" GridPane.columnIndex="1" GridPane.halignment="RIGHT" GridPane.rowIndex="4" />
|
|
<TextField fx:id="rStopsAdd" GridPane.columnIndex="1" GridPane.halignment="RIGHT" GridPane.rowIndex="5" />
|
|
<TextField fx:id="rEquipmentAdd" GridPane.columnIndex="1" GridPane.halignment="RIGHT" GridPane.rowIndex="6" />
|
|
<Label text="* = required field" GridPane.halignment="LEFT" GridPane.rowIndex="7">
|
|
<GridPane.margin>
|
|
<Insets bottom="15.0" left="15.0" right="15.0" top="15.0" />
|
|
</GridPane.margin></Label>
|
|
</children>
|
|
</GridPane>
|