First View and some Binding
continuous-integration/drone/push Build was killed
Details
continuous-integration/drone/push Build was killed
Details
parent
6b52aa8ac4
commit
97b0cd6856
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,5 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<?import javafx.scene.layout.*?>
|
||||
|
||||
<Pane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="400.0" prefWidth="600.0" xmlns="http://javafx.com/javafx/11.0.14-internal" xmlns:fx="http://javafx.com/fxml/1" />
|
@ -0,0 +1,25 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<?import javafx.scene.control.*?>
|
||||
<?import javafx.scene.image.*?>
|
||||
<?import javafx.scene.layout.*?>
|
||||
|
||||
<SplitPane dividerPositions="0.29797979797979796" maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="400.0" prefWidth="600.0" xmlns="http://javafx.com/javafx/11.0.14-internal" xmlns:fx="http://javafx.com/fxml/1" fx:controller="view.MainPage">
|
||||
<AnchorPane minHeight="0.0" minWidth="0.0" prefHeight="160.0" prefWidth="100.0">
|
||||
<ImageView fx:id="th1" fitHeight="73.0" fitWidth="73.0" layoutX="8.0" layoutY="14.0" pickOnBounds="true" preserveRatio="true" AnchorPane.bottomAnchor="311.0" AnchorPane.leftAnchor="8.0" AnchorPane.rightAnchor="94.0" AnchorPane.topAnchor="14.0">
|
||||
<Image url="@../img/th.png" />
|
||||
</ImageView>
|
||||
<Label fx:id="labelAvecBinding" layoutX="71.0" layoutY="42.0" text="CPU Temp" GridPane.columnIndex="1" GridPane.rowIndex="2" />
|
||||
|
||||
<ImageView fx:id="th2" fitHeight="73.0" fitWidth="73.0" layoutX="8.0" layoutY="116.0" pickOnBounds="true" preserveRatio="true">
|
||||
<Image url="@../img/th.png" />
|
||||
</ImageView>
|
||||
<ImageView fitHeight="73.0" fitWidth="73.0" layoutX="8.0" layoutY="225.0" pickOnBounds="true" preserveRatio="true">
|
||||
<Image url="@../img/th.png" />
|
||||
</ImageView>
|
||||
<ImageView fitHeight="73.0" fitWidth="73.0" layoutX="8.0" layoutY="324.0" pickOnBounds="true" preserveRatio="true">
|
||||
<Image url="@../img/th.png" />
|
||||
</ImageView>
|
||||
</AnchorPane>
|
||||
<AnchorPane minHeight="0.0" minWidth="0.0" prefHeight="160.0" prefWidth="100.0" />
|
||||
</SplitPane>
|
After Width: | Height: | Size: 17 KiB |
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,5 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<?import javafx.scene.layout.*?>
|
||||
|
||||
<Pane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="400.0" prefWidth="600.0" xmlns="http://javafx.com/javafx/11.0.14-internal" xmlns:fx="http://javafx.com/fxml/1" />
|
@ -0,0 +1,25 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<?import javafx.scene.control.*?>
|
||||
<?import javafx.scene.image.*?>
|
||||
<?import javafx.scene.layout.*?>
|
||||
|
||||
<SplitPane dividerPositions="0.29797979797979796" maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="400.0" prefWidth="600.0" xmlns="http://javafx.com/javafx/11.0.14-internal" xmlns:fx="http://javafx.com/fxml/1" fx:controller="view.MainPage">
|
||||
<AnchorPane minHeight="0.0" minWidth="0.0" prefHeight="160.0" prefWidth="100.0">
|
||||
<ImageView fx:id="th1" fitHeight="73.0" fitWidth="73.0" layoutX="8.0" layoutY="14.0" pickOnBounds="true" preserveRatio="true" AnchorPane.bottomAnchor="311.0" AnchorPane.leftAnchor="8.0" AnchorPane.rightAnchor="94.0" AnchorPane.topAnchor="14.0">
|
||||
<Image url="@../img/th.png" />
|
||||
</ImageView>
|
||||
<Label fx:id="labelAvecBinding" layoutX="71.0" layoutY="42.0" text="CPU Temp" GridPane.columnIndex="1" GridPane.rowIndex="2" />
|
||||
|
||||
<ImageView fx:id="th2" fitHeight="73.0" fitWidth="73.0" layoutX="8.0" layoutY="116.0" pickOnBounds="true" preserveRatio="true">
|
||||
<Image url="@../img/th.png" />
|
||||
</ImageView>
|
||||
<ImageView fitHeight="73.0" fitWidth="73.0" layoutX="8.0" layoutY="225.0" pickOnBounds="true" preserveRatio="true">
|
||||
<Image url="@../img/th.png" />
|
||||
</ImageView>
|
||||
<ImageView fitHeight="73.0" fitWidth="73.0" layoutX="8.0" layoutY="324.0" pickOnBounds="true" preserveRatio="true">
|
||||
<Image url="@../img/th.png" />
|
||||
</ImageView>
|
||||
</AnchorPane>
|
||||
<AnchorPane minHeight="0.0" minWidth="0.0" prefHeight="160.0" prefWidth="100.0" />
|
||||
</SplitPane>
|
After Width: | Height: | Size: 17 KiB |
@ -0,0 +1,19 @@
|
||||
package view;
|
||||
|
||||
import console.LView;
|
||||
import javafx.event.EventHandler;
|
||||
import javafx.fxml.FXML;
|
||||
|
||||
import java.awt.event.MouseEvent;
|
||||
|
||||
|
||||
public class MainPage {
|
||||
@FXML
|
||||
private javafx.scene.control.Label labelAvecBinding;
|
||||
@FXML
|
||||
public void initialize() {
|
||||
|
||||
labelAvecBinding.textProperty().set("CPU Temperature");
|
||||
|
||||
}
|
||||
}
|
Loading…
Reference in new issue