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.
115 lines
6.5 KiB
115 lines
6.5 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.ScrollPane?>
|
|
<?import javafx.scene.control.TableColumn?>
|
|
<?import javafx.scene.control.TableView?>
|
|
<?import javafx.scene.control.TextField?>
|
|
<?import javafx.scene.layout.ColumnConstraints?>
|
|
<?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">
|
|
<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>
|
|
<children>
|
|
<Pane prefHeight="141.0" prefWidth="306.0" GridPane.columnSpan="2">
|
|
<children>
|
|
<Label layoutX="14.0" layoutY="14.0" text="Route Raw Data">
|
|
<font>
|
|
<Font size="29.0" />
|
|
</font>
|
|
</Label>
|
|
<ScrollPane hbarPolicy="ALWAYS" layoutX="10.0" layoutY="364.0" prefHeight="47.0" prefViewportHeight="29.0" prefViewportWidth="1095.0" prefWidth="776.0" vbarPolicy="NEVER">
|
|
<content>
|
|
<Pane prefHeight="49.0" prefWidth="1021.0">
|
|
<children>
|
|
<TextField 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 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 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 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 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 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="rCodeshareCol" 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="rStopsCol" 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="rEquipmentCol" 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="10.0" layoutY="420.0" mnemonicParsing="false" prefHeight="25.0" prefWidth="125.0" text="Analyse" />
|
|
<Button layoutX="661.0" layoutY="420.0" mnemonicParsing="false" onAction="#addRouteSingle" prefHeight="25.0" prefWidth="125.0" text="Add" />
|
|
<Pane layoutX="8.0" layoutY="53.0" prefHeight="300.0" prefWidth="776.0">
|
|
<children>
|
|
<TableView fx:id="tableViewRouteRD" layoutX="-1.0" prefHeight="300.0" prefWidth="784.0">
|
|
<columns>
|
|
<TableColumn fx:id="rAirlineCol" prefWidth="67.0" text="Airline" />
|
|
<TableColumn fx:id="rAirlineIDCol" prefWidth="86.0" text="Airline ID" />
|
|
<TableColumn fx:id="rSourceCol" minWidth="0.0" prefWidth="124.0" text="Source airport" />
|
|
<TableColumn fx:id="rSourceIDCol" minWidth="0.0" prefWidth="141.0" text="Source airport ID" />
|
|
<TableColumn fx:id="rDestCol" minWidth="0.0" prefWidth="160.0" text="Destination airport" />
|
|
<TableColumn fx:id="rDestIDCol" minWidth="0.0" prefWidth="184.0" text="Destination airport ID" />
|
|
<TableColumn minWidth="0.0" prefWidth="95.0" text="Codeshare" />
|
|
<TableColumn minWidth="0.0" prefWidth="69.0" text="Stops" />
|
|
<TableColumn prefWidth="98.0" text="Equipment" />
|
|
</columns>
|
|
</TableView>
|
|
</children>
|
|
</Pane>
|
|
</children>
|
|
</Pane>
|
|
<Pane prefHeight="114.0" prefWidth="202.0" GridPane.columnSpan="2" GridPane.rowIndex="1">
|
|
<children>
|
|
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="#ec1fff35" height="144.0" layoutY="1.0" stroke="BLACK" strokeType="INSIDE" width="800.0" />
|
|
</children>
|
|
</Pane>
|
|
</children>
|
|
</GridPane>
|