Advertisement
Guest User

Sample.FXML

a guest
Feb 7th, 2016
154
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 7.07 KB | None | 0 0
  1. <?xml version="1.0" encoding="UTF-8"?>
  2.  
  3. <?import javafx.scene.paint.*?>
  4. <?import javafx.scene.image.*?>
  5. <?import java.lang.*?>
  6. <?import javafx.scene.control.*?>
  7. <?import javafx.scene.layout.*?>
  8. <?import javafx.scene.text.*?>
  9. <?import javafx.scene.control.Button?>
  10. <?import javafx.scene.control.Label?>
  11. <?import javafx.scene.control.SplitPane?>
  12. <?import javafx.scene.control.TextArea?>
  13. <?import javafx.scene.control.TextField?>
  14. <?import javafx.scene.control.TreeView?>
  15. <?import javafx.scene.image.Image?>
  16. <?import javafx.scene.image.ImageView?>
  17. <?import javafx.scene.layout.AnchorPane?>
  18. <?import javafx.scene.text.Font?>
  19.  
  20. <AnchorPane fx:id="pane1" maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="700.0" prefWidth="800.0" xmlns="http://javafx.com/javafx/8" xmlns:fx="http://javafx.com/fxml/1" fx:controller="gui.SampleController">
  21.    <children>
  22.       <SplitPane fx:id="split1" dividerPositions="0.2656641604010025" layoutX="69.0" layoutY="87.0" prefHeight="613.0" prefWidth="800.0" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="87.0">
  23.         <items>
  24.           <AnchorPane fx:id="liste" minHeight="0.0" minWidth="0.0" prefHeight="160.0" prefWidth="100.0">
  25.                <children>
  26.                   <TreeView fx:id="problemeListe" layoutY="48.0" prefHeight="563.0" prefWidth="209.0" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="48.0" />
  27.                   <Label layoutX="7.0" layoutY="14.0" text="Liste des Questions posées :" textOverrun="CENTER_WORD_ELLIPSIS">
  28.                      <font>
  29.                         <Font size="15.0" />
  30.                      </font>
  31.                   </Label>
  32.                </children>
  33.             </AnchorPane>
  34.           <AnchorPane fx:id="pane2" minHeight="0.0" minWidth="0.0" prefHeight="587.0" prefWidth="583.0">
  35.                <children>
  36.                   <SplitPane fx:id="split2" dividerPositions="0.18883415435139572" layoutY="-14.0" orientation="VERTICAL" prefHeight="548.0" prefWidth="520.0" AnchorPane.bottomAnchor="14.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="-14.0">
  37.                     <items>
  38.                       <AnchorPane fx:id="option" prefHeight="240.0" prefWidth="576.0">
  39.                            <children>
  40.                               <Button fx:id="btninterfaceSupprimer" layoutX="338.0" layoutY="27.0" mnemonicParsing="false">
  41.                                  <graphic>
  42.                                     <ImageView fitHeight="38.0" fitWidth="36.0">
  43.                                        <image>
  44.                                           <Image url="@../../../../../Desktop/delete-256-000000.png" />
  45.                                        </image>
  46.                                     </ImageView>
  47.                                  </graphic>
  48.                               </Button>
  49.                               <Button fx:id="btninterfaceModifier" layoutX="234.0" layoutY="29.0" mnemonicParsing="false" prefHeight="38.0" prefWidth="47.0">
  50.                                  <graphic>
  51.                                     <ImageView fitHeight="34.0" fitWidth="35.0">
  52.                                        <image>
  53.                                           <Image url="@../../../../../Desktop/document-edit-256-000000.png" />
  54.                                        </image>
  55.                                     </ImageView>
  56.                                  </graphic>
  57.                               </Button>
  58.                               <Button fx:id="btninterfaceAjout" layoutX="126.0" layoutY="29.0" mnemonicParsing="false">
  59.                                  <graphic>
  60.                                     <ImageView fitHeight="36.0" fitWidth="37.0">
  61.                                        <image>
  62.                                           <Image url="@../../../../../Desktop/plus.png" />
  63.                                        </image>
  64.                                     </ImageView>
  65.                                  </graphic>
  66.                               </Button>
  67.                               <Label layoutX="125.0" layoutY="83.0" prefHeight="17.0" prefWidth="56.0" text="  Ajouter " />
  68.                               <Label layoutX="232.0" layoutY="83.0" prefHeight="17.0" prefWidth="56.0" text=" Modifier" />
  69.                               <Label layoutX="338.0" layoutY="83.0" prefHeight="17.0" prefWidth="70.0" text=" Supprimer" />
  70.                            </children>
  71.                         </AnchorPane>
  72.                       <AnchorPane fx:id="details" minHeight="0.0" minWidth="0.0" prefHeight="413.0" prefWidth="581.0" SplitPane.resizableWithParent="false">
  73.                            <children>
  74.                               <Label layoutX="14.0" layoutY="94.0" prefHeight="17.0" prefWidth="56.0" text=" Titre :" />
  75.                               <TextField fx:id="txtAjout" layoutX="74.0" layoutY="90.0" prefHeight="25.0" prefWidth="479.0" AnchorPane.topAnchor="90.0" />
  76.                               <Label layoutX="14.0" layoutY="141.0" prefHeight="17.0" prefWidth="78.0" text=" Description :" />
  77.                               <TextField fx:id="txtDescription" alignment="TOP_LEFT" layoutX="74.0" layoutY="176.0" prefHeight="138.0" prefWidth="479.0" AnchorPane.bottomAnchor="159.0" AnchorPane.leftAnchor="74.0" AnchorPane.rightAnchor="28.0" AnchorPane.topAnchor="176.0" />
  78.                               <Label layoutX="14.0" layoutY="376.0" prefHeight="17.0" prefWidth="56.0" text="Mot-Clés :" />
  79.                               <TextField fx:id="txtmotcles" layoutX="74.0" layoutY="372.0" prefHeight="25.0" prefWidth="479.0" />
  80.                               <Button fx:id="btnAjout" layoutX="187.0" layoutY="433.0" mnemonicParsing="false" onAction="#method" text="Ajouter">
  81.                                  <font>
  82.                                     <Font name="System Bold" size="12.0" />
  83.                                  </font>
  84.                               </Button>
  85.                               <Button fx:id="btnReset" layoutX="286.0" layoutY="433.0" mnemonicParsing="false" text="Reset">
  86.                                  <font>
  87.                                     <Font name="System Bold" size="12.0" />
  88.                                  </font>
  89.                               </Button>
  90.                               <Label layoutX="20.0" layoutY="29.0" prefHeight="17.0" prefWidth="245.0" text="Poser votre question :">
  91.                                  <font>
  92.                                     <Font size="18.0" />
  93.                                  </font>
  94.                               </Label>
  95.                            </children>
  96.                         </AnchorPane>
  97.                     </items>
  98.                   </SplitPane>
  99.                </children>
  100.             </AnchorPane>
  101.         </items>
  102.       </SplitPane>
  103.       <ImageView fitHeight="87.0" fitWidth="362.0">
  104.          <image>
  105.             <Image url="@../../../../../Desktop/logoAskAQuestion.png" />
  106.          </image>
  107.       </ImageView>
  108.    </children>
  109. </AnchorPane>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement