Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="UTF-8"?>
- <?import fr.univ_amu.iut.Person?>
- <?import javafx.collections.FXCollections?>
- <?import javafx.geometry.Insets?>
- <?import javafx.scene.control.Label?>
- <?import javafx.scene.control.TableColumn?>
- <?import javafx.scene.control.TableView?>
- <?import javafx.scene.control.cell.PropertyValueFactory?>
- <?import javafx.scene.image.Image?>
- <?import javafx.scene.image.ImageView?>
- <?import javafx.scene.layout.ColumnConstraints?>
- <?import javafx.scene.layout.GridPane?>
- <?import javafx.scene.layout.RowConstraints?>
- <?import javafx.scene.shape.Rectangle?>
- <?import javafx.scene.text.Font?>
- <?import javafx.scene.text.Text?>
- <fx:root alignment="TOP_LEFT" stylesheets="@ArmatureStyle.css" type="javafx.scene.layout.GridPane" vgap="40" xmlns="http://javafx.com/javafx/8.0.121" xmlns:fx="http://javafx.com/fxml/1">
- <Rectangle fx:id="menu" height="1090.0" width="270.0" GridPane.columnIndex="0" GridPane.rowIndex="0" GridPane.rowSpan="2147483647" />
- <Rectangle fx:id="banniere" height="170.0" width="1200.0" GridPane.columnIndex="1" GridPane.rowIndex="0" />
- <Text fx:id="banniereText" fill="WHITE" text="Seek'n'Play" GridPane.columnIndex="1" GridPane.rowIndex="0">
- <GridPane.margin>
- <Insets left="480.0" />
- </GridPane.margin>
- <font>
- <Font size="36.0" />
- </font></Text>
- <TableView fx:id="tableView" maxHeight="1500.0" maxWidth="1000.0" minHeight="500.0" minWidth="0.0" prefHeight="689" prefWidth="1512" GridPane.columnIndex="1" GridPane.rowIndex="3" GridPane.rowSpan="6">
- <columns>
- <TableColumn prefWidth="200" text="Rang">
- <cellValueFactory><PropertyValueFactory property="rang" />
- </cellValueFactory>
- </TableColumn>
- <TableColumn prefWidth="100.0" text="Pseudo">
- <cellValueFactory><PropertyValueFactory property="pseudo" />
- </cellValueFactory>
- </TableColumn>
- <TableColumn prefWidth="350" text="Nom">
- <cellValueFactory><PropertyValueFactory property="nom" />
- </cellValueFactory>
- </TableColumn>
- <TableColumn prefWidth="350" text="Prénom">
- <cellValueFactory><PropertyValueFactory property="prenom" />
- </cellValueFactory>
- </TableColumn>
- <TableColumn prefWidth="260" text="Score">
- <cellValueFactory><PropertyValueFactory property="score" />
- </cellValueFactory>
- </TableColumn>
- </columns>
- <items>
- <FXCollections fx:factory="observableArrayList">
- <Person nom="TARFI" prenom="Emma" pseudo="Algpo" rang="1" score="5000" />
- <Person nom="ROHRBACH" prenom="Nicolas" pseudo="Nicochoco" rang="2" score="4500" />
- <Person nom="POUJOL" prenom="Théo" pseudo="Luxx" rang="3" score="4000" />
- <Person nom="VINCENT" prenom="Léo" pseudo="Cutman" rang="4" score="3250" />
- <Person nom="MARTINEZ" prenom="Nicolas" pseudo="Fantôme" rang="5" score="3000" />
- <Person nom="ZOMBRALIS" prenom="Antoine" pseudo="CubitoineRizoto" rang="6" score="100" />
- </FXCollections>
- </items>
- <GridPane.margin>
- <Insets left="100.0" />
- </GridPane.margin>
- </TableView>
- <Label fx:id="Classement" contentDisplay="TOP" text="Classement" GridPane.columnIndex="1" GridPane.rowIndex="1">
- <font>
- <Font name="Tahoma Bold" size="33.0" />
- </font>
- <GridPane.margin>
- <Insets bottom="50.0" left="400.0" />
- </GridPane.margin></Label>
- <ImageView fitWidth="150" preserveRatio="true" smooth="true" GridPane.columnIndex="0" GridPane.rowIndex="0">
- <image>
- <Image url="https://zupimages.net/up/18/21/08z7.png" />
- </image>
- <GridPane.margin>
- <Insets left="60.0" />
- </GridPane.margin>
- </ImageView>
- <ImageView fitWidth="150" preserveRatio="true" smooth="true" GridPane.columnIndex="1" GridPane.rowIndex="0">
- <image>
- <Image url="https://zupimages.net/up/18/22/do5r.jpg" />
- </image>
- <GridPane.margin>
- <Insets left="750.0" />
- </GridPane.margin>
- </ImageView>
- <ImageView fitWidth="150" preserveRatio="true" smooth="true" GridPane.columnIndex="1" GridPane.rowIndex="0">
- <image>
- <Image url="https://zupimages.net/up/18/22/do5r.jpg" />
- </image>
- <GridPane.margin>
- <Insets left="250.0" />
- </GridPane.margin>
- </ImageView>
- <Text fx:id="connexion" fill="WHITE" text="Connexion" GridPane.columnIndex="0" GridPane.columnSpan="8" GridPane.rowIndex="1">
- <GridPane.margin>
- <Insets left="78.0" />
- </GridPane.margin>
- <font>
- <Font size="24.0" />
- </font></Text>
- <Text id="menu1" fx:id="menu1" fill="WHITE" text="Accueil" GridPane.columnIndex="0" GridPane.rowIndex="3">
- <GridPane.margin>
- <Insets left="105.0" />
- </GridPane.margin>
- <font>
- <Font size="18.0" />
- </font></Text>
- <Text fx:id="menu2" fill="WHITE" text="Evénements" GridPane.columnIndex="0" GridPane.rowIndex="4">
- <GridPane.margin>
- <Insets left="87.0" />
- </GridPane.margin>
- <font>
- <Font size="18.0" />
- </font></Text>
- <Text fx:id="menu3" fill="WHITE" text="A venir" GridPane.columnIndex="0" GridPane.rowIndex="5">
- <GridPane.margin>
- <Insets left="108.0" />
- </GridPane.margin>
- <font>
- <Font size="18.0" />
- </font></Text>
- <Text fx:id="menu4" fill="WHITE" text="Classement" GridPane.columnIndex="0" GridPane.rowIndex="6">
- <GridPane.margin>
- <Insets left="90.0" />
- </GridPane.margin>
- <font>
- <Font size="18.0" />
- </font></Text>
- <Text fx:id="menu5" fill="WHITE" text="Inscription" GridPane.columnIndex="0" GridPane.rowIndex="7">
- <GridPane.margin>
- <Insets left="95.0" />
- </GridPane.margin>
- <font>
- <Font size="18.0" />
- </font></Text>
- <Text fx:id="menu6" fill="WHITE" text="Vos discussions" GridPane.columnIndex="0" GridPane.rowIndex="8">
- <GridPane.margin>
- <Insets left="73.0" />
- </GridPane.margin>
- <font>
- <Font size="18.0" />
- </font></Text>
- <rowConstraints>
- <RowConstraints />
- <RowConstraints maxHeight="24.0" minHeight="0.0" prefHeight="24.0" />
- <RowConstraints maxHeight="29.0" minHeight="0.0" prefHeight="0.0" />
- <RowConstraints />
- <RowConstraints />
- <RowConstraints />
- <RowConstraints />
- <RowConstraints maxHeight="25.0" minHeight="0.0" prefHeight="25.0" />
- <RowConstraints maxHeight="20.0" minHeight="0.0" prefHeight="20.0" />
- </rowConstraints>
- <columnConstraints>
- <ColumnConstraints />
- <ColumnConstraints />
- <ColumnConstraints />
- <ColumnConstraints />
- <ColumnConstraints />
- <ColumnConstraints />
- <ColumnConstraints />
- <ColumnConstraints />
- </columnConstraints>
- </fx:root>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement