Advertisement
Guest User

Untitled

a guest
Mar 3rd, 2019
124
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 7.49 KB | None | 0 0
  1. <?xml version="1.0" encoding="UTF-8"?>
  2.  
  3. <?import java.lang.*?>
  4. <?import javafx.geometry.*?>
  5. <?import javafx.scene.control.*?>
  6. <?import javafx.scene.layout.*?>
  7. <?import javafx.scene.text.*?>
  8. <?import javafx.geometry.Insets?>
  9. <?import javafx.scene.control.Button?>
  10. <?import javafx.scene.control.ChoiceBox?>
  11. <?import javafx.scene.control.Label?>
  12. <?import javafx.scene.control.PasswordField?>
  13. <?import javafx.scene.control.TextField?>
  14. <?import javafx.scene.layout.HBox?>
  15. <?import javafx.scene.layout.StackPane?>
  16. <?import javafx.scene.layout.VBox?>
  17. <?import javafx.scene.text.Font?>
  18. <?import javafx.scene.text.Text?>
  19.  
  20. <StackPane xmlns="http://javafx.com/javafx/8" xmlns:fx="http://javafx.com/fxml/1">
  21.    <children>
  22.       <HBox id="root" alignment="CENTER" fillHeight="false" maxHeight="400.0" maxWidth="550.0" minHeight="400.0" minWidth="550.0" prefHeight="400.0" prefWidth="550.0" spacing="20.0" styleClass="root">
  23.          <children>
  24.             <VBox alignment="CENTER">
  25.                <children>
  26.                   <Text strokeType="OUTSIDE" strokeWidth="0.0" text="Yuconz Employment Record System" textAlignment="CENTER" wrappingWidth="198.13671875" HBox.hgrow="ALWAYS">
  27.                      <font>
  28.                         <Font name="System Bold" size="20.0" />
  29.                      </font>
  30.                   </Text>
  31.                </children>
  32.             </VBox>
  33.             <VBox alignment="CENTER" minHeight="-Infinity" minWidth="-Infinity" prefHeight="400.0" prefWidth="272.0" HBox.hgrow="ALWAYS">
  34.                <children>
  35.                   <VBox>
  36.                      <children>
  37.                         <HBox>
  38.                            <children>
  39.                               <Label fx:id="UsernameLabel" text="Username:" />
  40.                            </children>
  41.                            <padding>
  42.                               <Insets bottom="10.0" top="10.0" />
  43.                            </padding>
  44.                         </HBox>
  45.                         <HBox>
  46.                            <children>
  47.                               <TextField fx:id="Username" maxWidth="400.0" promptText="Username" HBox.hgrow="SOMETIMES" />
  48.                            </children>
  49.                         </HBox>
  50.                      </children>
  51.                      <VBox.margin>
  52.                         <Insets bottom="5.0" left="5.0" right="5.0" top="5.0" />
  53.                      </VBox.margin>
  54.                   </VBox>
  55.                   <VBox>
  56.                      <children>
  57.                         <HBox layoutX="10.0" layoutY="159.0">
  58.                            <children>
  59.                               <Label fx:id="PasswordLabel" text="Password:" />
  60.                            </children>
  61.                            <padding>
  62.                               <Insets bottom="10.0" top="10.0" />
  63.                            </padding>
  64.                         </HBox>
  65.                         <HBox alignment="CENTER_LEFT">
  66.                            <children>
  67.                               <PasswordField fx:id="Password" maxWidth="400.0" promptText="Password" HBox.hgrow="SOMETIMES" VBox.vgrow="ALWAYS" />
  68.                            </children>
  69.                         </HBox>
  70.                      </children>
  71.                      <VBox.margin>
  72.                         <Insets bottom="5.0" left="5.0" right="5.0" top="5.0" />
  73.                      </VBox.margin>
  74.                   </VBox>
  75.                   <VBox>
  76.                      <children>
  77.                         <HBox layoutX="10.0" layoutY="159.0">
  78.                            <children>
  79.                               <Label fx:id="RoleLabel" text="Role:" />
  80.                            </children>
  81.                            <padding>
  82.                               <Insets bottom="10.0" top="10.0" />
  83.                            </padding>
  84.                         </HBox>
  85.                         <HBox alignment="CENTER_LEFT">
  86.                            <children>
  87.                               <ChoiceBox fx:id="Role" maxWidth="400.0" HBox.hgrow="SOMETIMES" />
  88.                            </children>
  89.                         </HBox>
  90.                      </children>
  91.                      <VBox.margin>
  92.                         <Insets bottom="5.0" left="5.0" right="5.0" top="5.0" />
  93.                      </VBox.margin>
  94.                   </VBox>
  95.                   <VBox>
  96.                      <children>
  97.                         <HBox layoutX="10.0" layoutY="159.0">
  98.                            <padding>
  99.                               <Insets bottom="10.0" top="10.0" />
  100.                            </padding>
  101.                            <children>
  102.                               <Button fx:id="LoginBtn" defaultButton="true" mnemonicParsing="false" prefWidth="400.0" text="Login" HBox.hgrow="SOMETIMES" />
  103.                            </children>
  104.                            <VBox.margin>
  105.                               <Insets bottom="5.0" left="5.0" right="5.0" top="5.0" />
  106.                            </VBox.margin>
  107.                         </HBox>
  108.                      </children>
  109.                   </VBox>
  110.                   <VBox>
  111.                      <children>
  112.                         <HBox alignment="CENTER" layoutX="10.0" layoutY="159.0">
  113.                            <children>
  114.                               <Label fx:id="ErrorMessage" style="-fx-background-color: pink;" />
  115.                            </children>
  116.                            <padding>
  117.                               <Insets bottom="10.0" top="10.0" />
  118.                            </padding>
  119.                            <VBox.margin>
  120.                               <Insets bottom="5.0" left="5.0" right="5.0" top="5.0" />
  121.                            </VBox.margin>
  122.                         </HBox>
  123.                      </children>
  124.                   </VBox>
  125.                </children>
  126.                <HBox.margin>
  127.                   <Insets />
  128.                </HBox.margin>
  129.                <padding>
  130.                   <Insets top="60.0" />
  131.                </padding>
  132.             </VBox>
  133.          </children>
  134.          <padding>
  135.             <Insets bottom="10.0" left="10.0" right="10.0" top="10.0" />
  136.          </padding>
  137.       </HBox>
  138.       <VBox mouseTransparent="true" prefHeight="200.0" prefWidth="100.0">
  139.          <children>
  140.             <Label mouseTransparent="true" text="Test Accounts: (username, password, superiority, department)" />
  141.             <Label mouseTransparent="true" text="000001, passworda,      Director / Manager, HR" />
  142.             <Label mouseTransparent="true" text="000002, passwordb,      Director / Manager, ADMINISTRATION" />
  143.             <Label mouseTransparent="true" text="000003, password1,      Director,           SALES_AND_MARKETING" />
  144.             <Label mouseTransparent="true" text="000004, password2,      Director,           SERVICES_DELIVERY" />
  145.             <Label mouseTransparent="true" text="000005, cool,           Manager,            SERVICES_DELIVERY" />
  146.             <Label mouseTransparent="true" text="000006, securepassword, Manager,            SALES_AND_MARKETING" />
  147.             <Label mouseTransparent="true" text="000007, uniofkent,      Employee,           SALES_AND_MARKETING" />
  148.             <Label mouseTransparent="true" text="000008, gleniris,       Employee,           HR" />
  149.             <Label mouseTransparent="true" text="000009, cornwallis,     Employee,           ADMINISTRATION" />
  150.          </children>
  151.       </VBox>
  152.    </children>
  153.    <padding>
  154.       <Insets bottom="10.0" left="10.0" right="10.0" top="10.0" />
  155.    </padding>
  156. </StackPane>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement