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.
70 lines
3.9 KiB
70 lines
3.9 KiB
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<?import javafx.geometry.*?>
|
|
<?import javafx.scene.*?>
|
|
<?import javafx.scene.text.*?>
|
|
<?import javafx.scene.control.*?>
|
|
<?import java.lang.*?>
|
|
<?import javafx.scene.layout.*?>
|
|
|
|
<AnchorPane prefHeight="400.0" prefWidth="600.0" xmlns="http://javafx.com/javafx/8" xmlns:fx="http://javafx.com/fxml/1" fx:controller="controllers.AddRouteController">
|
|
<children>
|
|
<GridPane layoutX="213.0" layoutY="99.0" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
|
|
<columnConstraints>
|
|
<ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="300.0" />
|
|
<ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="300.0" />
|
|
<ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="300.0" />
|
|
</columnConstraints>
|
|
<rowConstraints>
|
|
<RowConstraints maxHeight="50.0" minHeight="50.0" prefHeight="50.0" vgrow="SOMETIMES" />
|
|
<RowConstraints maxHeight="30.0" minHeight="30.0" prefHeight="30.0" vgrow="SOMETIMES" />
|
|
<RowConstraints maxHeight="30.0" minHeight="30.0" prefHeight="30.0" vgrow="SOMETIMES" />
|
|
<RowConstraints minHeight="10.0" prefHeight="348.0" vgrow="SOMETIMES" />
|
|
</rowConstraints>
|
|
<children>
|
|
<ListView fx:id="stopsList" maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308" prefHeight="200.0" prefWidth="200.0" GridPane.rowIndex="3" />
|
|
<Label text="Add Route" GridPane.columnSpan="3" GridPane.halignment="CENTER">
|
|
<font>
|
|
<Font size="18.0" />
|
|
</font>
|
|
</Label>
|
|
<ListView fx:id="routeList" prefHeight="200.0" prefWidth="200.0" GridPane.columnIndex="2" GridPane.rowIndex="3" />
|
|
<GridPane GridPane.columnIndex="1" GridPane.rowIndex="3">
|
|
<columnConstraints>
|
|
<ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" />
|
|
</columnConstraints>
|
|
<rowConstraints>
|
|
<RowConstraints vgrow="SOMETIMES" />
|
|
<RowConstraints maxHeight="30.0" minHeight="30.0" prefHeight="30.0" vgrow="SOMETIMES" />
|
|
<RowConstraints maxHeight="30.0" minHeight="30.0" prefHeight="30.0" vgrow="SOMETIMES" />
|
|
<RowConstraints vgrow="SOMETIMES" />
|
|
</rowConstraints>
|
|
<children>
|
|
<AnchorPane layoutY="25.0" GridPane.rowIndex="1">
|
|
<children>
|
|
<Button mnemonicParsing="false" onAction="#addStop" text=">>>" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0" />
|
|
</children>
|
|
</AnchorPane>
|
|
<AnchorPane GridPane.rowIndex="2">
|
|
<children>
|
|
<Button mnemonicParsing="false" onAction="#removeStop" text="<<<" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0" />
|
|
</children>
|
|
</AnchorPane>
|
|
<AnchorPane GridPane.rowIndex="3">
|
|
<children>
|
|
<Button mnemonicParsing="false" onAction="#addRoute" text="Add Route" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" GridPane.rowIndex="3" />
|
|
</children>
|
|
</AnchorPane>
|
|
</children>
|
|
</GridPane>
|
|
<Label text="Route Name:" GridPane.columnIndex="1" GridPane.halignment="CENTER" GridPane.rowIndex="1">
|
|
<font>
|
|
<Font size="16.0" />
|
|
</font>
|
|
</Label>
|
|
<TextField fx:id="routeName" GridPane.columnIndex="1" GridPane.rowIndex="2" />
|
|
</children>
|
|
</GridPane>
|
|
</children>
|
|
</AnchorPane>
|