summaryrefslogtreecommitdiffstats
path: root/src/main/resources/fxml/OperationInArchive.fxml
diff options
context:
space:
mode:
authorViktoria Pundy <viktoria.pundy@aon.at>2018-05-31 09:24:48 +0200
committerTharre <tharre3@gmail.com>2018-06-02 00:14:15 +0200
commit2ce4e7f6a0194c8428882216ad30821eb9e8eb8b (patch)
tree156816b3ed54518507d5a5b321e3c9a80d1db2db /src/main/resources/fxml/OperationInArchive.fxml
parentf5476716fa6aa1c2ce82a4cd116b8e80f2d30896 (diff)
downloadsepm-groupproject-2ce4e7f6a0194c8428882216ad30821eb9e8eb8b.tar.gz
sepm-groupproject-2ce4e7f6a0194c8428882216ad30821eb9e8eb8b.tar.xz
sepm-groupproject-2ce4e7f6a0194c8428882216ad30821eb9e8eb8b.zip
Added fxml and controller for archived operations [#27299]
Created fxml-file for archived operations. Additionally, a controller was created to fill the pane with information about an archived Operation. Furthermore, the already existing controller archiveOperationController was adjusted to created these panes according to the existing archived operations.
Diffstat (limited to 'src/main/resources/fxml/OperationInArchive.fxml')
-rw-r--r--src/main/resources/fxml/OperationInArchive.fxml60
1 files changed, 60 insertions, 0 deletions
diff --git a/src/main/resources/fxml/OperationInArchive.fxml b/src/main/resources/fxml/OperationInArchive.fxml
new file mode 100644
index 0000000..43ac14b
--- /dev/null
+++ b/src/main/resources/fxml/OperationInArchive.fxml
@@ -0,0 +1,60 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<?import javafx.geometry.Insets?>
+<?import javafx.scene.image.Image?>
+<?import javafx.scene.image.ImageView?>
+<?import javafx.scene.layout.ColumnConstraints?>
+<?import javafx.scene.layout.GridPane?>
+<?import javafx.scene.layout.HBox?>
+<?import javafx.scene.layout.RowConstraints?>
+<?import javafx.scene.text.Font?>
+<?import javafx.scene.text.Text?>
+
+<GridPane hgap="6.0" maxHeight="100.0" maxWidth="400.0" prefHeight="100.0" prefWidth="400.0" styleClass="bg-white, shadowed" stylesheets="@/styles/main.css" 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.OperationInArchiveController">
+ <columnConstraints>
+ <ColumnConstraints />
+ <ColumnConstraints />
+ <ColumnConstraints />
+ <ColumnConstraints />
+ <ColumnConstraints />
+ </columnConstraints>
+ <rowConstraints>
+ <RowConstraints />
+ <RowConstraints />
+ <RowConstraints />
+ </rowConstraints>
+ <padding>
+ <Insets bottom="6.0" left="12.0" right="12.0" top="6.0" />
+ </padding>
+ <children>
+ <Text fx:id="txtAddress" text="Text" GridPane.rowIndex="1">
+ <font>
+ <Font size="20.0" />
+ </font>
+ </Text>
+ <HBox prefHeight="102.0" prefWidth="200.0" GridPane.rowIndex="2">
+ <children>
+ <ImageView fitHeight="23.0" fitWidth="32.0" pickOnBounds="true" preserveRatio="true">
+ <image>
+ <Image url="@../images/Vehicle.png" />
+ </image>
+ </ImageView>
+ <Text fx:id="txtVehicles" strokeType="OUTSIDE" strokeWidth="0.0" text="Text">
+ <font>
+ <Font size="20.0" />
+ </font>
+ </Text>
+ </children>
+ </HBox>
+ <Text fx:id="txtDate" nodeOrientation="RIGHT_TO_LEFT" strokeType="OUTSIDE" strokeWidth="0.0" text="Text" wrappingWidth="187.73674726486206" GridPane.columnIndex="1">
+ <font>
+ <Font name="System Bold" size="20.0" />
+ </font>
+ </Text>
+ <Text fx:id="txtOpCode" strokeType="OUTSIDE" strokeWidth="0.0" text="Text">
+ <font>
+ <Font name="System Bold" size="20.0" />
+ </font>
+ </Text>
+ </children>
+</GridPane>