diff options
author | Dominic Rogetzer <e1627756@student.tuwien.ac.at> | 2018-05-07 12:33:11 +0200 |
---|---|---|
committer | Dominic Rogetzer <e01627756@student.tuwien.ac.at> | 2018-05-07 12:33:11 +0200 |
commit | 3d3f4440238ededefa6bb142106295d6eab4678c (patch) | |
tree | 76b4dd576efadbf38f5827d91f1d150ed27f1877 | |
parent | cb1440f1b5fbfe9ce93f3a6256af3f021aa6d484 (diff) | |
download | sepm-groupproject-3d3f4440238ededefa6bb142106295d6eab4678c.tar.gz sepm-groupproject-3d3f4440238ededefa6bb142106295d6eab4678c.tar.xz sepm-groupproject-3d3f4440238ededefa6bb142106295d6eab4678c.zip |
Change CreateOperationController.fxml labels to hyperlinks with onAction
-rw-r--r-- | src/main/resources/fxml/CreateOperationController.fxml | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/src/main/resources/fxml/CreateOperationController.fxml b/src/main/resources/fxml/CreateOperationController.fxml index 949d4ec..1ba6498 100644 --- a/src/main/resources/fxml/CreateOperationController.fxml +++ b/src/main/resources/fxml/CreateOperationController.fxml @@ -1,6 +1,7 @@ <?xml version="1.0" encoding="UTF-8"?> <?import javafx.scene.control.Button?> +<?import javafx.scene.control.Hyperlink?> <?import javafx.scene.control.Label?> <?import javafx.scene.control.ListView?> <?import javafx.scene.control.TextField?> @@ -59,21 +60,21 @@ </Button> </children> </AnchorPane> - <Label layoutX="55.0" layoutY="38.0" text="Anmeldungen" textFill="WHITE"> + <Hyperlink layoutX="55.0" layoutY="38.0" onAction="#onRegistrationLinkClicked" text="Anmeldungen" textFill="WHITE"> <font> <Font size="15.0" /> </font> - </Label> - <Label layoutX="802.0" layoutY="38.0" text="Personen" textFill="WHITE"> + </Hyperlink> + <Hyperlink layoutX="802.0" layoutY="38.0" onAction="#onEmployeeLinkClicked" text="Personen" textFill="WHITE"> <font> <Font size="15.0" /> </font> - </Label> - <Label layoutX="877.0" layoutY="38.0" text="Fahrzeuge" textFill="WHITE"> + </Hyperlink> + <Hyperlink layoutX="877.0" layoutY="38.0" onAction="#onVehicleLinkClicked" text="Fahrzeuge" textFill="WHITE"> <font> <Font size="15.0" /> </font> - </Label> + </Hyperlink> <AnchorPane fx:id="apActiveOperations" layoutX="973.0" layoutY="69.0" prefHeight="243.0" prefWidth="207.0" style="-fx-background-color: white;"> <children> <ListView fx:id="lvActiveOperations" layoutX="4.0" layoutY="74.0" prefHeight="242.0" prefWidth="200.0" style="-fx-background-color: white;" /> |