- <?xml version="1.0" encoding="UTF-8"?>
-
- <?import javafx.geometry.*?>
- <?import javafx.scene.text.*?>
- <?import java.net.* ?>
- <?import java.lang.*?>
- <?import javafx.scene.control.*?>
- <?import javafx.scene.layout.*?>
- <?import de.uniluebeck.mi.projmi6.view.*?>
-
-
- <SplitPane fx:controller="de.uniluebeck.mi.projmi6.controller.StationsHistorieController" dividerPositions="0.45" xmlns="http://javafx.com/javafx/8"
- xmlns:fx="http://javafx.com/fxml/1">
- <items>
- <VBox>
- <children>
- <ToolBar prefHeight="40.0" prefWidth="200.0">
- <items>
- <Button mnemonicParsing="false" text="Neuen Aufenthalt erstellen" onAction="#clickedCreateAufenthalt"/>
- </items>
- </ToolBar>
- <TableView prefHeight="200.0" prefWidth="200.0" VBox.vgrow="ALWAYS" fx:id="tblStationsHistorie">
- <columns>
- <TableColumn prefWidth="75.0" text="Abteilung" fx:id="colStatHistAbteilung"/>
- <TableColumn prefWidth="75.0" text="Station" fx:id="colStatHistStation"/>
- <TableColumn prefWidth="75.0" text="Aufnahme" fx:id="colStatHistAufnahmeDatum"/>
- <TableColumn prefWidth="75.0" text="Entlassung" fx:id="colStatHistEntlassungsDatum"/>
- </columns>
- </TableView>
- </children>
- </VBox>
- <VBox>
- <children>
- <GridPane VBox.vgrow="ALWAYS">
- <columnConstraints>
- <ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0"/>
- <ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0"/>
- </columnConstraints>
- <rowConstraints>
- <RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES"/>
- <RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES"/>
- <RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES"/>
- <RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES"/>
- </rowConstraints>
- <children>
- <Label text="Abteilung:"/>
- <ComboBox disable="true" prefWidth="150.0" GridPane.columnIndex="1" fx:id="cmbAbteilung"/>
-
- <Label text="Station:" GridPane.rowIndex="1"/>
- <ComboBox prefWidth="150.0" GridPane.columnIndex="1" GridPane.rowIndex="1" fx:id="cmbStation"/>
-
- <Label text="Aufnahmedatum / -Zeit:" GridPane.rowIndex="2" />
- <DateTimePicker GridPane.columnIndex="1" GridPane.rowIndex="2" fx:id="dtTmAufnahme"/>
-
- <Label text="Entlassungsdatum/ -Zeit:" GridPane.rowIndex="3"/>
- <DateTimePicker GridPane.columnIndex="1" GridPane.rowIndex="3" fx:id="dtTmEntlassung"/>
- </children>
- </GridPane>
- <HBox alignment="CENTER_RIGHT">
- <children>
- <Button mnemonicParsing="false" text="Speichern" onAction="#clickedSave" fx:id="btnStatHistSave"/>
- <Button disable="true" mnemonicParsing="false" text="Eintrag entfernen" fx:id="btnStatHistCancel" onAction="#clickedCancel"/>
- </children>
- </HBox>
- <GridPane>
- <children>
- <Label styleClass="ersteller-label" text="Ersteller: " GridPane.rowIndex="0"/>
- <Label styleClass="ersteller-label" text="Erstelldatum:" GridPane.rowIndex="1"/>
- <Label styleClass="ersteller-label" text="Letzter Bearbeiter:" GridPane.rowIndex="2"/>
- <Label styleClass="ersteller-label" text="Letzte Änderung:" GridPane.rowIndex="3"/>
- <Label styleClass="ersteller-value" GridPane.columnIndex="1" GridPane.rowIndex="0" fx:id="statHistCreator" text="a"/>
- <Label styleClass="ersteller-value" GridPane.columnIndex="1" GridPane.rowIndex="1" fx:id="statHistCreateTime" text="b"/>
- <Label styleClass="ersteller-value" GridPane.columnIndex="1" GridPane.rowIndex="2" fx:id="statHistEditor" text="c"/>
- <Label styleClass="ersteller-value" GridPane.columnIndex="1" GridPane.rowIndex="3" fx:id="statHistEditTime" text="d"/>
- </children>
- <columnConstraints>
- <ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" percentWidth="50.0"/>
- <ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" percentWidth="50.0"/>
- </columnConstraints>
- <rowConstraints>
- <RowConstraints minHeight="10.0" vgrow="SOMETIMES"/>
- <RowConstraints minHeight="10.0" vgrow="SOMETIMES"/>
- <RowConstraints minHeight="10.0" vgrow="SOMETIMES"/>
- <RowConstraints minHeight="10.0" vgrow="SOMETIMES"/>
- </rowConstraints>
- </GridPane>
- </children>
- </VBox>
- </items>
- <stylesheets>
- <URL value="@style.css" />
- </stylesheets>
- </SplitPane>
|