NOTICKET: Bugfixes
Signed-off-by: Dominik Säume <Dominik.Saeume@hmmh.de>
This commit is contained in:
parent
457adf7252
commit
1f539a4e20
8 changed files with 12 additions and 39 deletions
|
@ -38,7 +38,7 @@ public class MedicationListCell extends ListCell<Medication> {
|
||||||
ObservableList<Medication> list = FXCollections.observableArrayList();
|
ObservableList<Medication> list = FXCollections.observableArrayList();
|
||||||
list.setAll(allOtherMedications);
|
list.setAll(allOtherMedications);
|
||||||
comboBox.setItems(list);
|
comboBox.setItems(list);
|
||||||
comboBox.setPromptText("Alternatve Auswählen");
|
comboBox.setPromptText("Alternative Auswählen");
|
||||||
comboBox.setCellFactory(this::comboBoxFactory);
|
comboBox.setCellFactory(this::comboBoxFactory);
|
||||||
comboBox.setButtonCell(comboBoxButtonFactory());
|
comboBox.setButtonCell(comboBoxButtonFactory());
|
||||||
comboBox.valueProperty().addListener(this::onComboBoxChange);
|
comboBox.valueProperty().addListener(this::onComboBoxChange);
|
||||||
|
|
|
@ -31,12 +31,12 @@
|
||||||
/>
|
/>
|
||||||
<TableColumn
|
<TableColumn
|
||||||
fx:id="columnIngredient"
|
fx:id="columnIngredient"
|
||||||
minWidth="140.0"
|
minWidth="220.0"
|
||||||
text="Inhaltsstoffe"
|
text="Inhaltsstoffe"
|
||||||
/>
|
/>
|
||||||
<TableColumn
|
<TableColumn
|
||||||
fx:id="columnPossibleSideEffects"
|
fx:id="columnPossibleSideEffects"
|
||||||
minWidth="200.0"
|
minWidth="400.0"
|
||||||
text="Mögliche Nebenwirkungen"
|
text="Mögliche Nebenwirkungen"
|
||||||
/>
|
/>
|
||||||
<TableColumn
|
<TableColumn
|
||||||
|
@ -51,13 +51,10 @@
|
||||||
/>
|
/>
|
||||||
<TableColumn
|
<TableColumn
|
||||||
fx:id="columnAlternativeMedication"
|
fx:id="columnAlternativeMedication"
|
||||||
minWidth="100.0"
|
minWidth="220.0"
|
||||||
text="Alternative Medikamente"
|
text="Alternative Medikamente"
|
||||||
/>
|
/>
|
||||||
</columns>
|
</columns>
|
||||||
<columnResizePolicy>
|
|
||||||
<TableView fx:constant="CONSTRAINED_RESIZE_POLICY"/>
|
|
||||||
</columnResizePolicy>
|
|
||||||
</TableView>
|
</TableView>
|
||||||
</center>
|
</center>
|
||||||
<bottom>
|
<bottom>
|
||||||
|
|
|
@ -31,12 +31,12 @@
|
||||||
/>
|
/>
|
||||||
<TableColumn
|
<TableColumn
|
||||||
fx:id="columnIngredient"
|
fx:id="columnIngredient"
|
||||||
minWidth="140.0"
|
minWidth="220.0"
|
||||||
text="Inhaltsstoffe"
|
text="Inhaltsstoffe"
|
||||||
/>
|
/>
|
||||||
<TableColumn
|
<TableColumn
|
||||||
fx:id="columnPossibleSideEffects"
|
fx:id="columnPossibleSideEffects"
|
||||||
minWidth="200.0"
|
minWidth="400.0"
|
||||||
text="Mögliche Nebenwirkungen"
|
text="Mögliche Nebenwirkungen"
|
||||||
/>
|
/>
|
||||||
<TableColumn
|
<TableColumn
|
||||||
|
@ -51,13 +51,10 @@
|
||||||
/>
|
/>
|
||||||
<TableColumn
|
<TableColumn
|
||||||
fx:id="columnAlternativeMedication"
|
fx:id="columnAlternativeMedication"
|
||||||
minWidth="100.0"
|
minWidth="220.0"
|
||||||
text="Alternative Medikamente"
|
text="Alternative Medikamente"
|
||||||
/>
|
/>
|
||||||
</columns>
|
</columns>
|
||||||
<columnResizePolicy>
|
|
||||||
<TableView fx:constant="CONSTRAINED_RESIZE_POLICY"/>
|
|
||||||
</columnResizePolicy>
|
|
||||||
</TableView>
|
</TableView>
|
||||||
</center>
|
</center>
|
||||||
<bottom>
|
<bottom>
|
||||||
|
|
|
@ -38,9 +38,6 @@
|
||||||
text="Telefonnummer"
|
text="Telefonnummer"
|
||||||
/>
|
/>
|
||||||
</columns>
|
</columns>
|
||||||
<columnResizePolicy>
|
|
||||||
<TableView fx:constant="CONSTRAINED_RESIZE_POLICY"/>
|
|
||||||
</columnResizePolicy>
|
|
||||||
</TableView>
|
</TableView>
|
||||||
</center>
|
</center>
|
||||||
<bottom>
|
<bottom>
|
||||||
|
|
|
@ -45,9 +45,6 @@
|
||||||
/>
|
/>
|
||||||
|
|
||||||
</columns>
|
</columns>
|
||||||
<columnResizePolicy>
|
|
||||||
<TableView fx:constant="CONSTRAINED_RESIZE_POLICY"/>
|
|
||||||
</columnResizePolicy>
|
|
||||||
</TableView>
|
</TableView>
|
||||||
</center>
|
</center>
|
||||||
<bottom>
|
<bottom>
|
||||||
|
|
|
@ -54,9 +54,6 @@
|
||||||
text="Raum"
|
text="Raum"
|
||||||
/>
|
/>
|
||||||
</columns>
|
</columns>
|
||||||
<columnResizePolicy>
|
|
||||||
<TableView fx:constant="CONSTRAINED_RESIZE_POLICY"/>
|
|
||||||
</columnResizePolicy>
|
|
||||||
</TableView>
|
</TableView>
|
||||||
</center>
|
</center>
|
||||||
<bottom>
|
<bottom>
|
||||||
|
|
|
@ -25,19 +25,17 @@
|
||||||
/>
|
/>
|
||||||
<TableColumn
|
<TableColumn
|
||||||
fx:id="columnPatientName"
|
fx:id="columnPatientName"
|
||||||
minWidth="80.0"
|
minWidth="140.0"
|
||||||
text="Patient"
|
text="Patient"
|
||||||
/>
|
/>
|
||||||
<TableColumn
|
<TableColumn
|
||||||
fx:id="columnNurseName"
|
fx:id="columnNurseName"
|
||||||
minWidth="80.0"
|
minWidth="140.0"
|
||||||
text="Pflegekraft"
|
text="Pflegekraft"
|
||||||
/>
|
/>
|
||||||
<TableColumn
|
<TableColumn
|
||||||
fx:id="columnDate"
|
fx:id="columnDate"
|
||||||
maxWidth="-1.0"
|
|
||||||
minWidth="140.0"
|
minWidth="140.0"
|
||||||
prefWidth="150.0"
|
|
||||||
text="Datum"
|
text="Datum"
|
||||||
/>
|
/>
|
||||||
<TableColumn
|
<TableColumn
|
||||||
|
@ -56,9 +54,6 @@
|
||||||
text="Kurzbeschreibung"
|
text="Kurzbeschreibung"
|
||||||
/>
|
/>
|
||||||
</columns>
|
</columns>
|
||||||
<columnResizePolicy>
|
|
||||||
<TableView fx:constant="CONSTRAINED_RESIZE_POLICY"/>
|
|
||||||
</columnResizePolicy>
|
|
||||||
</TableView>
|
</TableView>
|
||||||
</center>
|
</center>
|
||||||
<bottom>
|
<bottom>
|
||||||
|
|
|
@ -21,31 +21,24 @@
|
||||||
<TableColumn
|
<TableColumn
|
||||||
fx:id="columnId"
|
fx:id="columnId"
|
||||||
minWidth="40.0"
|
minWidth="40.0"
|
||||||
prefWidth="102.0"
|
|
||||||
text="ID"
|
text="ID"
|
||||||
/>
|
/>
|
||||||
<TableColumn
|
<TableColumn
|
||||||
fx:id="columnPatient"
|
fx:id="columnPatient"
|
||||||
minWidth="40.0"
|
minWidth="140.0"
|
||||||
prefWidth="102.0"
|
|
||||||
text="Patient"
|
text="Patient"
|
||||||
/>
|
/>
|
||||||
<TableColumn
|
<TableColumn
|
||||||
fx:id="columnNurse"
|
fx:id="columnNurse"
|
||||||
minWidth="40.0"
|
minWidth="140.0"
|
||||||
prefWidth="102.0"
|
|
||||||
text="Pflegekraft"
|
text="Pflegekraft"
|
||||||
/>
|
/>
|
||||||
<TableColumn
|
<TableColumn
|
||||||
fx:id="columnDeleteDate"
|
fx:id="columnDeleteDate"
|
||||||
minWidth="40.0"
|
minWidth="80.0"
|
||||||
prefWidth="102.0"
|
|
||||||
text="Löschung am"
|
text="Löschung am"
|
||||||
/>
|
/>
|
||||||
</columns>
|
</columns>
|
||||||
<columnResizePolicy>
|
|
||||||
<TableView fx:constant="CONSTRAINED_RESIZE_POLICY"/>
|
|
||||||
</columnResizePolicy>
|
|
||||||
</TableView>
|
</TableView>
|
||||||
</center>
|
</center>
|
||||||
<bottom>
|
<bottom>
|
||||||
|
|
Loading…
Reference in a new issue