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.
JAVA_FX/res/fxml/CaptorMonitorWindow.fxml

58 lines
2.0 KiB

<?xml version="1.0" encoding="UTF-8"?>
<?import javafx.scene.control.*?>
<?import javafx.scene.layout.*?>
<?import javafx.scene.text.*?>
<BorderPane xmlns="http://javafx.com/javafx"
xmlns:fx="http://javafx.com/fxml"
fx:controller="view.CaptorMonitorWindow"
prefHeight="400.0" prefWidth="600.0">
<left>
<ListView fx:id="listView"/>
</left>
<center>
<VBox>
<BorderPane>
<center>
<VBox>
<HBox>
<Text>Id :</Text>
<Text> </Text>
<Text fx:id="id"/>
</HBox>
<HBox>
<Text>Nom du capteur :</Text>
<Text> </Text>
<Text fx:id="name"/>
</HBox>
</VBox>
</center>
</BorderPane>
<BorderPane>
<center>
<TableView style="-fx-padding: 20" fx:id="tableView">
<columns>
<TableColumn fx:id="nomInTable" text="Nom"/>
<TableColumn fx:id="idInTable" text="Id"/>
<TableColumn fx:id="poidsInTable" text="Poids"/>
<TableColumn fx:id="tempInTable" text="Température"/>
</columns>
</TableView>
</center>
<bottom>
<BorderPane>
<center>
<Button onAction="#update" fx:id="buttonRun" style="-fx-padding: 20">Demarrer</Button>
</center>
</BorderPane>
</bottom>
</BorderPane>
</VBox>
</center>
<bottom>
<Button onAction="#exit" fx:id="buttonExit">Fermer</Button>
</bottom>
</BorderPane>