Advertisement
Guest User

Untitled

a guest
Apr 30th, 2017
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 17.88 KB | None | 0 0
  1. <?xml version="1.0" encoding="UTF-8"?>
  2.  
  3. <?import javafx.geometry.*?>
  4. <?import javafx.scene.text.*?>
  5. <?import javafx.scene.control.*?>
  6. <?import java.lang.*?>
  7. <?import javafx.scene.layout.*?>
  8. <?import javafx.scene.layout.AnchorPane?>
  9.  
  10. <AnchorPane maxHeight="1080.0" maxWidth="1920.0" minHeight="480.0" minWidth="640.0" prefHeight="720.0" prefWidth="1280.0" xmlns="http://javafx.com/javafx/8" xmlns:fx="http://javafx.com/fxml/1" fx:controller="GUI.view.CtrlrCustomer">
  11. <children>
  12. <Label alignment="CENTER" layoutX="510.0" layoutY="31.0" prefHeight="63.0" prefWidth="248.0" text="Customer menu!" textAlignment="CENTER">
  13. <font>
  14. <Font size="25.0" />
  15. </font>
  16. </Label>
  17. <Label fx:id="HelloUser" alignment="CENTER" layoutX="515.0" layoutY="56.0" prefHeight="63.0" text="" textAlignment="CENTER">
  18. <font>
  19. <Font size="25.0" />
  20. </font>
  21. </Label>
  22. <Button layoutX="803.0" layoutY="47.0" mnemonicParsing="false" onMouseReleased="#LogOff" text="Log out">
  23. <font>
  24. <Font size="15.0" />
  25. </font>
  26. </Button>
  27. <AnchorPane fx:id="PageEmployees" layoutX="7.0" layoutY="128.0" prefHeight="619.0" prefWidth="1280.0" AnchorPane.bottomAnchor="-34.0" AnchorPane.leftAnchor="7.0" AnchorPane.rightAnchor="-7.0" AnchorPane.topAnchor="128.0">
  28. <children>
  29. <Label layoutX="14.0" layoutY="14.0" text="Make a Booking">
  30. <font>
  31. <Font size="34.0" />
  32. </font>
  33. </Label>
  34. <ComboBox fx:id="BusinessDropDown" layoutX="50.0" layoutY="64.0" onAction="#FindBus" prefHeight="25.0" prefWidth="300.0" promptText="Please Select a Business" />
  35. <Button fx:id="searchButton" layoutX="50.0" layoutY="245.0" mnemonicParsing="false" onAction="#makeBooking" text="Make Booking" visible="false" />
  36. <ComboBox fx:id="BookingType" layoutX="50.0" layoutY="98.0" onAction="#findType" prefHeight="25.0" prefWidth="300.0" promptText="Please Select a Business" visible="false" />
  37. <Label fx:id="BookingError" layoutX="50.0" layoutY="238.0" text="Requested Booking Start Time Unavailable" textFill="RED" visible="false" />
  38. <Label fx:id="BookingSuc" layoutX="50.0" layoutY="238.0" text="Booking Created Sucessfully" textFill="GREEN" visible="false" />
  39. <TextField fx:id="hh" layoutX="234.0" layoutY="147.0" prefHeight="25.0" prefWidth="46.0" promptText="HH" visible="false" />
  40. <TextField fx:id="mm" layoutX="304.0" layoutY="147.0" prefHeight="25.0" prefWidth="46.0" promptText="MM" visible="false" />
  41. <ComboBox fx:id="daysWeek" layoutX="50.0" layoutY="189.0" prefHeight="25.0" prefWidth="300.0" promptText="Please select day of week" visible="false" />
  42. <ComboBox fx:id="weekNo" layoutX="380.0" layoutY="189.0" prefHeight="25.0" prefWidth="300.0" promptText="Please select week" visible="false" />
  43. <ComboBox fx:id="emp" layoutX="380.0" layoutY="147.0" prefHeight="25.0" prefWidth="300.0" promptText="Please select desired employee" visible="false" />
  44. <Label fx:id="desStartTime" layoutX="50.0" layoutY="147.0" prefHeight="25.0" prefWidth="131.0" text="Desired Start Time" visible="false">
  45.  
  46. <font>
  47. <Font size="16.0" />
  48. </font>
  49. </Label>
  50. </children>
  51. </AnchorPane>
  52. <AnchorPane fx:id="PageEmployeeBookings" layoutX="185.0" layoutY="119.0" prefHeight="580.0" prefWidth="899.0" visible="false" AnchorPane.bottomAnchor="21.0">
  53. <children>
  54. <Label layoutX="393.0" layoutY="11.0" text="Bookings">
  55. <font>
  56. <Font size="35.0" />
  57. </font>
  58. </Label>
  59. <Button fx:id="EmployeeBookingsBack" layoutX="29.0" layoutY="24.0" mnemonicParsing="false" text="&lt;- Back">
  60. <font>
  61. <Font size="16.0" />
  62. </font>
  63. </Button>
  64. <AnchorPane prefHeight="465.0" prefWidth="870.0" AnchorPane.leftAnchor="29.0" AnchorPane.topAnchor="71.0">
  65. <children>
  66. <HBox fx:id="BookingsTable" prefHeight="465.0" prefWidth="870.0" AnchorPane.leftAnchor="0.0" AnchorPane.topAnchor="0.0">
  67. <children>
  68. <VBox alignment="TOP_CENTER" prefHeight="477.0" prefWidth="120.0">
  69. <children>
  70. <Pane prefHeight="45.0" prefWidth="120.0" />
  71. <Label alignment="CENTER" maxWidth="120.0" prefHeight="60.0" text="Monday">
  72. <font>
  73. <Font size="22.0" />
  74. </font>
  75. </Label>
  76. <Label alignment="CENTER" maxWidth="120.0" prefHeight="60.0" text="Tuesday">
  77. <font>
  78. <Font size="22.0" />
  79. </font>
  80. </Label>
  81. <Label alignment="CENTER" maxWidth="120.0" prefHeight="60.0" text="Wednesday">
  82. <font>
  83. <Font size="22.0" />
  84. </font>
  85. </Label>
  86. <Label alignment="CENTER" maxWidth="120.0" prefHeight="60.0" text="Thursday">
  87. <font>
  88. <Font size="22.0" />
  89. </font>
  90. </Label>
  91. <Label alignment="CENTER" maxWidth="120.0" prefHeight="60.0" text="Friday">
  92. <font>
  93. <Font size="22.0" />
  94. </font>
  95. </Label>
  96. <Label alignment="CENTER" maxWidth="120.0" prefHeight="60.0" text="Saturday">
  97. <font>
  98. <Font size="22.0" />
  99. </font>
  100. </Label>
  101. <Label alignment="CENTER" maxWidth="120.0" prefHeight="60.0" text="Sunday">
  102. <font>
  103. <Font size="22.0" />
  104. </font>
  105. </Label>
  106. </children>
  107. </VBox>
  108. <VBox fx:id="VBoxMornShifts1" alignment="CENTER_LEFT" prefHeight="465.0" prefWidth="750.0">
  109. <children>
  110. <Label prefHeight="45.0" prefWidth="749.0" text="07:00 ||| 11:00 ||| 15:00 ||| 19:00">
  111. <font>
  112. <Font size="30.0" />
  113. </font>
  114. </Label>
  115. <HBox fx:id="BookingsMonday" prefHeight="60.0" prefWidth="750.0" />
  116. <HBox fx:id="BookingsTuesday" prefHeight="60.0" prefWidth="200.0" />
  117. <HBox fx:id="BookingsWednesday" prefHeight="60.0" prefWidth="200.0" />
  118. <HBox fx:id="BookingsThursday" prefHeight="60.0" prefWidth="200.0" />
  119. <HBox fx:id="BookingsFriday" prefHeight="60.0" prefWidth="200.0" />
  120. <HBox fx:id="BookingsSaturday" prefHeight="60.0" prefWidth="200.0" />
  121. <HBox fx:id="BookingsSunday" prefHeight="60.0" prefWidth="200.0" />
  122. </children>
  123. </VBox>
  124. </children>
  125. </HBox>
  126. <AnchorPane fx:id="AddEmpBookingPage" layoutX="-6.0" prefHeight="515.0" prefWidth="870.0" visible="false">
  127. <children>
  128. <HBox layoutX="25.0" layoutY="54.0" prefHeight="243.0" prefWidth="833.0">
  129. <children>
  130. <VBox alignment="CENTER_RIGHT" prefHeight="243.0" prefWidth="281.0">
  131. <children>
  132. <Label text="Business:">
  133. <font>
  134. <Font size="30.0" />
  135. </font>
  136. <padding>
  137. <Insets bottom="15.0" />
  138. </padding>
  139. </Label>
  140. <Label text="Employee">
  141. <font>
  142. <Font size="30.0" />
  143. </font>
  144. <padding>
  145. <Insets bottom="15.0" />
  146. </padding>
  147. </Label>
  148. <Label text="Type:">
  149. <font>
  150. <Font size="30.0" />
  151. </font>
  152. <padding>
  153. <Insets bottom="15.0" />
  154. </padding>
  155. </Label>
  156. <Label text="Week:">
  157. <font>
  158. <Font size="30.0" />
  159. </font>
  160. <padding>
  161. <Insets bottom="15.0" />
  162. </padding>
  163. </Label>
  164. <Label text="Day:">
  165. <font>
  166. <Font size="30.0" />
  167. </font>
  168. <padding>
  169. <Insets bottom="15.0" />
  170. </padding>
  171. </Label>
  172. <Label text="Time:">
  173. <font>
  174. <Font size="30.0" />
  175. </font>
  176. <padding>
  177. <Insets bottom="15.0" />
  178. </padding>
  179. </Label>
  180. </children>
  181. </VBox>
  182. <VBox alignment="CENTER_LEFT" prefHeight="243.0" prefWidth="554.0">
  183. <children>
  184. <ComboBox fx:id="CBBusiness" minWidth="432.0" prefHeight="25.0" prefWidth="540.0" promptText="~~Business~~">
  185. <VBox.margin>
  186. <Insets bottom="15.0" left="10.0" />
  187. </VBox.margin>
  188. </ComboBox>
  189. <ComboBox fx:id="CBEmployee" disable="true" minWidth="432.0" prefHeight="25.0" prefWidth="540.0" promptText="~~Employee~~">
  190. <VBox.margin>
  191. <Insets bottom="15.0" left="10.0" />
  192. </VBox.margin>
  193. </ComboBox>
  194. <ComboBox fx:id="CBType" disable="true" minWidth="432.0" prefHeight="25.0" prefWidth="540.0" promptText="~~Type~~">
  195. <VBox.margin>
  196. <Insets bottom="15.0" left="10.0" />
  197. </VBox.margin>
  198. </ComboBox>
  199. <ComboBox fx:id="CBWeek" disable="true" minWidth="432.0" prefHeight="25.0" prefWidth="540.0" promptText="~~WeekNo~~">
  200. <VBox.margin>
  201. <Insets bottom="15.0" left="10.0" />
  202. </VBox.margin>
  203. </ComboBox>
  204. <ComboBox fx:id="CBDay" disable="true" minWidth="432.0" prefHeight="25.0" prefWidth="540.0" promptText="~~Weekday~~">
  205. <VBox.margin>
  206. <Insets bottom="15.0" left="10.0" />
  207. </VBox.margin>
  208. </ComboBox>
  209. <ComboBox fx:id="CBTime" disable="true" minWidth="432.0" prefHeight="25.0" prefWidth="540.0" promptText="~~Time~~">
  210. <VBox.margin>
  211. <Insets bottom="15.0" left="10.0" />
  212. </VBox.margin>
  213. </ComboBox>
  214. </children>
  215. </VBox>
  216. </children>
  217. </HBox>
  218. <Label layoutX="341.0" layoutY="14.0" text="Make a booking">
  219. <font>
  220. <Font size="28.0" />
  221. </font>
  222. </Label>
  223. <Button fx:id="MakeBookingClear" layoutX="305.0" layoutY="447.0" mnemonicParsing="false" text="Clear">
  224. <font>
  225. <Font size="20.0" />
  226. </font>
  227. </Button>
  228. <Button fx:id="CreateBooking" disable="true" layoutX="520.0" layoutY="447.0" mnemonicParsing="false" text="Create Booking">
  229. <font>
  230. <Font size="20.0" />
  231. </font>
  232. </Button>
  233. </children>
  234. </AnchorPane>
  235. </children>
  236. </AnchorPane>
  237. <Button fx:id="BookingEmpSwitchView" alignment="CENTER" contentDisplay="CENTER" layoutX="701.0" layoutY="15.0" mnemonicParsing="false" text="Add Booking">
  238. <font>
  239. <Font size="20.0" />
  240. </font>
  241. </Button>
  242. </children></AnchorPane>
  243. <Button layoutX="157.0" layoutY="35.0" mnemonicParsing="false" onAction="#SwitchViews" text="Switch veiws" />
  244. </children>
  245. </AnchorPane>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement