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.
TP_JavaFX/resources/view/TreeView.fxml

35 lines
1.7 KiB

<?xml version="1.0" encoding="UTF-8"?>
<?import javafx.scene.control.Label?>
<?import javafx.scene.control.TreeView?>
<?import javafx.scene.layout.AnchorPane?>
<?import javafx.scene.control.TextField?>
<?import javafx.scene.control.ComboBox?>
<?import javafx.collections.FXCollections?>
<?import java.lang.String?>
<?import javafx.scene.control.TableView?>
<?import javafx.scene.control.ToggleButton?>
<AnchorPane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="400.0"
prefWidth="600.0" xmlns="http://javafx.com/javafx/15.0.1" xmlns:fx="http://javafx.com/fxml/1">
<children>
<TreeView fx:id="treeView" layoutX="20.0" layoutY="27.0" prefHeight="347.0" prefWidth="343.0" />
<Label fx:id="idLabel" layoutX="400.0" layoutY="27.0" text="ID: " />
<Label fx:id="nameLabel" layoutX="400.0" layoutY="57.0" text="Name: " />
<Label fx:id="temperatureLabel" layoutX="400.0" layoutY="87.0" text="Temperature: " />
<TextField fx:id="nameTextField" layoutX="400.0" layoutY="107.0" />
<ToggleButton fx:id="arretGenTemp" text="On/Off" visible="false" layoutX="400.0" layoutY="147.0"/>
<ComboBox fx:id="strategyOptions" layoutX="400.0" layoutY="177.0">
<items>
<FXCollections fx:factory="observableArrayList">
<String fx:value="CPU"></String>
<String fx:value="Random"></String>
</FXCollections>
</items>
</ComboBox>
<TableView fx:id="sousCapteurs" visible="false" prefHeight="300" prefWidth="300" layoutY="200.0" layoutX="400.0"
/>
</children>
</AnchorPane>