|
|
|
|
@ -6,6 +6,7 @@
|
|
|
|
|
<?import javafx.scene.control.ContextMenu?>
|
|
|
|
|
<?import javafx.scene.control.Label?>
|
|
|
|
|
<?import javafx.scene.control.MenuItem?>
|
|
|
|
|
<?import javafx.scene.control.ScrollPane?>
|
|
|
|
|
<?import javafx.scene.control.TableColumn?>
|
|
|
|
|
<?import javafx.scene.control.TableView?>
|
|
|
|
|
<?import javafx.scene.control.TextField?>
|
|
|
|
|
@ -34,9 +35,9 @@
|
|
|
|
|
</Label>
|
|
|
|
|
<Button layoutX="14.0" layoutY="526.0" mnemonicParsing="false" prefHeight="25.0" prefWidth="125.0" text="Analyse" />
|
|
|
|
|
<Button layoutX="654.0" layoutY="526.0" mnemonicParsing="false" onAction="#addAirlineSingle" prefHeight="25.0" prefWidth="125.0" text="Add" />
|
|
|
|
|
<Pane layoutX="14.0" layoutY="57.0" prefHeight="403.0" prefWidth="765.0">
|
|
|
|
|
<Pane layoutX="14.0" layoutY="57.0" prefHeight="340.0" prefWidth="765.0">
|
|
|
|
|
<children>
|
|
|
|
|
<TableView fx:id="tableViewAirlineRD" layoutX="1.0" prefHeight="403.0" prefWidth="765.0">
|
|
|
|
|
<TableView fx:id="tableViewAirlineRD" layoutX="1.0" prefHeight="340.0" prefWidth="765.0">
|
|
|
|
|
<columns>
|
|
|
|
|
<TableColumn fx:id="airlIDcol" prefWidth="83.0" text="Airline ID" />
|
|
|
|
|
<TableColumn fx:id="airlNamecol" prefWidth="450.0" text="Name" />
|
|
|
|
|
@ -57,42 +58,91 @@
|
|
|
|
|
</TableView>
|
|
|
|
|
</children>
|
|
|
|
|
</Pane>
|
|
|
|
|
<Pane layoutX="14.0" layoutY="483.0" prefHeight="31.0" prefWidth="765.0">
|
|
|
|
|
<children>
|
|
|
|
|
<TextField fx:id="airlNameBox" layoutX="97.0" layoutY="-1.0" prefHeight="31.0" prefWidth="137.0" promptText="Name">
|
|
|
|
|
<padding>
|
|
|
|
|
<Insets left="2.0" right="2.0" />
|
|
|
|
|
</padding>
|
|
|
|
|
</TextField>
|
|
|
|
|
<TextField fx:id="airlAliasBox" layoutX="234.0" layoutY="-1.0" prefHeight="31.0" prefWidth="69.0" promptText="Alias">
|
|
|
|
|
<padding>
|
|
|
|
|
<Insets left="2.0" right="2.0" />
|
|
|
|
|
</padding>
|
|
|
|
|
</TextField>
|
|
|
|
|
<TextField fx:id="airlIATABox" layoutX="303.0" layoutY="-1.0" prefHeight="31.0" prefWidth="69.0" promptText="IATA">
|
|
|
|
|
<padding>
|
|
|
|
|
<Insets left="2.0" right="2.0" />
|
|
|
|
|
</padding>
|
|
|
|
|
</TextField>
|
|
|
|
|
<TextField fx:id="airlICAOBox" layoutX="372.0" layoutY="-1.0" prefHeight="31.0" prefWidth="69.0" promptText="ICAO">
|
|
|
|
|
<padding>
|
|
|
|
|
<Insets left="2.0" right="2.0" />
|
|
|
|
|
</padding>
|
|
|
|
|
</TextField>
|
|
|
|
|
<TextField fx:id="airlCallsignBox" layoutX="441.0" layoutY="-1.0" prefHeight="31.0" prefWidth="84.0" promptText="Callsign">
|
|
|
|
|
<padding>
|
|
|
|
|
<Insets left="2.0" right="2.0" />
|
|
|
|
|
</padding>
|
|
|
|
|
</TextField>
|
|
|
|
|
<TextField fx:id="airlCountryBox" layoutX="525.0" layoutY="-1.0" prefHeight="31.0" prefWidth="137.0" promptText="Country">
|
|
|
|
|
<padding>
|
|
|
|
|
<Insets left="2.0" right="2.0" />
|
|
|
|
|
</padding>
|
|
|
|
|
</TextField>
|
|
|
|
|
<Label layoutY="2.0" prefHeight="25.0" prefWidth="93.0" text="Enter Values:" />
|
|
|
|
|
<ComboBox fx:id="airlActiveCBox" layoutX="662.0" layoutY="-1.0" prefHeight="31.0" prefWidth="102.0" promptText="Active" />
|
|
|
|
|
</children>
|
|
|
|
|
</Pane>
|
|
|
|
|
<ScrollPane layoutX="14.0" layoutY="467.0" prefHeight="56.0" prefWidth="765.0">
|
|
|
|
|
<content>
|
|
|
|
|
<Pane prefHeight="37.0" prefWidth="1436.0">
|
|
|
|
|
<children>
|
|
|
|
|
<TextField fx:id="airlNameBox" layoutX="97.0" layoutY="3.0" prefHeight="31.0" prefWidth="450.0" promptText="Name">
|
|
|
|
|
<padding>
|
|
|
|
|
<Insets left="2.0" right="2.0" />
|
|
|
|
|
</padding>
|
|
|
|
|
</TextField>
|
|
|
|
|
<TextField fx:id="airlAliasBox" layoutX="547.0" layoutY="3.0" prefHeight="31.0" prefWidth="56.0" promptText="Alias">
|
|
|
|
|
<padding>
|
|
|
|
|
<Insets left="2.0" right="2.0" />
|
|
|
|
|
</padding>
|
|
|
|
|
</TextField>
|
|
|
|
|
<TextField fx:id="airlIATABox" layoutX="603.0" layoutY="3.0" prefHeight="31.0" prefWidth="59.0" promptText="IATA">
|
|
|
|
|
<padding>
|
|
|
|
|
<Insets left="2.0" right="2.0" />
|
|
|
|
|
</padding>
|
|
|
|
|
</TextField>
|
|
|
|
|
<TextField fx:id="airlICAOBox" layoutX="662.0" layoutY="3.0" prefHeight="31.0" prefWidth="68.0" promptText="ICAO">
|
|
|
|
|
<padding>
|
|
|
|
|
<Insets left="2.0" right="2.0" />
|
|
|
|
|
</padding>
|
|
|
|
|
</TextField>
|
|
|
|
|
<TextField fx:id="airlCallsignBox" layoutX="730.0" layoutY="3.0" prefHeight="31.0" prefWidth="400.0" promptText="Callsign">
|
|
|
|
|
<padding>
|
|
|
|
|
<Insets left="2.0" right="2.0" />
|
|
|
|
|
</padding>
|
|
|
|
|
</TextField>
|
|
|
|
|
<TextField fx:id="airlCountryBox" layoutX="1130.0" layoutY="3.0" prefHeight="31.0" prefWidth="200.0" promptText="Country">
|
|
|
|
|
<padding>
|
|
|
|
|
<Insets left="2.0" right="2.0" />
|
|
|
|
|
</padding>
|
|
|
|
|
</TextField>
|
|
|
|
|
<Label layoutX="14.0" layoutY="6.0" prefHeight="25.0" prefWidth="84.0" text="Add Airline:" />
|
|
|
|
|
<ComboBox fx:id="airlActiveCBox" layoutX="1330.0" layoutY="-1.0" prefHeight="31.0" prefWidth="102.0" promptText="Active" />
|
|
|
|
|
</children>
|
|
|
|
|
</Pane>
|
|
|
|
|
</content>
|
|
|
|
|
</ScrollPane>
|
|
|
|
|
<ScrollPane layoutX="14.0" layoutY="406.0" prefHeight="56.0" prefWidth="713.0">
|
|
|
|
|
<content>
|
|
|
|
|
<Pane prefHeight="37.0" prefWidth="1315.0">
|
|
|
|
|
<children>
|
|
|
|
|
<TextField fx:id="airlNameFilter" layoutX="57.0" layoutY="3.0" prefHeight="31.0" prefWidth="400.0" promptText="Name">
|
|
|
|
|
<padding>
|
|
|
|
|
<Insets left="2.0" right="2.0" />
|
|
|
|
|
</padding>
|
|
|
|
|
</TextField>
|
|
|
|
|
<TextField fx:id="airlAliasFilter" layoutX="457.0" layoutY="3.0" prefHeight="31.0" prefWidth="56.0" promptText="Alias">
|
|
|
|
|
<padding>
|
|
|
|
|
<Insets left="2.0" right="2.0" />
|
|
|
|
|
</padding>
|
|
|
|
|
</TextField>
|
|
|
|
|
<TextField fx:id="airlIATAFilter" layoutX="513.0" layoutY="3.0" prefHeight="31.0" prefWidth="59.0" promptText="IATA">
|
|
|
|
|
<padding>
|
|
|
|
|
<Insets left="2.0" right="2.0" />
|
|
|
|
|
</padding>
|
|
|
|
|
</TextField>
|
|
|
|
|
<TextField fx:id="airlICAOFilter" layoutX="572.0" layoutY="3.0" prefHeight="31.0" prefWidth="68.0" promptText="ICAO">
|
|
|
|
|
<padding>
|
|
|
|
|
<Insets left="2.0" right="2.0" />
|
|
|
|
|
</padding>
|
|
|
|
|
</TextField>
|
|
|
|
|
<TextField fx:id="airlCallsignFilter" layoutX="640.0" layoutY="3.0" prefHeight="31.0" prefWidth="400.0" promptText="Callsign">
|
|
|
|
|
<padding>
|
|
|
|
|
<Insets left="2.0" right="2.0" />
|
|
|
|
|
</padding>
|
|
|
|
|
</TextField>
|
|
|
|
|
<TextField fx:id="airlCountryFilter" layoutX="1040.0" layoutY="3.0" prefHeight="31.0" prefWidth="200.0" promptText="Country">
|
|
|
|
|
<padding>
|
|
|
|
|
<Insets left="2.0" right="2.0" />
|
|
|
|
|
</padding>
|
|
|
|
|
</TextField>
|
|
|
|
|
<Label layoutX="10.0" layoutY="6.0" prefHeight="25.0" prefWidth="47.0" text="Filter :" />
|
|
|
|
|
<TextField fx:id="airlActiveFilter" layoutX="1240.0" layoutY="3.0" prefHeight="31.0" prefWidth="66.0" promptText="Active">
|
|
|
|
|
<padding>
|
|
|
|
|
<Insets left="2.0" right="2.0" />
|
|
|
|
|
</padding>
|
|
|
|
|
</TextField>
|
|
|
|
|
</children>
|
|
|
|
|
</Pane>
|
|
|
|
|
</content>
|
|
|
|
|
</ScrollPane>
|
|
|
|
|
<Button layoutX="733.0" layoutY="416.0" mnemonicParsing="false" onAction="#filterAirlines" prefHeight="31.0" prefWidth="40.0" text="Go" />
|
|
|
|
|
</children>
|
|
|
|
|
</Pane>
|
|
|
|
|
</children>
|
|
|
|
|
|