-
Notifications
You must be signed in to change notification settings - Fork 0
/
Sample.fxml
37 lines (33 loc) · 1.45 KB
/
Sample.fxml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
<?xml version="1.0" encoding="UTF-8"?>
<?import javafx.scene.chart.LineChart?>
<?import javafx.scene.chart.NumberAxis?>
<?import javafx.scene.control.Button?>
<?import javafx.scene.control.Label?>
<?import javafx.scene.control.Slider?>
<?import javafx.scene.layout.AnchorPane?>
<?import javafx.scene.layout.BorderPane?>
<?import javafx.scene.layout.FlowPane?>
<?import javafx.scene.layout.Pane?>
<?import javafx.scene.layout.HBox?>
<?import javafx.scene.layout.VBox?>
<?import javafx.scene.media.MediaView?>
<?import application.MediaControl?>
<BorderPane prefHeight="800" prefWidth="1600" xmlns="http://javafx.com/javafx/8.0.60" xmlns:fx="http://javafx.com/fxml/1" fx:controller="application.Controller">
<left>
<VBox>
<Button fx:id="button" onAction="#handleButtonClick" text="Restart LoadCell" />
<Button fx:id="button2" text = "Restart Arduino" onAction="#handleButton2Click" />
<Button fx:id="button3" text = "Load from File" onAction="#handleButton3Click" />
<Button fx:id="button4" text = "Save Project" onAction="#saveProject" />
</VBox>
</left>
<center>
<LineChart title="NotLineChart" fx:id="linechart" prefHeight="800" prefWidth="1600">
<xAxis><NumberAxis lowerBound="0" tickUnit="1" upperBound="3" fx:id="xAxis" /></xAxis>
<yAxis><NumberAxis fx:id="yAxis" lowerBound="0" tickUnit="1" upperBound="3" /></yAxis>
</LineChart>
</center>
<right>
<FlowPane fx:id="hboxvideos"></FlowPane>
</right>
</BorderPane>