You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
101 lines
4.1 KiB
101 lines
4.1 KiB
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<?import javafx.geometry.Insets?>
|
|
<?import javafx.scene.control.Button?>
|
|
<?import javafx.scene.control.ComboBox?>
|
|
<?import javafx.scene.control.Spinner?>
|
|
<?import javafx.scene.control.TableColumn?>
|
|
<?import javafx.scene.control.TableView?>
|
|
<?import javafx.scene.control.TextField?>
|
|
<?import javafx.scene.control.ToggleButton?>
|
|
<?import javafx.scene.control.TreeView?>
|
|
<?import javafx.scene.layout.BorderPane?>
|
|
<?import javafx.scene.layout.HBox?>
|
|
<?import javafx.scene.layout.VBox?>
|
|
<?import javafx.scene.text.Text?>
|
|
|
|
<BorderPane prefHeight="400.0" prefWidth="600.0" xmlns="http://javafx.com/javafx/18" xmlns:fx="http://javafx.com/fxml/1" fx:controller="views.fenetre.FenetreMenu">
|
|
<left>
|
|
<TreeView fx:id="treeView" prefHeight="200.0" prefWidth="250.0" BorderPane.alignment="CENTER" />
|
|
</left>
|
|
<center>
|
|
<VBox prefHeight="200.0" prefWidth="100.0" BorderPane.alignment="CENTER">
|
|
<children>
|
|
<TextField fx:id="nomDuCapteur" text="Nom" />
|
|
<HBox prefWidth="200.0">
|
|
<children>
|
|
<Text strokeType="OUTSIDE" strokeWidth="0.0" text="Température :">
|
|
<HBox.margin>
|
|
<Insets right="5.0" />
|
|
</HBox.margin></Text>
|
|
<Text fx:id="temperature" strokeType="OUTSIDE" strokeWidth="0.0" />
|
|
</children>
|
|
</HBox>
|
|
<HBox prefWidth="200.0">
|
|
<children>
|
|
<Text strokeType="OUTSIDE" strokeWidth="0.0" text="ID :">
|
|
<HBox.margin>
|
|
<Insets right="5.0" />
|
|
</HBox.margin></Text>
|
|
<Text fx:id="idDuCpateur" strokeType="OUTSIDE" strokeWidth="0.0" />
|
|
</children>
|
|
<VBox.margin>
|
|
<Insets bottom="15.0" />
|
|
</VBox.margin>
|
|
</HBox>
|
|
<HBox prefWidth="200.0" fx:id="strategie">
|
|
<children>
|
|
<Text strokeType="OUTSIDE" strokeWidth="0.0" text="Choix stratégie :">
|
|
<HBox.margin>
|
|
<Insets right="5.0" />
|
|
</HBox.margin>
|
|
</Text>
|
|
<ComboBox fx:id="comboBox" prefWidth="150.0" />
|
|
</children>
|
|
</HBox>
|
|
<ToggleButton fx:id="toggleButton" />
|
|
<HBox prefWidth="200.0" fx:id="frequence">
|
|
<children>
|
|
<Text strokeType="OUTSIDE" strokeWidth="0.0" text="Tick génération (en seconde) :">
|
|
<HBox.margin>
|
|
<Insets right="5.0" />
|
|
</HBox.margin>
|
|
</Text>
|
|
<Spinner fx:id="spinner" />
|
|
</children>
|
|
<VBox.margin>
|
|
<Insets />
|
|
</VBox.margin>
|
|
</HBox>
|
|
<TableView fx:id="tableView" prefHeight="200.0" prefWidth="200.0">
|
|
<columns>
|
|
<TableColumn fx:id="tableType" prefWidth="75.0" text="Type" />
|
|
<TableColumn fx:id="tablePoids" prefWidth="75.0" text="Coeff" />
|
|
<TableColumn fx:id="tableId" prefWidth="75.0" text="Id" />
|
|
</columns>
|
|
</TableView>
|
|
</children>
|
|
<padding>
|
|
<Insets bottom="20.0" left="20.0" right="20.0" top="20.0" />
|
|
</padding>
|
|
</VBox>
|
|
</center>
|
|
<bottom>
|
|
<HBox alignment="CENTER" prefHeight="50.0" BorderPane.alignment="CENTER">
|
|
<children>
|
|
<Button fx:id="boutonDuSlider" mnemonicParsing="false" onAction="#boutonSlider" text="Thermostat">
|
|
<HBox.margin>
|
|
<Insets right="20.0" />
|
|
</HBox.margin>
|
|
</Button>
|
|
<Button mnemonicParsing="false" onAction="#boutonImage" text="Image">
|
|
<HBox.margin>
|
|
<Insets right="20.0" />
|
|
</HBox.margin>
|
|
</Button>
|
|
<Button mnemonicParsing="false" onAction="#boutonFermer" text="Fermer" />
|
|
</children>
|
|
</HBox>
|
|
</bottom>
|
|
</BorderPane>
|