avancés sur la page principale
This commit is contained in:
parent
54d3ef090e
commit
5c6c91aa81
@ -1,11 +1,13 @@
|
||||
package fr.univ_amu.iut.fp;
|
||||
|
||||
import fr.univ_amu.iut.view.map.AcademiePath;
|
||||
import fr.univ_amu.iut.view.map.France;
|
||||
import fr.univ_amu.iut.view.map.FranceBuilder;
|
||||
import javafx.fxml.FXML;
|
||||
import javafx.fxml.Initializable;
|
||||
import javafx.scene.layout.AnchorPane;
|
||||
import javafx.scene.layout.Pane;
|
||||
import javafx.scene.paint.Color;
|
||||
|
||||
import java.net.URL;
|
||||
import java.util.ResourceBundle;
|
||||
@ -18,8 +20,8 @@ public class Controller implements Initializable {
|
||||
|
||||
private void initFrance() {
|
||||
france = FranceBuilder.create()
|
||||
// .backgroundColor(Color.web("#4aa9d7"))
|
||||
// .fillColor(Color.web("#dcb36c"))
|
||||
.backgroundColor(Color.web("FFFFFF"))
|
||||
.fillColor(Color.web("000000"))
|
||||
// .strokeColor(Color.web("#987028"))
|
||||
// .hoverColor(Color.web("#fec47e"))
|
||||
// .pressedColor(Color.web("#6cee85"))
|
||||
|
@ -1,21 +1,48 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<?import javafx.scene.*?>
|
||||
<?import javafx.scene.control.*?>
|
||||
<?import javafx.scene.layout.*?>
|
||||
<?import javafx.scene.Cursor?>
|
||||
<?import javafx.scene.control.Button?>
|
||||
<?import javafx.scene.control.ScrollBar?>
|
||||
<?import javafx.scene.control.ScrollPane?>
|
||||
<?import javafx.scene.control.TextField?>
|
||||
<?import javafx.scene.layout.AnchorPane?>
|
||||
<?import javafx.scene.layout.StackPane?>
|
||||
|
||||
<AnchorPane id="root" prefHeight="749.0" prefWidth="1030.0" style="-fx-background-color: none;" xmlns="http://javafx.com/javafx/16" xmlns:fx="http://javafx.com/fxml/1" fx:controller="fr.univ_amu.iut.fp.Controller">
|
||||
<AnchorPane id="root" prefHeight="749.0" prefWidth="1030.0" style="-fx-background-color: none;" xmlns="http://javafx.com/javafx/18" xmlns:fx="http://javafx.com/fxml/1" fx:controller="fr.univ_amu.iut.fp.Controller">
|
||||
<children>
|
||||
<AnchorPane prefHeight="80.0" prefWidth="1030.0" style="-fx-background-color: gray;">
|
||||
<StackPane id="stackPaneFrance" fx:id="stackPaneFrance" layoutX="43.0" layoutY="92.0" prefHeight="649.0" prefWidth="642.0" style="-fx-background-color: blue;" />
|
||||
<AnchorPane prefHeight="80.0" prefWidth="1030.0" style="-fx-background-color: gray;" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0">
|
||||
<children>
|
||||
<TextField id="barreDeRecherche " layoutX="329.0" layoutY="27.0" prefHeight="27.0" prefWidth="372.0" promptText="Search" style="-fx-border-color: blue; -fx-border-width: gray; -fx-border-radius: 5em; -fx-background-radius: 5em;" text="Search">
|
||||
<TextField id="barreDeRecherche " layoutX="329.0" layoutY="27.0" prefHeight="27.0" prefWidth="372.0" promptText="Search" style="-fx-border-color: blue; -fx-border-width: gray; -fx-border-radius: 5em; -fx-background-radius: 5em;" text="Search" AnchorPane.leftAnchor="329.0" AnchorPane.rightAnchor="329.0">
|
||||
<cursor>
|
||||
<Cursor fx:constant="CROSSHAIR" />
|
||||
</cursor>
|
||||
</TextField>
|
||||
</children>
|
||||
</AnchorPane>
|
||||
<StackPane id="stackPaneFrance" fx:id="stackPaneFrance" layoutX="47.0" layoutY="125.0" prefHeight="800.0" prefWidth="700.0" style="-fx-background-color: blue;" />
|
||||
<StackPane layoutX="784.0" layoutY="125.0" prefHeight="150.0" prefWidth="200.0" style="-fx-background-color: blue;" />
|
||||
<StackPane layoutX="740.0" layoutY="92.0" prefHeight="311.0" prefWidth="596.0" style="-fx-background-color: blue;" AnchorPane.topAnchor="92.0">
|
||||
<children>
|
||||
<ScrollPane prefHeight="471.0" prefWidth="347.0" style="-fx-background-color: blue;">
|
||||
<content>
|
||||
<AnchorPane minHeight="0.0" minWidth="0.0" prefHeight="308.0" prefWidth="642.0">
|
||||
<children>
|
||||
<Button layoutX="38.0" layoutY="31.0" mnemonicParsing="false" prefHeight="115.0" prefWidth="235.0" text="Button" />
|
||||
<Button layoutX="332.0" layoutY="31.0" mnemonicParsing="false" prefHeight="115.0" prefWidth="235.0" text="Button" />
|
||||
</children>
|
||||
</AnchorPane>
|
||||
</content>
|
||||
</ScrollPane>
|
||||
</children></StackPane>
|
||||
<StackPane layoutX="736.0" layoutY="400.0" prefHeight="344.0" prefWidth="599.0" style="-fx-background-color: red;">
|
||||
<children>
|
||||
<ScrollPane prefHeight="335.0" prefWidth="586.0" style="-fx-background-color: red;" />
|
||||
<AnchorPane prefHeight="200.0" prefWidth="200.0">
|
||||
<children>
|
||||
<ScrollBar layoutX="579.0" nodeOrientation="LEFT_TO_RIGHT" orientation="VERTICAL" prefHeight="337.0" prefWidth="13.0" AnchorPane.bottomAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0" />
|
||||
<Button layoutX="38.0" layoutY="31.0" mnemonicParsing="false" prefHeight="115.0" prefWidth="235.0" text="Button" />
|
||||
<Button layoutX="332.0" layoutY="31.0" mnemonicParsing="false" prefHeight="115.0" prefWidth="235.0" text="Button" />
|
||||
</children>
|
||||
</AnchorPane>
|
||||
</children></StackPane>
|
||||
</children>
|
||||
</AnchorPane>
|
||||
|
Loading…
Reference in New Issue
Block a user