Advertisement
Guest User

fxml

a guest
Jun 18th, 2019
149
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 7.91 KB | None | 0 0
  1.  <?xml version="1.0" encoding="UTF-8"?>
  2.  
  3. <?import javafx.geometry.Insets?>
  4. <?import javafx.scene.control.Button?>
  5. <?import javafx.scene.control.Label?>
  6. <?import javafx.scene.control.PasswordField?>
  7. <?import javafx.scene.layout.AnchorPane?>
  8. <?import javafx.scene.layout.HBox?>
  9. <?import javafx.scene.layout.StackPane?>
  10. <?import javafx.scene.layout.VBox?>
  11. <?import javafx.scene.text.Font?>
  12. <?import javafx.scene.text.Text?>
  13.  
  14. <StackPane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="1000.0" prefWidth="1360.0" xmlns="http://javafx.com/javafx/11.0.1" xmlns:fx="http://javafx.com/fxml/1" fx:controller="supermarket.First_sceneController">
  15.    <children>
  16.       <HBox prefHeight="1000.0" prefWidth="1366.0">
  17.          <children>
  18.             <VBox maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="958.0" prefWidth="192.0">
  19.                <children>
  20.                   <Button mnemonicParsing="false" onAction="#adela" prefHeight="92.0" prefWidth="256.0" style="-fx-background-color: rgb(26, 201, 228) 100%; -fx-background-radius: 30;" text="الأدله">
  21.                      <VBox.margin>
  22.                         <Insets top="39.0" />
  23.                      </VBox.margin>
  24.                      <font>
  25.                         <Font name="System Bold" size="18.0" />
  26.                      </font>
  27.                   </Button>
  28.                   <Button mnemonicParsing="false" onAction="#edafa" prefHeight="92.0" prefWidth="256.0" style="-fx-background-color: rgb(26, 201, 228) 100%; -fx-background-radius: 30;" text="اضافه">
  29.                      <VBox.margin>
  30.                         <Insets top="39.0" />
  31.                      </VBox.margin>
  32.                      <font>
  33.                         <Font name="System Bold" size="18.0" />
  34.                      </font>
  35.                   </Button>
  36.                   <Button mnemonicParsing="false" onAction="#mabe3at" prefHeight="92.0" prefWidth="256.0" style="-fx-background-color: rgb(26, 201, 228) 100%; -fx-background-radius: 30;" text="مبيعات">
  37.                      <VBox.margin>
  38.                         <Insets top="39.0" />
  39.                      </VBox.margin>
  40.                      <font>
  41.                         <Font name="System Bold" size="18.0" />
  42.                      </font>
  43.                   </Button>
  44.                   <Button mnemonicParsing="false" onAction="#mortaga3_mabe3at" prefHeight="92.0" prefWidth="256.0" style="-fx-background-color: rgb(26, 201, 228) 100%; -fx-background-radius: 30;" text="مرتجع مبيعات">
  45.                      <VBox.margin>
  46.                         <Insets top="39.0" />
  47.                      </VBox.margin>
  48.                      <font>
  49.                         <Font name="System Bold" size="18.0" />
  50.                      </font>
  51.                   </Button>
  52.                   <Button mnemonicParsing="false" onAction="#tqarer" prefHeight="92.0" prefWidth="256.0" style="-fx-background-color: rgb(26, 201, 228) 100%; -fx-background-radius: 30;" text="تقارير">
  53.                      <VBox.margin>
  54.                         <Insets top="39.0" />
  55.                      </VBox.margin>
  56.                      <font>
  57.                         <Font name="System Bold" size="18.0" />
  58.                      </font>
  59.                   </Button>
  60.                   <Button mnemonicParsing="false" onAction="#e5tiarat" prefHeight="92.0" prefWidth="256.0" style="-fx-background-color: rgb(26, 201, 228) 100%; -fx-background-radius: 30;" text="اختيارات">
  61.                      <VBox.margin>
  62.                         <Insets top="39.0" />
  63.                      </VBox.margin>
  64.                      <font>
  65.                         <Font name="System Bold" size="18.0" />
  66.                      </font>
  67.                   </Button>
  68.                   <Button mnemonicParsing="false" onAction="#nas5_e7tiaty" prefHeight="92.0" prefWidth="256.0" style="-fx-background-color: rgb(26, 201, 228) 100%; -fx-background-radius: 30;" text="نسخ احطياطي">
  69.                      <VBox.margin>
  70.                         <Insets top="39.0" />
  71.                      </VBox.margin>
  72.                      <font>
  73.                         <Font name="System Bold" size="18.0" />
  74.                      </font>
  75.                   </Button>
  76.                </children>
  77.             </VBox>
  78.             <AnchorPane minWidth="-Infinity" prefHeight="200.0" prefWidth="400.0" HBox.hgrow="ALWAYS">
  79.                <children>
  80.                   <Text fill="#ff1f1f" fontSmoothingType="LCD" layoutX="96.0" layoutY="98.0" strokeType="OUTSIDE" strokeWidth="0.0" text="Miami Market" wrappingWidth="402.93670654296875" AnchorPane.bottomAnchor="885.9375" AnchorPane.leftAnchor="96.0" AnchorPane.rightAnchor="-98.93670654296875" AnchorPane.topAnchor="28.9375">
  81.                      <font>
  82.                         <Font size="64.0" />
  83.                      </font>
  84.                   </Text>
  85.                   <AnchorPane layoutX="48.0" layoutY="323.0" maxHeight="-Infinity" maxWidth="-Infinity" prefHeight="238.0" prefWidth="498.0" style="-fx-background-color: linear-gradient(to top,rgb(148, 115, 221) 20%,rgb(26, 201, 228) 100%); -fx-opacity: 90%; -fx-background-radius: 40;" AnchorPane.bottomAnchor="438.6" AnchorPane.leftAnchor="48.0" AnchorPane.rightAnchor="571.1999999999999" AnchorPane.topAnchor="323.0">
  86.                      <children>
  87.                         <Label layoutX="57.0" layoutY="40.0" prefHeight="35.0" prefWidth="106.0" text="user num :">
  88.                            <font>
  89.                               <Font name="System Bold" size="20.0" />
  90.                            </font>
  91.                         </Label>
  92.                         <Label layoutX="58.0" layoutY="78.0" prefHeight="30.0" prefWidth="105.0" text="password :">
  93.                            <font>
  94.                               <Font name="System Bold" size="20.0" />
  95.                            </font>
  96.                         </Label>
  97.                         <PasswordField fx:id="user_no" layoutX="204.0" layoutY="40.0" onAction="#login" />
  98.                         <PasswordField fx:id="pass" layoutX="204.0" layoutY="78.0" onAction="#login" />
  99.                         <Label layoutX="52.0" layoutY="119.0" prefHeight="30.0" prefWidth="116.0" text="active user :" textFill="#cd0505">
  100.                            <font>
  101.                               <Font name="System Bold" size="20.0" />
  102.                            </font>
  103.                         </Label>
  104.                         <Label fx:id="current_user" alignment="CENTER" layoutX="192.0" layoutY="121.0" prefHeight="26.0" prefWidth="212.0" textFill="#7c08c5" AnchorPane.bottomAnchor="91.0" AnchorPane.leftAnchor="192.0" AnchorPane.rightAnchor="94.39999999999998" AnchorPane.topAnchor="121.0">
  105.                            <font>
  106.                               <Font name="System Bold" size="14.0" />
  107.                            </font>
  108.                         </Label>
  109.                         <Label layoutX="81.0" layoutY="157.0" prefHeight="26.0" prefWidth="57.0" text="Date :">
  110.                            <font>
  111.                               <Font name="System Bold" size="20.0" />
  112.                            </font>
  113.                         </Label>
  114.                         <Label fx:id="date" alignment="CENTER" layoutX="189.0" layoutY="159.0" prefHeight="26.0" prefWidth="201.0" textFill="#cd0505" AnchorPane.bottomAnchor="52.199999999999996" AnchorPane.leftAnchor="189.0" AnchorPane.rightAnchor="139.00000000000003" AnchorPane.topAnchor="159.0">
  115.                            <font>
  116.                               <Font name="System Bold" size="14.0" />
  117.                            </font>
  118.                         </Label>
  119.                      </children>
  120.                   </AnchorPane>
  121.                </children>
  122.                <HBox.margin>
  123.                   <Insets left="50.0" />
  124.                </HBox.margin>
  125.             </AnchorPane>
  126.          </children>
  127.       </HBox>
  128.    </children>
  129. </StackPane>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement