Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="UTF-8"?>
- <?import java.lang.String?>
- <?import javafx.collections.FXCollections?>
- <?import javafx.scene.control.Button?>
- <?import javafx.scene.control.ComboBox?>
- <?import javafx.scene.control.Label?>
- <?import javafx.scene.control.PasswordField?>
- <?import javafx.scene.control.Tab?>
- <?import javafx.scene.control.TabPane?>
- <?import javafx.scene.control.TableColumn?>
- <?import javafx.scene.control.TableView?>
- <?import javafx.scene.control.TextField?>
- <?import javafx.scene.layout.AnchorPane?>
- <?import javafx.scene.layout.BorderPane?>
- <BorderPane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="400.0" prefWidth="600.0" xmlns="http://javafx.com/javafx/8.0.60" xmlns:fx="http://javafx.com/fxml/1" fx:controller="sevenseas.misc.contentController">
- <bottom>
- <Label fx:id="notificationLbl" BorderPane.alignment="CENTER" />
- </bottom>
- <center>
- <TabPane fx:id="tabPane" prefHeight="200.0" prefWidth="200.0" tabClosingPolicy="UNAVAILABLE" BorderPane.alignment="CENTER">
- <tabs>
- <Tab fx:id="routeManagement" text="Route Management">
- <content>
- <AnchorPane minHeight="0.0" minWidth="0.0" prefHeight="180.0" prefWidth="200.0">
- <children>
- <TabPane prefHeight="355.0" prefWidth="600.0" tabClosingPolicy="UNAVAILABLE">
- <tabs>
- <Tab text="Add route">
- <content>
- <AnchorPane minHeight="0.0" minWidth="0.0" prefHeight="180.0" prefWidth="200.0">
- <children>
- <Label layoutX="82.0" layoutY="128.0" text="Add route from" />
- <TextField fx:id="portA" layoutX="167.0" layoutY="124.0" promptText="departing port" />
- <Label layoutX="318.0" layoutY="128.0" text="to" />
- <TextField fx:id="portB" layoutX="331.0" layoutY="124.0" promptText="arriving port" />
- <Label layoutX="483.0" layoutY="128.0" text="where " />
- <Label layoutX="81.0" layoutY="154.0" text="distance is around" />
- <TextField fx:id="routeDistance" layoutX="181.0" layoutY="150.0" prefHeight="25.0" prefWidth="85.0" promptText="estimated" />
- <Label layoutX="268.0" layoutY="154.0" text="km and the rate is" />
- <TextField fx:id="distanceRate" layoutX="366.0" layoutY="150.0" prefHeight="25.0" prefWidth="105.0" promptText="cost" />
- <Label layoutX="474.0" layoutY="154.0" text="per km." />
- <Label layoutX="81.0" layoutY="181.0" text="Are you sure you wanted to" />
- <Button fx:id="addRoute" layoutX="231.0" layoutY="177.0" mnemonicParsing="false" onAction="#addRoute" text="add" />
- <Label layoutX="273.0" layoutY="181.0" text="?" />
- </children>
- </AnchorPane>
- </content>
- </Tab>
- <Tab text="View route">
- <content>
- <AnchorPane minHeight="0.0" minWidth="0.0" prefHeight="180.0" prefWidth="200.0" />
- </content>
- </Tab>
- </tabs>
- </TabPane>
- </children></AnchorPane>
- </content>
- </Tab>
- <Tab fx:id="freightManagement" text="Freight Management">
- <content>
- <AnchorPane minHeight="0.0" minWidth="0.0" prefHeight="180.0" prefWidth="200.0">
- <children>
- <TabPane prefHeight="357.0" prefWidth="600.0" tabClosingPolicy="UNAVAILABLE">
- <tabs>
- <Tab text="Add freight">
- <content>
- <AnchorPane minHeight="0.0" minWidth="0.0" prefHeight="180.0" prefWidth="200.0">
- <children>
- <Label layoutX="112.0" layoutY="127.0" text="User" />
- <TextField layoutX="143.0" layoutY="123.0" />
- <Label layoutX="295.0" layoutY="127.0" text="would like to ship his/her cargo item" />
- <Label layoutX="111.0" layoutY="156.0" text="from" />
- <TextField layoutX="143.0" layoutY="152.0" prefHeight="25.0" prefWidth="138.0" />
- <Label layoutX="286.0" layoutY="156.0" text="to" />
- <TextField layoutX="300.0" layoutY="152.0" />
- <Label layoutX="451.0" layoutY="156.0" text="where" />
- <Label layoutX="110.0" layoutY="185.0" text="the cargo weighted around" />
- <Label layoutX="323.0" layoutY="185.0" text="kg. Do you want to " />
- <TextField layoutX="259.0" layoutY="181.0" prefHeight="25.0" prefWidth="58.0" />
- <Label layoutX="478.0" layoutY="185.0" text="it?" />
- <Button layoutX="431.0" layoutY="181.0" mnemonicParsing="false" text="add" />
- </children>
- </AnchorPane>
- </content>
- </Tab>
- <Tab text="View freight">
- <content>
- <AnchorPane minHeight="0.0" minWidth="0.0" prefHeight="180.0" prefWidth="200.0" />
- </content>
- </Tab>
- </tabs>
- </TabPane>
- </children></AnchorPane>
- </content>
- </Tab>
- <Tab fx:id="userManagement" text="User Management">
- <content>
- <AnchorPane minHeight="0.0" minWidth="0.0" prefHeight="180.0" prefWidth="200.0">
- <children>
- <TabPane layoutY="-1.0" prefHeight="357.0" prefWidth="600.0" tabClosingPolicy="UNAVAILABLE">
- <tabs>
- <Tab text="View">
- <content>
- <AnchorPane minHeight="0.0" minWidth="0.0" prefHeight="180.0" prefWidth="200.0">
- <children>
- <TableView layoutY="-3.0" prefHeight="331.0" prefWidth="600.0">
- <columns>
- <TableColumn fx:id="name" prefWidth="75.0" text="C1" />
- <TableColumn prefWidth="75.0" text="C2" />
- </columns>
- </TableView>
- </children></AnchorPane>
- </content>
- </Tab>
- <Tab text="Register">
- <content>
- <AnchorPane fx:id="rolesCmd" minHeight="0.0" minWidth="0.0" prefHeight="180.0" prefWidth="200.0">
- <children>
- <TextField fx:id="usernameTxt" layoutX="263.0" layoutY="91.0" />
- <Label layoutX="188.0" layoutY="95.0" text="Username:" />
- <Label layoutX="188.0" layoutY="127.0" text="Password:" />
- <Label layoutX="188.0" layoutY="163.0" text="Roles:" />
- <PasswordField fx:id="passwordTxt" layoutX="263.0" layoutY="123.0" />
- <ComboBox fx:id="rolesCmb" layoutX="263.0" layoutY="159.0" prefWidth="150.0" promptText="none">
- <items>
- <FXCollections fx:factory="observableArrayList">
- <String fx:value="admin" />
- <String fx:value="client" />
- <String fx:value="customer" />
- </FXCollections>
- </items>
- </ComboBox>
- <Button fx:id="registerBtn" layoutX="188.0" layoutY="229.0" mnemonicParsing="false" onAction="#registerUser" prefHeight="25.0" prefWidth="82.0" text="Register" />
- <Button fx:id="resetBtn" layoutX="330.0" layoutY="229.0" mnemonicParsing="false" onAction="#resetField" prefHeight="25.0" prefWidth="82.0" text="Reset" />
- </children>
- </AnchorPane>
- </content>
- </Tab>
- <Tab text="Edit">
- <content>
- <AnchorPane minHeight="0.0" minWidth="0.0" prefHeight="180.0" prefWidth="200.0">
- <children>
- <TextField fx:id="searchTxt" layoutX="40.0" layoutY="14.0" onAction="#searchUser" prefHeight="25.0" prefWidth="411.0" />
- <Button fx:id="searchBtn" layoutX="458.0" layoutY="14.0" mnemonicParsing="false" onAction="#searchUser" prefHeight="25.0" prefWidth="103.0" text="Search" />
- <TextField fx:id="usernameTxt" layoutX="263.0" layoutY="108.0" />
- <Label layoutX="188.0" layoutY="112.0" text="Username:" />
- <Label layoutX="188.0" layoutY="143.0" text="Password:" />
- <PasswordField fx:id="passwordTxt" layoutX="263.0" layoutY="139.0" />
- <Button fx:id="editBtn" layoutX="188.0" layoutY="199.0" mnemonicParsing="false" onAction="#registerUser" prefHeight="25.0" prefWidth="82.0" text="Edit" />
- <Button fx:id="resetBtn" layoutX="330.0" layoutY="199.0" mnemonicParsing="false" onAction="#resetField" prefHeight="25.0" prefWidth="82.0" text="Reset" />
- </children></AnchorPane>
- </content>
- </Tab>
- <Tab text="Remove">
- <content>
- <AnchorPane minHeight="0.0" minWidth="0.0" prefHeight="180.0" prefWidth="200.0">
- <children>
- <TextField fx:id="deleteTxt" layoutX="143.0" layoutY="152.0" />
- <Label layoutX="107.0" layoutY="156.0" text="I wish" />
- <Label layoutX="296.0" layoutY="156.0" text="can be" />
- <Button fx:id="removeBtn" layoutX="334.0" layoutY="152.0" mnemonicParsing="false" onAction="#removeUser" text="removed" />
- <Label layoutX="400.0" layoutY="156.0" text="from data storage." />
- </children></AnchorPane>
- </content>
- </Tab>
- </tabs>
- </TabPane>
- </children>
- </AnchorPane>
- </content>
- </Tab>
- <Tab fx:id="clientManagement" text="Client Management">
- <content>
- <AnchorPane minHeight="0.0" minWidth="0.0" prefHeight="180.0" prefWidth="200.0">
- <children>
- <TabPane prefHeight="357.0" prefWidth="600.0" tabClosingPolicy="UNAVAILABLE">
- <tabs>
- <Tab text="Add ship">
- <content>
- <AnchorPane minHeight="0.0" minWidth="0.0" prefHeight="180.0" prefWidth="200.0" />
- </content>
- </Tab>
- <Tab text="View client">
- <content>
- <AnchorPane minHeight="0.0" minWidth="0.0" prefHeight="180.0" prefWidth="200.0" />
- </content>
- </Tab>
- </tabs>
- </TabPane>
- </children>
- </AnchorPane>
- </content>
- </Tab>
- </tabs>
- </TabPane>
- </center>
- </BorderPane>
Add Comment
Please, Sign In to add comment