diff options
author | Martin Weick <e1627760@student.tuwien.ac.at> | 2018-05-24 14:00:04 +0200 |
---|---|---|
committer | Tharre <tharre3@gmail.com> | 2018-05-24 15:45:04 +0200 |
commit | 3921e1bb05b7fa449bc72f136b3ede62984614af (patch) | |
tree | 68c11347a6a04aa9b8cdca26beb1c9c5551fe7cd /src/main/resources/fxml/CreateOperationController.fxml | |
parent | 2cb71544b5306b3ad0bde74509000ede208f6faf (diff) | |
download | sepm-groupproject-3921e1bb05b7fa449bc72f136b3ede62984614af.tar.gz sepm-groupproject-3921e1bb05b7fa449bc72f136b3ede62984614af.tar.xz sepm-groupproject-3921e1bb05b7fa449bc72f136b3ede62984614af.zip |
Add onOperationCodeChanged method + format in fxml
Diffstat (limited to 'src/main/resources/fxml/CreateOperationController.fxml')
-rw-r--r-- | src/main/resources/fxml/CreateOperationController.fxml | 28 |
1 files changed, 19 insertions, 9 deletions
diff --git a/src/main/resources/fxml/CreateOperationController.fxml b/src/main/resources/fxml/CreateOperationController.fxml index dbdb4ef..9b063e3 100644 --- a/src/main/resources/fxml/CreateOperationController.fxml +++ b/src/main/resources/fxml/CreateOperationController.fxml @@ -13,15 +13,19 @@ xmlns:fx="http://javafx.com/fxml/1" fx:controller="at.ac.tuwien.sepm.assignment.groupphase.einsatzverwaltung.userInterface.CreateOperationController" stylesheets="@/styles/main.css"> - <AnchorPane prefHeight="182.0" style="-fx-background-color: #2D75B6;" AnchorPane.leftAnchor="0.0" AnchorPane.topAnchor="0.0" AnchorPane.rightAnchor="0.0"/> + <AnchorPane prefHeight="182.0" style="-fx-background-color: #2D75B6;" AnchorPane.leftAnchor="0.0" + AnchorPane.topAnchor="0.0" AnchorPane.rightAnchor="0.0"/> <AnchorPane fx:id="apCreateOperation" layoutX="40.0" layoutY="71.0" prefHeight="151.0" prefWidth="920.0" styleClass="bg-white, shadowed"> - <Label layoutX="14.0" layoutY="14.0" prefHeight="30.0" prefWidth="62.0" text="Code" styleClass="text-medium"/> + <Label layoutX="14.0" layoutY="14.0" prefHeight="30.0" prefWidth="62.0" text="Code" + styleClass="text-medium"/> <Label layoutX="185.0" layoutY="14.0" prefHeight="30.0" prefWidth="94.0" text="Adresse" styleClass="text-medium"/> - <Label layoutX="587.0" layoutY="14.0" prefHeight="30.0" prefWidth="121.0" text="Anmerkung" styleClass="text-medium"/> + <Label layoutX="587.0" layoutY="14.0" prefHeight="30.0" prefWidth="121.0" text="Anmerkung" + styleClass="text-medium"/> <TextField fx:id="txtCode" layoutX="14.0" layoutY="48.0" prefHeight="39.0" + onKeyReleased="#onOperationCodeChanged" prefWidth="163.0" styleClass="text-big"> <font> <Font name="System Bold"/> @@ -43,7 +47,8 @@ text="Fahrzeuge:" styleClass="text-medium"/> <Label fx:id="lblChosenVehicles" layoutX="116.0" layoutY="102.0" prefHeight="30.0" prefWidth="610.0" text="keine ausgewählt" styleClass="text-big"/> - <Button fx:id="btnCreateOperation" layoutX="747.0" styleClass="text-big, button-main" layoutY="95.0" mnemonicParsing="false" + <Button fx:id="btnCreateOperation" layoutX="747.0" styleClass="text-big, button-main" + layoutY="95.0" mnemonicParsing="false" onAction="#createOperationClicked" prefHeight="0.0" prefWidth="158.0" text="Erstellen"> <font> <Font name="System Bold"/> @@ -53,10 +58,12 @@ <Hyperlink layoutX="44.0" layoutY="38.0" onAction="#onRegistrationLinkClicked" text="Anmeldungen" textFill="WHITE" styleClass="text-small"> </Hyperlink> - <Hyperlink layoutX="802.0" layoutY="38.0" onAction="#onEmployeeLinkClicked" text="Personen" styleClass="text-small" + <Hyperlink layoutX="802.0" layoutY="38.0" onAction="#onEmployeeLinkClicked" text="Personen" + styleClass="text-small" textFill="WHITE"> </Hyperlink> - <Hyperlink layoutX="877.0" layoutY="38.0" onAction="#onVehicleLinkClicked" text="Fahrzeuge" styleClass="text-small" + <Hyperlink layoutX="877.0" layoutY="38.0" onAction="#onVehicleLinkClicked" text="Fahrzeuge" + styleClass="text-small" textFill="WHITE"> </Hyperlink> <!--<AnchorPane fx:id="apActiveOperations" layoutX="968.0" layoutY="71.0" prefHeight="315.0" prefWidth="207.0" style="-fx-background-color: white; -fx-effect: dropshadow(gaussian, rgba(0.5,0.5,0.5,0.8), 5, 0, 0, 3);">--> @@ -68,11 +75,14 @@ <Label layoutX="10.0" layoutY="6.0" text="Aktive Einsätze" styleClass="text-big"> </Label> - <Hyperlink onAction="#onArchivLinkClicked" layoutY="12.0" text="Archiv" styleClass="text-medium" AnchorPane.rightAnchor="12"/> + <Hyperlink onAction="#onArchivLinkClicked" layoutY="12.0" text="Archiv" styleClass="text-medium" + AnchorPane.rightAnchor="12"/> </AnchorPane> <FlowPane fx:id="fpVehicles" hgap="12" layoutX="40.0" layoutY="228.0" prefHeight="388.0" prefWidth="920.0" vgap="12"> </FlowPane> - <AnchorPane fx:id="apInvisible" prefHeight="650.0" prefWidth="1200.0" style="-fx-background-color: rgba(0,0,0,0.7);" visible="false" /> - <fx:include fx:id="operationDetails" source="/fxml/OperationDetails.fxml" AnchorPane.leftAnchor="54.0" AnchorPane.topAnchor="50.0" /> + <AnchorPane fx:id="apInvisible" prefHeight="650.0" prefWidth="1200.0" + style="-fx-background-color: rgba(0,0,0,0.7);" visible="false"/> + <fx:include fx:id="operationDetails" source="/fxml/OperationDetails.fxml" + AnchorPane.leftAnchor="54.0" AnchorPane.topAnchor="50.0"/> </AnchorPane> |