diff options
author | Dominic Rogetzer <e1627756@student.tuwien.ac.at> | 2018-05-18 17:33:41 +0200 |
---|---|---|
committer | Tharre <tharre3@gmail.com> | 2018-05-22 17:05:32 +0200 |
commit | 4592c557b13278a5d75aaf7f2429aedeee2c2834 (patch) | |
tree | afd7545492d67cfacbf694e8be4727d5eaebcad6 | |
parent | 1b77709c30626db808530b04da0584137515de01 (diff) | |
download | sepm-groupproject-4592c557b13278a5d75aaf7f2429aedeee2c2834.tar.gz sepm-groupproject-4592c557b13278a5d75aaf7f2429aedeee2c2834.tar.xz sepm-groupproject-4592c557b13278a5d75aaf7f2429aedeee2c2834.zip |
Create fxml employeeListItem [#25949]
-rw-r--r-- | src/main/resources/fxml/employeeListItem.fxml | 69 |
1 files changed, 69 insertions, 0 deletions
diff --git a/src/main/resources/fxml/employeeListItem.fxml b/src/main/resources/fxml/employeeListItem.fxml new file mode 100644 index 0000000..267747e --- /dev/null +++ b/src/main/resources/fxml/employeeListItem.fxml @@ -0,0 +1,69 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<?import javafx.scene.control.Button?> +<?import javafx.scene.control.Label?> +<?import javafx.scene.image.Image?> +<?import javafx.scene.image.ImageView?> +<?import javafx.scene.layout.AnchorPane?> +<?import javafx.scene.layout.HBox?> +<?import javafx.scene.text.Font?> + +<AnchorPane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" + prefHeight="96.0" prefWidth="360.0" style="-fx-background-color: white;" + xmlns="http://javafx.com/javafx/9.0.1" xmlns:fx="http://javafx.com/fxml/1" + fx:controller="at.ac.tuwien.sepm.assignment.groupphase.einsatzverwaltung.controller.EmployeeListItemController"> + <children> + <Label fx:id="lblName" layoutX="8.0" layoutY="22.0" text="Peter Mustermann" + AnchorPane.leftAnchor="10.0" AnchorPane.topAnchor="5.0"> + <font> + <Font name="System Bold" size="18.0"/> + </font> + </Label> + <Button layoutX="298.0" layoutY="5.0" mnemonicParsing="false" onAction="#onEditEmployeeClicked" + text="bearbeiten" AnchorPane.rightAnchor="5.0" AnchorPane.topAnchor="5.0"/> + <HBox layoutX="10.0" layoutY="40.0" prefHeight="42.0" prefWidth="339.0" + AnchorPane.leftAnchor="10.0" AnchorPane.topAnchor="40.0"> + <children> + <AnchorPane prefHeight="42.0" prefWidth="112.0" style="-fx-background-color: white;"> + <children> + <ImageView fx:id="imgQualification" fitHeight="25.0" fitWidth="25.0" layoutX="10.0" + layoutY="11.0" pickOnBounds="true" preserveRatio="true" AnchorPane.leftAnchor="10.0" + AnchorPane.topAnchor="10.0"> + <image> + <Image url="@../images/Qualification.png"/> + </image> + </ImageView> + <Label fx:id="lblQualification" layoutX="45.0" layoutY="14.0" text="Notarzt" + AnchorPane.leftAnchor="45.0" AnchorPane.topAnchor="14.0"/> + </children> + </AnchorPane> + <AnchorPane prefHeight="42.0" prefWidth="112.0" style="-fx-background-color: white;"> + <children> + <ImageView fx:id="imgPilot" fitHeight="25.0" fitWidth="25.0" layoutX="10.0" + layoutY="11.0" pickOnBounds="true" preserveRatio="true" AnchorPane.leftAnchor="10.0" + AnchorPane.topAnchor="10.0"> + <image> + <Image url="@../images/Qualification.png"/> + </image> + </ImageView> + <Label fx:id="lblPilot" layoutX="53.0" layoutY="14.0" text="nicht Pilot" + AnchorPane.leftAnchor="45.0" AnchorPane.topAnchor="14.0"/> + </children> + </AnchorPane> + <AnchorPane prefHeight="42.0" prefWidth="112.0" style="-fx-background-color: white;"> + <children> + <ImageView fx:id="imgDriver" fitHeight="25.0" fitWidth="25.0" layoutX="10.0" + layoutY="11.0" pickOnBounds="true" preserveRatio="true" AnchorPane.leftAnchor="10.0" + AnchorPane.topAnchor="10.0"> + <image> + <Image url="@../images/Qualification.png"/> + </image> + </ImageView> + <Label fx:id="lblDriver" layoutX="54.0" layoutY="14.0" text="ist Fahrer" + AnchorPane.leftAnchor="45.0" AnchorPane.topAnchor="14.0"/> + </children> + </AnchorPane> + </children> + </HBox> + </children> +</AnchorPane> |