|
|
|
|
@ -3,7 +3,6 @@
|
|
|
|
|
<?import javafx.geometry.Insets?>
|
|
|
|
|
<?import javafx.scene.control.Button?>
|
|
|
|
|
<?import javafx.scene.control.Label?>
|
|
|
|
|
<?import javafx.scene.control.ScrollPane?>
|
|
|
|
|
<?import javafx.scene.control.TableColumn?>
|
|
|
|
|
<?import javafx.scene.control.TableView?>
|
|
|
|
|
<?import javafx.scene.control.TextField?>
|
|
|
|
|
@ -11,84 +10,30 @@
|
|
|
|
|
<?import javafx.scene.layout.GridPane?>
|
|
|
|
|
<?import javafx.scene.layout.Pane?>
|
|
|
|
|
<?import javafx.scene.layout.RowConstraints?>
|
|
|
|
|
<?import javafx.scene.shape.Rectangle?>
|
|
|
|
|
<?import javafx.scene.text.Font?>
|
|
|
|
|
|
|
|
|
|
<GridPane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="600.0" prefWidth="800.0" xmlns="http://javafx.com/javafx/8.0.60" xmlns:fx="http://javafx.com/fxml/1" fx:controller="seng202.group9.GUI.RouteRDController">
|
|
|
|
|
<GridPane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="568.0" prefWidth="800.0" xmlns="http://javafx.com/javafx/8.0.60" xmlns:fx="http://javafx.com/fxml/1" fx:controller="seng202.group9.GUI.RouteRDController">
|
|
|
|
|
<columnConstraints>
|
|
|
|
|
<ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0" />
|
|
|
|
|
<ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0" />
|
|
|
|
|
</columnConstraints>
|
|
|
|
|
<rowConstraints>
|
|
|
|
|
<RowConstraints maxHeight="457.0" minHeight="10.0" prefHeight="403.0" vgrow="SOMETIMES" />
|
|
|
|
|
<RowConstraints maxHeight="129.0" minHeight="10.0" prefHeight="111.0" vgrow="SOMETIMES" />
|
|
|
|
|
<RowConstraints maxHeight="457.0" minHeight="10.0" prefHeight="403.0" vgrow="SOMETIMES" />
|
|
|
|
|
</rowConstraints>
|
|
|
|
|
<children>
|
|
|
|
|
<Pane prefHeight="141.0" prefWidth="306.0" GridPane.columnSpan="2">
|
|
|
|
|
<Pane prefHeight="510.0" prefWidth="800.0" GridPane.columnSpan="2" GridPane.rowSpan="2">
|
|
|
|
|
<children>
|
|
|
|
|
<Label layoutX="14.0" layoutY="14.0" text="Route Raw Data">
|
|
|
|
|
<font>
|
|
|
|
|
<Font size="29.0" />
|
|
|
|
|
</font>
|
|
|
|
|
</Label>
|
|
|
|
|
<ScrollPane hbarPolicy="ALWAYS" layoutX="15.0" layoutY="364.0" prefHeight="47.0" prefViewportHeight="29.0" prefViewportWidth="1095.0" prefWidth="765.0" vbarPolicy="NEVER">
|
|
|
|
|
<content>
|
|
|
|
|
<Pane prefHeight="49.0" prefWidth="1021.0">
|
|
|
|
|
<children>
|
|
|
|
|
<TextField fx:id="rAirlineBox" layoutX="6.0" layoutY="2.0" prefHeight="25.0" prefWidth="60.0" promptText="Airline">
|
|
|
|
|
<padding>
|
|
|
|
|
<Insets left="2.0" right="2.0" />
|
|
|
|
|
</padding>
|
|
|
|
|
</TextField>
|
|
|
|
|
<TextField fx:id="rAirlineIDBox" layoutX="66.0" layoutY="2.0" prefHeight="25.0" prefWidth="85.0" promptText="Airline ID">
|
|
|
|
|
<padding>
|
|
|
|
|
<Insets left="2.0" right="2.0" />
|
|
|
|
|
</padding>
|
|
|
|
|
</TextField>
|
|
|
|
|
<TextField fx:id="rSourceBox" layoutX="151.0" layoutY="2.0" prefHeight="25.0" prefWidth="125.0" promptText="Source airport">
|
|
|
|
|
<padding>
|
|
|
|
|
<Insets left="2.0" right="2.0" />
|
|
|
|
|
</padding>
|
|
|
|
|
</TextField>
|
|
|
|
|
<TextField fx:id="rSourceIDBox" layoutX="276.0" layoutY="2.0" prefHeight="25.0" prefWidth="142.0" promptText="Source airport ID">
|
|
|
|
|
<padding>
|
|
|
|
|
<Insets left="2.0" right="2.0" />
|
|
|
|
|
</padding>
|
|
|
|
|
</TextField>
|
|
|
|
|
<TextField fx:id="rDestBox" layoutX="418.0" layoutY="2.0" prefHeight="25.0" prefWidth="154.0" promptText="Destination airport">
|
|
|
|
|
<padding>
|
|
|
|
|
<Insets left="2.0" right="2.0" />
|
|
|
|
|
</padding>
|
|
|
|
|
</TextField>
|
|
|
|
|
<TextField fx:id="rDestIDBox" layoutX="572.0" layoutY="2.0" prefHeight="25.0" prefWidth="187.0" promptText="Destination airport ID">
|
|
|
|
|
<padding>
|
|
|
|
|
<Insets left="2.0" right="2.0" />
|
|
|
|
|
</padding>
|
|
|
|
|
</TextField>
|
|
|
|
|
<TextField fx:id="rCodeshareBox" layoutX="758.0" layoutY="2.0" prefHeight="25.0" prefWidth="99.0" promptText="Codeshare">
|
|
|
|
|
<padding>
|
|
|
|
|
<Insets left="2.0" right="2.0" />
|
|
|
|
|
</padding>
|
|
|
|
|
</TextField>
|
|
|
|
|
<TextField fx:id="rStopsBox" layoutX="857.0" layoutY="2.0" prefHeight="25.0" prefWidth="65.0" promptText="Stops">
|
|
|
|
|
<padding>
|
|
|
|
|
<Insets left="2.0" right="2.0" />
|
|
|
|
|
</padding>
|
|
|
|
|
</TextField>
|
|
|
|
|
<TextField fx:id="rEquipmentBox" layoutX="922.0" layoutY="2.0" prefHeight="25.0" prefWidth="98.0" promptText="Equipment">
|
|
|
|
|
<padding>
|
|
|
|
|
<Insets left="2.0" right="2.0" />
|
|
|
|
|
</padding>
|
|
|
|
|
</TextField>
|
|
|
|
|
</children>
|
|
|
|
|
</Pane>
|
|
|
|
|
</content>
|
|
|
|
|
</ScrollPane>
|
|
|
|
|
<Button layoutX="16.0" layoutY="420.0" mnemonicParsing="false" prefHeight="25.0" prefWidth="125.0" text="Analyse" />
|
|
|
|
|
<Button layoutX="655.0" layoutY="420.0" mnemonicParsing="false" onAction="#addRouteSingle" prefHeight="25.0" prefWidth="125.0" text="Add" />
|
|
|
|
|
<Pane layoutX="16.0" layoutY="53.0" prefHeight="300.0" prefWidth="765.0">
|
|
|
|
|
<Button layoutX="14.0" layoutY="524.0" mnemonicParsing="false" prefHeight="25.0" prefWidth="125.0" text="Analyse" />
|
|
|
|
|
<Button layoutX="656.0" layoutY="524.0" mnemonicParsing="false" onAction="#addRouteSingle" prefHeight="25.0" prefWidth="125.0" text="Add" />
|
|
|
|
|
<Pane layoutX="16.0" layoutY="53.0" prefHeight="403.0" prefWidth="765.0">
|
|
|
|
|
<children>
|
|
|
|
|
<TableView fx:id="tableViewRouteRD" layoutX="-1.0" prefHeight="300.0" prefWidth="765.0">
|
|
|
|
|
<TableView fx:id="tableViewRouteRD" layoutX="-1.0" prefHeight="403.0" prefWidth="765.0">
|
|
|
|
|
<columns>
|
|
|
|
|
<TableColumn fx:id="rAirlineCol" prefWidth="67.0" text="Airline" />
|
|
|
|
|
<TableColumn fx:id="rAirlineIDCol" prefWidth="86.0" text="Airline ID" />
|
|
|
|
|
@ -103,11 +48,41 @@
|
|
|
|
|
</TableView>
|
|
|
|
|
</children>
|
|
|
|
|
</Pane>
|
|
|
|
|
</children>
|
|
|
|
|
</Pane>
|
|
|
|
|
<Pane prefHeight="142.0" prefWidth="800.0" GridPane.columnSpan="2" GridPane.rowIndex="1" GridPane.rowSpan="2147483647">
|
|
|
|
|
<children>
|
|
|
|
|
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="#ec1fff35" height="142.0" layoutY="1.0" stroke="BLACK" strokeType="INSIDE" width="800.0" />
|
|
|
|
|
<Pane layoutX="16.0" layoutY="479.0" prefHeight="32.0" prefWidth="765.0">
|
|
|
|
|
<children>
|
|
|
|
|
<TextField fx:id="rAirlineBox" layoutX="90.0" layoutY="2.0" prefHeight="25.0" prefWidth="100.0" promptText="Airline">
|
|
|
|
|
<padding>
|
|
|
|
|
<Insets left="2.0" right="2.0" />
|
|
|
|
|
</padding>
|
|
|
|
|
</TextField>
|
|
|
|
|
<TextField fx:id="rSourceBox" layoutX="190.0" layoutY="2.0" prefHeight="25.0" prefWidth="150.0" promptText="Source airport">
|
|
|
|
|
<padding>
|
|
|
|
|
<Insets left="2.0" right="2.0" />
|
|
|
|
|
</padding>
|
|
|
|
|
</TextField>
|
|
|
|
|
<TextField fx:id="rDestBox" layoutX="340.0" layoutY="2.0" prefHeight="25.0" prefWidth="150.0" promptText="Destination airport">
|
|
|
|
|
<padding>
|
|
|
|
|
<Insets left="2.0" right="2.0" />
|
|
|
|
|
</padding>
|
|
|
|
|
</TextField>
|
|
|
|
|
<TextField fx:id="rCodeshareBox" layoutX="490.0" layoutY="2.0" prefHeight="25.0" prefWidth="100.0" promptText="Codeshare">
|
|
|
|
|
<padding>
|
|
|
|
|
<Insets left="2.0" right="2.0" />
|
|
|
|
|
</padding>
|
|
|
|
|
</TextField>
|
|
|
|
|
<TextField fx:id="rStopsBox" layoutX="590.0" layoutY="2.0" prefHeight="25.0" prefWidth="75.0" promptText="Stops">
|
|
|
|
|
<padding>
|
|
|
|
|
<Insets left="2.0" right="2.0" />
|
|
|
|
|
</padding>
|
|
|
|
|
</TextField>
|
|
|
|
|
<TextField fx:id="rEquipmentBox" layoutX="665.0" layoutY="2.0" prefHeight="25.0" prefWidth="100.0" promptText="Equipment">
|
|
|
|
|
<padding>
|
|
|
|
|
<Insets left="2.0" right="2.0" />
|
|
|
|
|
</padding>
|
|
|
|
|
</TextField>
|
|
|
|
|
<Label layoutY="4.0" text="Enter Values:" />
|
|
|
|
|
</children>
|
|
|
|
|
</Pane>
|
|
|
|
|
</children>
|
|
|
|
|
</Pane>
|
|
|
|
|
</children>
|
|
|
|
|
|