completed UI "Aufträge"
This commit is contained in:
parent
31487262ac
commit
9da746d19b
Binary file not shown.
|
@ -5,6 +5,7 @@
|
||||||
<?import javafx.scene.control.Label?>
|
<?import javafx.scene.control.Label?>
|
||||||
<?import javafx.scene.control.Tab?>
|
<?import javafx.scene.control.Tab?>
|
||||||
<?import javafx.scene.control.TabPane?>
|
<?import javafx.scene.control.TabPane?>
|
||||||
|
<?import javafx.scene.control.TitledPane?>
|
||||||
<?import javafx.scene.control.TreeTableColumn?>
|
<?import javafx.scene.control.TreeTableColumn?>
|
||||||
<?import javafx.scene.control.TreeTableView?>
|
<?import javafx.scene.control.TreeTableView?>
|
||||||
<?import javafx.scene.layout.AnchorPane?>
|
<?import javafx.scene.layout.AnchorPane?>
|
||||||
|
@ -14,7 +15,7 @@
|
||||||
<?import javafx.scene.shape.Line?>
|
<?import javafx.scene.shape.Line?>
|
||||||
<?import javafx.scene.text.Font?>
|
<?import javafx.scene.text.Font?>
|
||||||
|
|
||||||
<AnchorPane fx:id="mainAnchorpane" maxHeight="924.0" maxWidth="1536.0" minHeight="864.0" minWidth="1536.0" prefHeight="913.0" prefWidth="1536.0" xmlns="http://javafx.com/javafx/9" xmlns:fx="http://javafx.com/fxml/1" fx:controller="application.MainWindowController">
|
<AnchorPane fx:id="mainAnchorpane" maxHeight="732.0" maxWidth="1366.0" minHeight="732.0" minWidth="1366.0" prefHeight="732.0" prefWidth="1366.0" xmlns="http://javafx.com/javafx/9" xmlns:fx="http://javafx.com/fxml/1" fx:controller="application.MainWindowController">
|
||||||
<children>
|
<children>
|
||||||
<TabPane layoutX="4.0" layoutY="5.0" nodeOrientation="RIGHT_TO_LEFT" prefHeight="924.0" prefWidth="1536.0" tabClosingPolicy="UNAVAILABLE" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
|
<TabPane layoutX="4.0" layoutY="5.0" nodeOrientation="RIGHT_TO_LEFT" prefHeight="924.0" prefWidth="1536.0" tabClosingPolicy="UNAVAILABLE" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
|
||||||
<tabs>
|
<tabs>
|
||||||
|
@ -36,15 +37,53 @@
|
||||||
<content>
|
<content>
|
||||||
<AnchorPane minHeight="0.0" minWidth="0.0" prefHeight="850.0" prefWidth="1536.0">
|
<AnchorPane minHeight="0.0" minWidth="0.0" prefHeight="850.0" prefWidth="1536.0">
|
||||||
<children>
|
<children>
|
||||||
<TreeTableView fx:id="mainTreeTable" layoutX="11.0" layoutY="10.0" prefHeight="749.0" prefWidth="1514.0">
|
<TreeTableView fx:id="jobsTreeTable" layoutX="11.0" layoutY="10.0" prefHeight="541.0" prefWidth="1346.0">
|
||||||
<columns>
|
<columns>
|
||||||
<TreeTableColumn fx:id="datumSpalte" editable="false" prefWidth="90.6666259765625" text="Betrag" />
|
<TreeTableColumn fx:id="columnValue" editable="false" prefWidth="90.6666259765625" text="Betrag" />
|
||||||
<TreeTableColumn fx:id="kontoSpalte" editable="false" prefWidth="91.0" text="Zustand" />
|
<TreeTableColumn fx:id="columnState" editable="false" prefWidth="91.0" text="Zustand" />
|
||||||
<TreeTableColumn fx:id="kontoSpalte1" editable="false" prefWidth="1140.333251953125" sortable="false" text="Positionen" />
|
<TreeTableColumn fx:id="columnPositions" editable="false" prefWidth="1140.333251953125" sortable="false" text="Positionen" />
|
||||||
<TreeTableColumn fx:id="kontoSpalte2" editable="false" prefWidth="121.666748046875" text="Zeit" />
|
<TreeTableColumn fx:id="columnTime" editable="false" prefWidth="121.666748046875" text="Zeit" />
|
||||||
<TreeTableColumn fx:id="kontoSpalte3" editable="false" prefWidth="72.333251953125" text="Nummer" />
|
<TreeTableColumn fx:id="columnNumber" editable="false" prefWidth="72.333251953125" text="Nummer" />
|
||||||
</columns>
|
</columns>
|
||||||
</TreeTableView>
|
</TreeTableView>
|
||||||
|
<Button fx:id="btnReprintJob" layoutX="378.0" layoutY="603.0" mnemonicParsing="false" onAction="#btnReprintJobAction" text="Ausgewählter Auftrag Drucken">
|
||||||
|
<font>
|
||||||
|
<Font name="Cantarell Regular" size="17.0" />
|
||||||
|
</font>
|
||||||
|
</Button>
|
||||||
|
<TitledPane fx:id="titlePaneStats" alignment="CENTER" collapsible="false" contentDisplay="CENTER" layoutX="992.0" layoutY="561.0" prefHeight="118.0" prefWidth="365.0" text="Statistik - 30.03..2018 15:15 Uhr">
|
||||||
|
<content>
|
||||||
|
<AnchorPane minHeight="0.0" minWidth="0.0" prefHeight="59.0" prefWidth="483.0">
|
||||||
|
<children>
|
||||||
|
<Label fx:id="lableJobCount" alignment="TOP_RIGHT" contentDisplay="RIGHT" layoutX="17.0" layoutY="2.0" prefHeight="34.0" prefWidth="340.0" text="Anzahl Aufträge: 2781">
|
||||||
|
<font>
|
||||||
|
<Font name="Cantarell Regular" size="18.0" />
|
||||||
|
</font>
|
||||||
|
</Label>
|
||||||
|
<Label fx:id="labelAvgJob" alignment="TOP_RIGHT" contentDisplay="RIGHT" layoutX="17.0" layoutY="30.0" prefHeight="34.0" prefWidth="340.0" text="Durchschnittlicher Auftragswert: 12,90€">
|
||||||
|
<font>
|
||||||
|
<Font name="Cantarell Regular" size="18.0" />
|
||||||
|
</font>
|
||||||
|
</Label>
|
||||||
|
<Label fx:id="lableAllValue" alignment="TOP_RIGHT" contentDisplay="RIGHT" layoutX="17.0" layoutY="60.0" prefHeight="34.0" prefWidth="340.0" text="Gesamt: 1088,48€">
|
||||||
|
<font>
|
||||||
|
<Font name="Cantarell Regular" size="18.0" />
|
||||||
|
</font>
|
||||||
|
</Label>
|
||||||
|
</children>
|
||||||
|
</AnchorPane>
|
||||||
|
</content>
|
||||||
|
</TitledPane>
|
||||||
|
<Button fx:id="bntCancelJob" layoutX="44.0" layoutY="603.0" mnemonicParsing="false" onAction="#bntCancelJobAction" text="Ausgewählter Auftrag stonieren">
|
||||||
|
<font>
|
||||||
|
<Font name="Cantarell Regular" size="17.0" />
|
||||||
|
</font>
|
||||||
|
</Button>
|
||||||
|
<Button fx:id="btnCalcStats" layoutX="712.0" layoutY="603.0" mnemonicParsing="false" onAction="#btnCalcStatsAction" text="Statistiken berrechnen">
|
||||||
|
<font>
|
||||||
|
<Font name="Cantarell Regular" size="17.0" />
|
||||||
|
</font>
|
||||||
|
</Button>
|
||||||
</children>
|
</children>
|
||||||
</AnchorPane>
|
</AnchorPane>
|
||||||
</content>
|
</content>
|
||||||
|
@ -53,13 +92,13 @@
|
||||||
<content>
|
<content>
|
||||||
<AnchorPane minHeight="0.0" minWidth="0.0" prefHeight="850.0" prefWidth="1536.0">
|
<AnchorPane minHeight="0.0" minWidth="0.0" prefHeight="850.0" prefWidth="1536.0">
|
||||||
<children>
|
<children>
|
||||||
<TreeTableView fx:id="tableCurrentOrder" layoutX="15.0" layoutY="123.0" prefHeight="464.0" prefWidth="374.0">
|
<TreeTableView fx:id="tableCurrentOrder" layoutX="15.0" layoutY="85.0" prefHeight="379.0" prefWidth="382.0">
|
||||||
<columns>
|
<columns>
|
||||||
<TreeTableColumn fx:id="columnPosition" editable="false" prefWidth="304.3333740234375" resizable="false" sortable="false" text="Position" />
|
<TreeTableColumn fx:id="columnPosition" editable="false" prefWidth="304.3333740234375" resizable="false" sortable="false" text="Position" />
|
||||||
<TreeTableColumn fx:id="columnQuantity" editable="false" prefWidth="80.6666259765625" resizable="false" sortable="false" text="Anzahl" />
|
<TreeTableColumn fx:id="columnQuantity" editable="false" prefWidth="80.6666259765625" resizable="false" sortable="false" text="Anzahl" />
|
||||||
</columns>
|
</columns>
|
||||||
</TreeTableView>
|
</TreeTableView>
|
||||||
<GridPane gridLinesVisible="true" layoutX="421.0" layoutY="15.0" prefHeight="850.0" prefWidth="1100.0">
|
<GridPane gridLinesVisible="true" layoutX="430.0" layoutY="15.0" prefHeight="670.0" prefWidth="920.0">
|
||||||
<columnConstraints>
|
<columnConstraints>
|
||||||
<ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0" />
|
<ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0" />
|
||||||
<ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0" />
|
<ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0" />
|
||||||
|
@ -75,164 +114,164 @@
|
||||||
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
|
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
|
||||||
</rowConstraints>
|
</rowConstraints>
|
||||||
<children>
|
<children>
|
||||||
<JFXButton fx:id="gridButton04" buttonType="RAISED" maxWidth="235.0" minWidth="200.0" onAction="#gridButton04Action" prefHeight="169.0" prefWidth="235.0" ripplerFill="#655252" text="Rote Wurst 2,60€" textAlignment="CENTER" wrapText="true" GridPane.columnIndex="1">
|
<JFXButton fx:id="gridButton04" buttonType="RAISED" maxWidth="235.0" minWidth="179.0" onAction="#gridButton04Action" prefHeight="169.0" prefWidth="235.0" ripplerFill="#655252" text="Rote Wurst 2,60€" textAlignment="CENTER" wrapText="true" GridPane.columnIndex="1">
|
||||||
<font>
|
<font>
|
||||||
<Font name="Cantarell Regular" size="30.0" />
|
<Font name="Cantarell Regular" size="24.0" />
|
||||||
</font>
|
</font>
|
||||||
</JFXButton>
|
</JFXButton>
|
||||||
<JFXButton fx:id="gridButton05" buttonType="RAISED" maxWidth="235.0" minWidth="200.0" onAction="#gridButton05Action" prefHeight="169.0" prefWidth="235.0" ripplerFill="#655252" text="Rote Wurst 2,60€" textAlignment="CENTER" wrapText="true">
|
<JFXButton fx:id="gridButton05" buttonType="RAISED" maxWidth="235.0" minWidth="179.0" onAction="#gridButton05Action" prefHeight="169.0" prefWidth="235.0" ripplerFill="#655252" text="Rote Wurst 2,60€" textAlignment="CENTER" wrapText="true">
|
||||||
<font>
|
<font>
|
||||||
<Font name="Cantarell Regular" size="30.0" />
|
<Font name="Cantarell Regular" size="24.0" />
|
||||||
</font>
|
</font>
|
||||||
</JFXButton>
|
</JFXButton>
|
||||||
<JFXButton fx:id="gridButton03" buttonType="RAISED" maxWidth="235.0" minWidth="200.0" onAction="#gridButton03Action" prefHeight="169.0" prefWidth="235.0" ripplerFill="#655252" text="Rote Wurst 2,60€" textAlignment="CENTER" wrapText="true" GridPane.columnIndex="2">
|
<JFXButton fx:id="gridButton03" buttonType="RAISED" maxWidth="235.0" minWidth="179.0" onAction="#gridButton03Action" prefHeight="169.0" prefWidth="235.0" ripplerFill="#655252" text="Rote Wurst 2,60€" textAlignment="CENTER" wrapText="true" GridPane.columnIndex="2">
|
||||||
<font>
|
<font>
|
||||||
<Font name="Cantarell Regular" size="30.0" />
|
<Font name="Cantarell Regular" size="24.0" />
|
||||||
</font>
|
</font>
|
||||||
</JFXButton>
|
</JFXButton>
|
||||||
<JFXButton fx:id="gridButton02" buttonType="RAISED" maxWidth="235.0" minWidth="200.0" onAction="#gridButton02Action" prefHeight="169.0" prefWidth="235.0" ripplerFill="#655252" text="Rote Wurst 2,60€" textAlignment="CENTER" wrapText="true" GridPane.columnIndex="3">
|
<JFXButton fx:id="gridButton02" buttonType="RAISED" maxWidth="235.0" minWidth="179.0" onAction="#gridButton02Action" prefHeight="169.0" prefWidth="235.0" ripplerFill="#655252" text="Rote Wurst 2,60€" textAlignment="CENTER" wrapText="true" GridPane.columnIndex="3">
|
||||||
<font>
|
<font>
|
||||||
<Font name="Cantarell Regular" size="30.0" />
|
<Font name="Cantarell Regular" size="24.0" />
|
||||||
</font>
|
</font>
|
||||||
</JFXButton>
|
</JFXButton>
|
||||||
<JFXButton fx:id="gridButton05" buttonType="RAISED" maxWidth="235.0" minWidth="200.0" onAction="#gridButton05Action" prefHeight="169.0" prefWidth="235.0" ripplerFill="#655252" text="Rote Wurst 2,60€" textAlignment="CENTER" wrapText="true" GridPane.columnIndex="4">
|
<JFXButton fx:id="gridButton01" buttonType="RAISED" maxWidth="235.0" minWidth="179.0" onAction="#gridButton01Action" prefHeight="134.0" prefWidth="179.0" ripplerFill="#655252" text="Rote Wurst 2,60€" textAlignment="CENTER" wrapText="true" GridPane.columnIndex="4">
|
||||||
<font>
|
<font>
|
||||||
<Font name="Cantarell Regular" size="30.0" />
|
<Font name="Cantarell Regular" size="24.0" />
|
||||||
</font>
|
</font>
|
||||||
</JFXButton>
|
</JFXButton>
|
||||||
<JFXButton fx:id="gridButton10" buttonType="RAISED" maxWidth="235.0" minWidth="200.0" onAction="#gridButton10Action" prefHeight="169.0" prefWidth="235.0" ripplerFill="#655252" text="Rote Wurst 2,60€" textAlignment="CENTER" wrapText="true" GridPane.rowIndex="1">
|
<JFXButton fx:id="gridButton10" buttonType="RAISED" maxWidth="235.0" minWidth="179.0" onAction="#gridButton10Action" prefHeight="169.0" prefWidth="235.0" ripplerFill="#655252" text="Rote Wurst 2,60€" textAlignment="CENTER" wrapText="true" GridPane.rowIndex="1">
|
||||||
<font>
|
<font>
|
||||||
<Font name="Cantarell Regular" size="30.0" />
|
<Font name="Cantarell Regular" size="24.0" />
|
||||||
</font>
|
</font>
|
||||||
</JFXButton>
|
</JFXButton>
|
||||||
<JFXButton fx:id="gridButton09" buttonType="RAISED" maxWidth="235.0" minWidth="200.0" onAction="#gridButton09Action" prefHeight="169.0" prefWidth="235.0" ripplerFill="#655252" text="Rote Wurst 2,60€" textAlignment="CENTER" wrapText="true" GridPane.columnIndex="1" GridPane.rowIndex="1">
|
<JFXButton fx:id="gridButton09" buttonType="RAISED" maxWidth="235.0" minWidth="179.0" onAction="#gridButton09Action" prefHeight="169.0" prefWidth="235.0" ripplerFill="#655252" text="Rote Wurst 2,60€" textAlignment="CENTER" wrapText="true" GridPane.columnIndex="1" GridPane.rowIndex="1">
|
||||||
<font>
|
<font>
|
||||||
<Font name="Cantarell Regular" size="30.0" />
|
<Font name="Cantarell Regular" size="24.0" />
|
||||||
</font>
|
</font>
|
||||||
</JFXButton>
|
</JFXButton>
|
||||||
<JFXButton fx:id="gridButton08" buttonType="RAISED" maxWidth="235.0" minWidth="200.0" onAction="#gridButton08Action" prefHeight="169.0" prefWidth="235.0" ripplerFill="#655252" text="Rote Wurst 2,60€" textAlignment="CENTER" wrapText="true" GridPane.columnIndex="2" GridPane.rowIndex="1">
|
<JFXButton fx:id="gridButton08" buttonType="RAISED" maxWidth="235.0" minWidth="179.0" onAction="#gridButton08Action" prefHeight="169.0" prefWidth="235.0" ripplerFill="#655252" text="Rote Wurst 2,60€" textAlignment="CENTER" wrapText="true" GridPane.columnIndex="2" GridPane.rowIndex="1">
|
||||||
<font>
|
<font>
|
||||||
<Font name="Cantarell Regular" size="30.0" />
|
<Font name="Cantarell Regular" size="24.0" />
|
||||||
</font>
|
</font>
|
||||||
</JFXButton>
|
</JFXButton>
|
||||||
<JFXButton fx:id="gridButton07" buttonType="RAISED" maxWidth="235.0" minWidth="200.0" onAction="#gridButton07Action" prefHeight="169.0" prefWidth="235.0" ripplerFill="#655252" text="Rote Wurst 2,60€" textAlignment="CENTER" wrapText="true" GridPane.columnIndex="3" GridPane.rowIndex="1">
|
<JFXButton fx:id="gridButton07" buttonType="RAISED" maxWidth="235.0" minWidth="179.0" onAction="#gridButton07Action" prefHeight="169.0" prefWidth="235.0" ripplerFill="#655252" text="Rote Wurst 2,60€" textAlignment="CENTER" wrapText="true" GridPane.columnIndex="3" GridPane.rowIndex="1">
|
||||||
<font>
|
<font>
|
||||||
<Font name="Cantarell Regular" size="30.0" />
|
<Font name="Cantarell Regular" size="24.0" />
|
||||||
</font>
|
</font>
|
||||||
</JFXButton>
|
</JFXButton>
|
||||||
<JFXButton fx:id="gridButton06" buttonType="RAISED" maxWidth="235.0" minWidth="200.0" onAction="#gridButton06Action" prefHeight="169.0" prefWidth="235.0" ripplerFill="#655252" text="Rote Wurst 2,60€" textAlignment="CENTER" wrapText="true" GridPane.columnIndex="4" GridPane.rowIndex="1">
|
<JFXButton fx:id="gridButton06" buttonType="RAISED" maxWidth="235.0" minWidth="179.0" onAction="#gridButton06Action" prefHeight="169.0" prefWidth="235.0" ripplerFill="#655252" text="Rote Wurst 2,60€" textAlignment="CENTER" wrapText="true" GridPane.columnIndex="4" GridPane.rowIndex="1">
|
||||||
<font>
|
<font>
|
||||||
<Font name="Cantarell Regular" size="30.0" />
|
<Font name="Cantarell Regular" size="24.0" />
|
||||||
</font>
|
</font>
|
||||||
</JFXButton>
|
</JFXButton>
|
||||||
<JFXButton fx:id="gridButton15" buttonType="RAISED" maxWidth="235.0" minWidth="200.0" onAction="#gridButton15Action" prefHeight="169.0" prefWidth="235.0" ripplerFill="#655252" text="Rote Wurst 2,60€" textAlignment="CENTER" wrapText="true" GridPane.rowIndex="2">
|
<JFXButton fx:id="gridButton15" buttonType="RAISED" maxWidth="235.0" minWidth="179.0" onAction="#gridButton15Action" prefHeight="169.0" prefWidth="235.0" ripplerFill="#655252" text="Rote Wurst 2,60€" textAlignment="CENTER" wrapText="true" GridPane.rowIndex="2">
|
||||||
<font>
|
<font>
|
||||||
<Font name="Cantarell Regular" size="30.0" />
|
<Font name="Cantarell Regular" size="24.0" />
|
||||||
</font>
|
</font>
|
||||||
</JFXButton>
|
</JFXButton>
|
||||||
<JFXButton fx:id="gridButton14" buttonType="RAISED" maxWidth="235.0" minWidth="200.0" onAction="#gridButton14Action" prefHeight="169.0" prefWidth="235.0" ripplerFill="#655252" text="Rote Wurst 2,60€" textAlignment="CENTER" wrapText="true" GridPane.columnIndex="1" GridPane.rowIndex="2">
|
<JFXButton fx:id="gridButton14" buttonType="RAISED" maxWidth="235.0" minWidth="179.0" onAction="#gridButton14Action" prefHeight="169.0" prefWidth="235.0" ripplerFill="#655252" text="Rote Wurst 2,60€" textAlignment="CENTER" wrapText="true" GridPane.columnIndex="1" GridPane.rowIndex="2">
|
||||||
<font>
|
<font>
|
||||||
<Font name="Cantarell Regular" size="30.0" />
|
<Font name="Cantarell Regular" size="24.0" />
|
||||||
</font>
|
</font>
|
||||||
</JFXButton>
|
</JFXButton>
|
||||||
<JFXButton fx:id="gridButton13" buttonType="RAISED" maxWidth="235.0" minWidth="200.0" onAction="#gridButton13Action" prefHeight="169.0" prefWidth="235.0" ripplerFill="#655252" text="Rote Wurst 2,60€" textAlignment="CENTER" wrapText="true" GridPane.columnIndex="2" GridPane.rowIndex="2">
|
<JFXButton fx:id="gridButton13" buttonType="RAISED" maxWidth="235.0" minWidth="179.0" onAction="#gridButton13Action" prefHeight="169.0" prefWidth="235.0" ripplerFill="#655252" text="Rote Wurst 2,60€" textAlignment="CENTER" wrapText="true" GridPane.columnIndex="2" GridPane.rowIndex="2">
|
||||||
<font>
|
<font>
|
||||||
<Font name="Cantarell Regular" size="30.0" />
|
<Font name="Cantarell Regular" size="24.0" />
|
||||||
</font>
|
</font>
|
||||||
</JFXButton>
|
</JFXButton>
|
||||||
<JFXButton fx:id="gridButton12" buttonType="RAISED" maxWidth="235.0" minWidth="200.0" onAction="#gridButton12Action" prefHeight="169.0" prefWidth="235.0" ripplerFill="#655252" text="Rote Wurst 2,60€" textAlignment="CENTER" wrapText="true" GridPane.columnIndex="3" GridPane.rowIndex="2">
|
<JFXButton fx:id="gridButton12" buttonType="RAISED" maxWidth="235.0" minWidth="179.0" onAction="#gridButton12Action" prefHeight="169.0" prefWidth="235.0" ripplerFill="#655252" text="Rote Wurst 2,60€" textAlignment="CENTER" wrapText="true" GridPane.columnIndex="3" GridPane.rowIndex="2">
|
||||||
<font>
|
<font>
|
||||||
<Font name="Cantarell Regular" size="30.0" />
|
<Font name="Cantarell Regular" size="24.0" />
|
||||||
</font>
|
</font>
|
||||||
</JFXButton>
|
</JFXButton>
|
||||||
<JFXButton fx:id="gridButton11" buttonType="RAISED" maxWidth="235.0" minWidth="200.0" onAction="#gridButton11Action" prefHeight="169.0" prefWidth="235.0" ripplerFill="#655252" text="Rote Wurst 2,60€" textAlignment="CENTER" wrapText="true" GridPane.columnIndex="4" GridPane.rowIndex="2">
|
<JFXButton fx:id="gridButton11" buttonType="RAISED" maxWidth="235.0" minWidth="179.0" onAction="#gridButton11Action" prefHeight="169.0" prefWidth="235.0" ripplerFill="#655252" text="Rote Wurst 2,60€" textAlignment="CENTER" wrapText="true" GridPane.columnIndex="4" GridPane.rowIndex="2">
|
||||||
<font>
|
<font>
|
||||||
<Font name="Cantarell Regular" size="30.0" />
|
<Font name="Cantarell Regular" size="24.0" />
|
||||||
</font>
|
</font>
|
||||||
</JFXButton>
|
</JFXButton>
|
||||||
<JFXButton fx:id="gridButton20" buttonType="RAISED" maxWidth="235.0" minWidth="200.0" onAction="#gridButton20Action" prefHeight="169.0" prefWidth="235.0" ripplerFill="#655252" text="Rote Wurst 2,60€" textAlignment="CENTER" wrapText="true" GridPane.rowIndex="3">
|
<JFXButton fx:id="gridButton20" buttonType="RAISED" maxWidth="235.0" minWidth="179.0" onAction="#gridButton20Action" prefHeight="169.0" prefWidth="235.0" ripplerFill="#655252" text="Rote Wurst 2,60€" textAlignment="CENTER" wrapText="true" GridPane.rowIndex="3">
|
||||||
<font>
|
<font>
|
||||||
<Font name="Cantarell Regular" size="30.0" />
|
<Font name="Cantarell Regular" size="24.0" />
|
||||||
</font>
|
</font>
|
||||||
</JFXButton>
|
</JFXButton>
|
||||||
<JFXButton fx:id="gridButton19" buttonType="RAISED" maxWidth="235.0" minWidth="200.0" onAction="#gridButton19Action" prefHeight="169.0" prefWidth="235.0" ripplerFill="#655252" text="Rote Wurst 2,60€" textAlignment="CENTER" wrapText="true" GridPane.columnIndex="1" GridPane.rowIndex="3">
|
<JFXButton fx:id="gridButton19" buttonType="RAISED" maxWidth="235.0" minWidth="179.0" onAction="#gridButton19Action" prefHeight="169.0" prefWidth="235.0" ripplerFill="#655252" text="Rote Wurst 2,60€" textAlignment="CENTER" wrapText="true" GridPane.columnIndex="1" GridPane.rowIndex="3">
|
||||||
<font>
|
<font>
|
||||||
<Font name="Cantarell Regular" size="30.0" />
|
<Font name="Cantarell Regular" size="24.0" />
|
||||||
</font>
|
</font>
|
||||||
</JFXButton>
|
</JFXButton>
|
||||||
<JFXButton fx:id="gridButton18" buttonType="RAISED" maxWidth="235.0" minWidth="200.0" onAction="#gridButton18Action" prefHeight="169.0" prefWidth="235.0" ripplerFill="#655252" text="Rote Wurst 2,60€" textAlignment="CENTER" wrapText="true" GridPane.columnIndex="2" GridPane.rowIndex="3">
|
<JFXButton fx:id="gridButton18" buttonType="RAISED" maxWidth="235.0" minWidth="179.0" onAction="#gridButton18Action" prefHeight="169.0" prefWidth="235.0" ripplerFill="#655252" text="Rote Wurst 2,60€" textAlignment="CENTER" wrapText="true" GridPane.columnIndex="2" GridPane.rowIndex="3">
|
||||||
<font>
|
<font>
|
||||||
<Font name="Cantarell Regular" size="30.0" />
|
<Font name="Cantarell Regular" size="24.0" />
|
||||||
</font>
|
</font>
|
||||||
</JFXButton>
|
</JFXButton>
|
||||||
<JFXButton fx:id="gridButton17" buttonType="RAISED" maxWidth="235.0" minWidth="200.0" onAction="#gridButton17Action" prefHeight="169.0" prefWidth="235.0" ripplerFill="#655252" text="Rote Wurst 2,60€" textAlignment="CENTER" wrapText="true" GridPane.columnIndex="3" GridPane.rowIndex="3">
|
<JFXButton fx:id="gridButton17" buttonType="RAISED" maxWidth="235.0" minWidth="179.0" onAction="#gridButton17Action" prefHeight="169.0" prefWidth="235.0" ripplerFill="#655252" text="Rote Wurst 2,60€" textAlignment="CENTER" wrapText="true" GridPane.columnIndex="3" GridPane.rowIndex="3">
|
||||||
<font>
|
<font>
|
||||||
<Font name="Cantarell Regular" size="30.0" />
|
<Font name="Cantarell Regular" size="24.0" />
|
||||||
</font>
|
</font>
|
||||||
</JFXButton>
|
</JFXButton>
|
||||||
<JFXButton fx:id="gridButton16" buttonType="RAISED" maxWidth="235.0" minWidth="200.0" onAction="#gridButton16Action" prefHeight="169.0" prefWidth="235.0" ripplerFill="#655252" text="Rote Wurst 2,60€" textAlignment="CENTER" wrapText="true" GridPane.columnIndex="4" GridPane.rowIndex="3">
|
<JFXButton fx:id="gridButton16" buttonType="RAISED" maxWidth="235.0" minWidth="179.0" onAction="#gridButton16Action" prefHeight="169.0" prefWidth="235.0" ripplerFill="#655252" text="Rote Wurst 2,60€" textAlignment="CENTER" wrapText="true" GridPane.columnIndex="4" GridPane.rowIndex="3">
|
||||||
<font>
|
<font>
|
||||||
<Font name="Cantarell Regular" size="30.0" />
|
<Font name="Cantarell Regular" size="24.0" />
|
||||||
</font>
|
</font>
|
||||||
</JFXButton>
|
</JFXButton>
|
||||||
<JFXButton fx:id="gridButton25" buttonType="RAISED" maxWidth="235.0" minWidth="200.0" onAction="#gridButton25Action" prefHeight="169.0" prefWidth="235.0" ripplerFill="#655252" text="Rote Wurst 2,60€" textAlignment="CENTER" wrapText="true" GridPane.rowIndex="4">
|
<JFXButton fx:id="gridButton25" buttonType="RAISED" maxWidth="235.0" minWidth="179.0" onAction="#gridButton25Action" prefHeight="169.0" prefWidth="235.0" ripplerFill="#655252" text="Rote Wurst 2,60€" textAlignment="CENTER" wrapText="true" GridPane.rowIndex="4">
|
||||||
<font>
|
<font>
|
||||||
<Font name="Cantarell Regular" size="30.0" />
|
<Font name="Cantarell Regular" size="24.0" />
|
||||||
</font>
|
</font>
|
||||||
</JFXButton>
|
</JFXButton>
|
||||||
<JFXButton fx:id="gridButton23" buttonType="RAISED" maxWidth="235.0" minWidth="200.0" onAction="#gridButton23Action" prefHeight="169.0" prefWidth="235.0" ripplerFill="#655252" text="Rote Wurst 2,60€" textAlignment="CENTER" wrapText="true" GridPane.columnIndex="2" GridPane.rowIndex="4">
|
<JFXButton fx:id="gridButton23" buttonType="RAISED" maxWidth="235.0" minWidth="179.0" onAction="#gridButton23Action" prefHeight="169.0" prefWidth="235.0" ripplerFill="#655252" text="Rote Wurst 2,60€" textAlignment="CENTER" wrapText="true" GridPane.columnIndex="2" GridPane.rowIndex="4">
|
||||||
<font>
|
<font>
|
||||||
<Font name="Cantarell Regular" size="30.0" />
|
<Font name="Cantarell Regular" size="24.0" />
|
||||||
</font>
|
</font>
|
||||||
</JFXButton>
|
</JFXButton>
|
||||||
<JFXButton fx:id="gridButton22" buttonType="RAISED" maxWidth="235.0" minWidth="200.0" onAction="#gridButton22Action" prefHeight="169.0" prefWidth="235.0" ripplerFill="#655252" text="Rote Wurst 2,60€" textAlignment="CENTER" wrapText="true" GridPane.columnIndex="3" GridPane.rowIndex="4">
|
<JFXButton fx:id="gridButton22" buttonType="RAISED" maxWidth="235.0" minWidth="179.0" onAction="#gridButton22Action" prefHeight="169.0" prefWidth="235.0" ripplerFill="#655252" text="Rote Wurst 2,60€" textAlignment="CENTER" wrapText="true" GridPane.columnIndex="3" GridPane.rowIndex="4">
|
||||||
<font>
|
<font>
|
||||||
<Font name="Cantarell Regular" size="30.0" />
|
<Font name="Cantarell Regular" size="24.0" />
|
||||||
</font>
|
</font>
|
||||||
</JFXButton>
|
</JFXButton>
|
||||||
<JFXButton fx:id="gridButton21" buttonType="RAISED" maxWidth="235.0" minWidth="200.0" onAction="#gridButton21Action" prefHeight="169.0" prefWidth="235.0" ripplerFill="#655252" text="Rote Wurst 2,60€" textAlignment="CENTER" wrapText="true" GridPane.columnIndex="4" GridPane.rowIndex="4">
|
<JFXButton fx:id="gridButton21" buttonType="RAISED" maxWidth="235.0" minWidth="179.0" onAction="#gridButton21Action" prefHeight="169.0" prefWidth="235.0" ripplerFill="#655252" text="Rote Wurst 2,60€" textAlignment="CENTER" wrapText="true" GridPane.columnIndex="4" GridPane.rowIndex="4">
|
||||||
<font>
|
<font>
|
||||||
<Font name="Cantarell Regular" size="30.0" />
|
<Font name="Cantarell Regular" size="24.0" />
|
||||||
</font>
|
</font>
|
||||||
</JFXButton>
|
</JFXButton>
|
||||||
<JFXButton fx:id="gridButton24" buttonType="RAISED" maxWidth="235.0" minWidth="200.0" onAction="#gridButton24Action" prefHeight="169.0" prefWidth="235.0" ripplerFill="#655252" text="Rote Wurst 2,60€" textAlignment="CENTER" wrapText="true" GridPane.columnIndex="1" GridPane.rowIndex="4">
|
<JFXButton fx:id="gridButton24" buttonType="RAISED" maxWidth="235.0" minWidth="179.0" onAction="#gridButton24Action" prefHeight="169.0" prefWidth="235.0" ripplerFill="#655252" text="Rote Wurst 2,60€" textAlignment="CENTER" wrapText="true" GridPane.columnIndex="1" GridPane.rowIndex="4">
|
||||||
<font>
|
<font>
|
||||||
<Font name="Cantarell Regular" size="30.0" />
|
<Font name="Cantarell Regular" size="24.0" />
|
||||||
</font>
|
</font>
|
||||||
</JFXButton>
|
</JFXButton>
|
||||||
</children>
|
</children>
|
||||||
</GridPane>
|
</GridPane>
|
||||||
<Button fx:id="btnPrintBill" contentDisplay="CENTER" defaultButton="true" graphicTextGap="1.0" layoutX="45.0" layoutY="765.0" maxHeight="70.0" minHeight="100.0" mnemonicParsing="false" onAction="#btnPrintBillAction" prefHeight="70.0" prefWidth="310.0" text="Drucken" wrapText="true">
|
<Button fx:id="btnPrintBill" contentDisplay="CENTER" defaultButton="true" graphicTextGap="1.0" layoutX="75.0" layoutY="599.0" maxHeight="88.0" minHeight="75.0" mnemonicParsing="false" onAction="#btnPrintBillAction" prefHeight="88.0" prefWidth="258.0" text="Drucken" wrapText="true">
|
||||||
<font>
|
<font>
|
||||||
<Font name="Cantarell Bold" size="56.0" />
|
<Font name="Cantarell Bold" size="48.0" />
|
||||||
</font>
|
</font>
|
||||||
</Button>
|
</Button>
|
||||||
<Button fx:id="btnDeleteSelectedPosition" layoutX="16.0" layoutY="603.0" mnemonicParsing="false" onAction="#btnDeleteSelectedPositionAction" prefWidth="374.0" text="Ausgewählte Position löschen" textAlignment="CENTER">
|
<Button fx:id="btnDeleteSelectedPosition" layoutX="43.0" layoutY="475.0" mnemonicParsing="false" onAction="#btnDeleteSelectedPositionAction" prefHeight="17.0" prefWidth="332.0" text="Ausgewählte Position löschen" textAlignment="CENTER">
|
||||||
<font>
|
<font>
|
||||||
<Font name="Cantarell Regular" size="24.0" />
|
<Font name="Cantarell Regular" size="20.0" />
|
||||||
</font>
|
</font>
|
||||||
</Button>
|
</Button>
|
||||||
<Label fx:id="labelAllPrize" alignment="CENTER" contentDisplay="CENTER" layoutY="655.0" prefHeight="15.0" prefWidth="386.0" text="99,99 €" textAlignment="CENTER">
|
<Label fx:id="labelAllPrize" alignment="CENTER" contentDisplay="CENTER" layoutX="10.0" layoutY="505.0" prefHeight="15.0" prefWidth="386.0" text="99,99 €" textAlignment="CENTER">
|
||||||
<font>
|
<font>
|
||||||
<Font name="Open Sans" size="80.0" />
|
<Font name="Open Sans" size="70.0" />
|
||||||
</font>
|
</font>
|
||||||
</Label>
|
</Label>
|
||||||
<Label fx:id="labelJobCounter" alignment="TOP_RIGHT" contentDisplay="CENTER" layoutX="5.0" layoutY="70.0" prefHeight="15.0" prefWidth="386.0" text="Auftragsnummer: 128" textAlignment="CENTER">
|
<Label fx:id="labelJobCounter" alignment="TOP_RIGHT" contentDisplay="CENTER" layoutX="5.0" layoutY="45.0" prefHeight="34.0" prefWidth="392.0" text="Auftragsnummer: 128" textAlignment="CENTER">
|
||||||
<font>
|
<font>
|
||||||
<Font name="Cantarell Regular" size="32.0" />
|
<Font name="Cantarell Regular" size="26.0" />
|
||||||
</font>
|
</font>
|
||||||
</Label>
|
</Label>
|
||||||
<Label fx:id="labelTime" alignment="TOP_RIGHT" contentDisplay="CENTER" layoutX="7.0" layoutY="11.0" prefHeight="15.0" prefWidth="386.0" text="Uhrzeit: 12:15" textAlignment="CENTER">
|
<Label fx:id="labelTime" alignment="TOP_RIGHT" contentDisplay="CENTER" layoutX="7.0" layoutY="11.0" prefHeight="15.0" prefWidth="392.0" text="Uhrzeit: 12:15" textAlignment="CENTER">
|
||||||
<font>
|
<font>
|
||||||
<Font name="Cantarell Regular" size="32.0" />
|
<Font name="Cantarell Regular" size="26.0" />
|
||||||
</font>
|
</font>
|
||||||
</Label>
|
</Label>
|
||||||
<JFXButton fx:id="btnLock" buttonType="RAISED" cancelButton="true" layoutX="16.0" layoutY="11.0" lineSpacing="2.0" onAction="#btnLockAction" prefHeight="42.0" prefWidth="148.0" ripplerFill="BLACK" text="Kasse sperren" textAlignment="CENTER" textFill="#c91c1c" textOverrun="LEADING_WORD_ELLIPSIS">
|
<JFXButton fx:id="btnLock" buttonType="RAISED" cancelButton="true" layoutX="1.0" layoutY="6.0" lineSpacing="2.0" onAction="#btnLockAction" prefHeight="42.0" prefWidth="148.0" ripplerFill="BLACK" text="Kasse sperren" textAlignment="CENTER" textFill="#c91c1c" textOverrun="LEADING_WORD_ELLIPSIS">
|
||||||
<font>
|
<font>
|
||||||
<Font name="Cantarell Regular" size="19.0" />
|
<Font name="Cantarell Regular" size="19.0" />
|
||||||
</font>
|
</font>
|
||||||
</JFXButton>
|
</JFXButton>
|
||||||
<Line endX="800.0" layoutX="53.0" layoutY="465.0" rotate="90.0" startX="-100.0" strokeWidth="4.0" />
|
<Line endX="800.0" layoutX="62.0" layoutY="465.0" rotate="90.0" startX="-100.0" strokeWidth="4.0" />
|
||||||
</children>
|
</children>
|
||||||
</AnchorPane>
|
</AnchorPane>
|
||||||
</content>
|
</content>
|
||||||
|
|
Binary file not shown.
Binary file not shown.
|
@ -42,6 +42,7 @@ public class Main extends Application
|
||||||
{
|
{
|
||||||
this.primaryStage = primaryStage;
|
this.primaryStage = primaryStage;
|
||||||
mainWindow();
|
mainWindow();
|
||||||
|
//this.primaryStage.setResizable(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
private void mainWindow()
|
private void mainWindow()
|
||||||
|
@ -52,8 +53,8 @@ public class Main extends Application
|
||||||
AnchorPane pane = loader.load();
|
AnchorPane pane = loader.load();
|
||||||
// Test
|
// Test
|
||||||
//Test
|
//Test
|
||||||
// primaryStage.setWidth(1536);
|
primaryStage.setWidth(1366);
|
||||||
// primaryStage.setHeight(864);
|
primaryStage.setHeight(732);
|
||||||
primaryStage.setTitle("jFxKasse"); // Title der Stage
|
primaryStage.setTitle("jFxKasse"); // Title der Stage
|
||||||
|
|
||||||
mwc = loader.getController();
|
mwc = loader.getController();
|
||||||
|
@ -82,6 +83,7 @@ public class Main extends Application
|
||||||
|
|
||||||
private void firstStart() throws Exception
|
private void firstStart() throws Exception
|
||||||
{
|
{
|
||||||
|
|
||||||
if (mwc.loadSettings()) { // Wenn XML gefunden
|
if (mwc.loadSettings()) { // Wenn XML gefunden
|
||||||
dbc.verbindeDatenbank(); // Verbindet mit der Datenbank-Datei
|
dbc.verbindeDatenbank(); // Verbindet mit der Datenbank-Datei
|
||||||
|
|
||||||
|
|
|
@ -15,7 +15,7 @@
|
||||||
<?import javafx.scene.shape.Line?>
|
<?import javafx.scene.shape.Line?>
|
||||||
<?import javafx.scene.text.Font?>
|
<?import javafx.scene.text.Font?>
|
||||||
|
|
||||||
<AnchorPane fx:id="mainAnchorpane" maxHeight="924.0" maxWidth="1536.0" minHeight="864.0" minWidth="1536.0" prefHeight="913.0" prefWidth="1536.0" xmlns="http://javafx.com/javafx/9" xmlns:fx="http://javafx.com/fxml/1" fx:controller="application.MainWindowController">
|
<AnchorPane fx:id="mainAnchorpane" maxHeight="732.0" maxWidth="1366.0" minHeight="732.0" minWidth="1366.0" prefHeight="732.0" prefWidth="1366.0" xmlns="http://javafx.com/javafx/9" xmlns:fx="http://javafx.com/fxml/1" fx:controller="application.MainWindowController">
|
||||||
<children>
|
<children>
|
||||||
<TabPane layoutX="4.0" layoutY="5.0" nodeOrientation="RIGHT_TO_LEFT" prefHeight="924.0" prefWidth="1536.0" tabClosingPolicy="UNAVAILABLE" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
|
<TabPane layoutX="4.0" layoutY="5.0" nodeOrientation="RIGHT_TO_LEFT" prefHeight="924.0" prefWidth="1536.0" tabClosingPolicy="UNAVAILABLE" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
|
||||||
<tabs>
|
<tabs>
|
||||||
|
@ -37,48 +37,53 @@
|
||||||
<content>
|
<content>
|
||||||
<AnchorPane minHeight="0.0" minWidth="0.0" prefHeight="850.0" prefWidth="1536.0">
|
<AnchorPane minHeight="0.0" minWidth="0.0" prefHeight="850.0" prefWidth="1536.0">
|
||||||
<children>
|
<children>
|
||||||
<TreeTableView fx:id="mainTreeTable" layoutX="11.0" layoutY="10.0" prefHeight="740.0" prefWidth="1514.0">
|
<TreeTableView fx:id="jobsTreeTable" layoutX="11.0" layoutY="10.0" prefHeight="541.0" prefWidth="1346.0">
|
||||||
<columns>
|
<columns>
|
||||||
<TreeTableColumn fx:id="datumSpalte" editable="false" prefWidth="90.6666259765625" text="Betrag" />
|
<TreeTableColumn fx:id="columnValue" editable="false" prefWidth="90.6666259765625" text="Betrag" />
|
||||||
<TreeTableColumn fx:id="kontoSpalte" editable="false" prefWidth="91.0" text="Zustand" />
|
<TreeTableColumn fx:id="columnState" editable="false" prefWidth="91.0" text="Zustand" />
|
||||||
<TreeTableColumn fx:id="kontoSpalte1" editable="false" prefWidth="1140.333251953125" sortable="false" text="Positionen" />
|
<TreeTableColumn fx:id="columnPositions" editable="false" prefWidth="1140.333251953125" sortable="false" text="Positionen" />
|
||||||
<TreeTableColumn fx:id="kontoSpalte2" editable="false" prefWidth="121.666748046875" text="Zeit" />
|
<TreeTableColumn fx:id="columnTime" editable="false" prefWidth="121.666748046875" text="Zeit" />
|
||||||
<TreeTableColumn fx:id="kontoSpalte3" editable="false" prefWidth="72.333251953125" text="Nummer" />
|
<TreeTableColumn fx:id="columnNumber" editable="false" prefWidth="72.333251953125" text="Nummer" />
|
||||||
</columns>
|
</columns>
|
||||||
</TreeTableView>
|
</TreeTableView>
|
||||||
<Button fx:id="btnCancelJob" layoutX="10.0" layoutY="800.0" mnemonicParsing="false" onAction="#btnCancelJobAction" text="Ausgewählter Auftrag stonieren">
|
<Button fx:id="btnReprintJob" layoutX="378.0" layoutY="603.0" mnemonicParsing="false" onAction="#btnReprintJobAction" text="Ausgewählter Auftrag Drucken">
|
||||||
<font>
|
<font>
|
||||||
<Font name="Cantarell Regular" size="17.0" />
|
<Font name="Cantarell Regular" size="17.0" />
|
||||||
</font>
|
</font>
|
||||||
</Button>
|
</Button>
|
||||||
<Button fx:id="btnReprintJob" layoutX="340.0" layoutY="800.0" mnemonicParsing="false" onAction="#btnReprintJobAction" text="Ausgewählter Auftrag Drucken">
|
<TitledPane fx:id="titlePaneStats" alignment="CENTER" collapsible="false" contentDisplay="CENTER" layoutX="992.0" layoutY="561.0" prefHeight="118.0" prefWidth="365.0" text="Statistik - 30.03..2018 15:15 Uhr">
|
||||||
<font>
|
|
||||||
<Font name="Cantarell Regular" size="17.0" />
|
|
||||||
</font>
|
|
||||||
</Button>
|
|
||||||
<TitledPane alignment="CENTER" collapsible="false" contentDisplay="CENTER" layoutX="1041.0" layoutY="762.0" prefHeight="107.0" prefWidth="485.0" text="Statistik - 30.03..2018 15:15 Uhr">
|
|
||||||
<content>
|
<content>
|
||||||
<AnchorPane minHeight="0.0" minWidth="0.0" prefHeight="59.0" prefWidth="483.0">
|
<AnchorPane minHeight="0.0" minWidth="0.0" prefHeight="59.0" prefWidth="483.0">
|
||||||
<children>
|
<children>
|
||||||
<Label alignment="TOP_RIGHT" contentDisplay="RIGHT" layoutX="17.0" layoutY="2.0" prefHeight="34.0" prefWidth="460.0" text="Anzahl Aufträge: 2781">
|
<Label fx:id="lableJobCount" alignment="TOP_RIGHT" contentDisplay="RIGHT" layoutX="17.0" layoutY="2.0" prefHeight="34.0" prefWidth="340.0" text="Anzahl Aufträge: 2781">
|
||||||
<font>
|
<font>
|
||||||
<Font size="23.0" />
|
<Font name="Cantarell Regular" size="18.0" />
|
||||||
</font>
|
</font>
|
||||||
</Label>
|
</Label>
|
||||||
<Label alignment="TOP_RIGHT" contentDisplay="RIGHT" layoutX="17.0" layoutY="26.0" prefHeight="34.0" prefWidth="460.0" text="Durchschnittlicher Auftragswert: 12,90€">
|
<Label fx:id="labelAvgJob" alignment="TOP_RIGHT" contentDisplay="RIGHT" layoutX="17.0" layoutY="30.0" prefHeight="34.0" prefWidth="340.0" text="Durchschnittlicher Auftragswert: 12,90€">
|
||||||
<font>
|
<font>
|
||||||
<Font size="23.0" />
|
<Font name="Cantarell Regular" size="18.0" />
|
||||||
</font>
|
</font>
|
||||||
</Label>
|
</Label>
|
||||||
<Label alignment="TOP_RIGHT" contentDisplay="RIGHT" layoutX="17.0" layoutY="50.0" prefHeight="34.0" prefWidth="460.0" text="Gesamt: 1088,48€">
|
<Label fx:id="lableAllValue" alignment="TOP_RIGHT" contentDisplay="RIGHT" layoutX="17.0" layoutY="60.0" prefHeight="34.0" prefWidth="340.0" text="Gesamt: 1088,48€">
|
||||||
<font>
|
<font>
|
||||||
<Font size="23.0" />
|
<Font name="Cantarell Regular" size="18.0" />
|
||||||
</font>
|
</font>
|
||||||
</Label>
|
</Label>
|
||||||
</children>
|
</children>
|
||||||
</AnchorPane>
|
</AnchorPane>
|
||||||
</content>
|
</content>
|
||||||
</TitledPane>
|
</TitledPane>
|
||||||
|
<Button fx:id="bntCancelJob" layoutX="44.0" layoutY="603.0" mnemonicParsing="false" onAction="#bntCancelJobAction" text="Ausgewählter Auftrag stonieren">
|
||||||
|
<font>
|
||||||
|
<Font name="Cantarell Regular" size="17.0" />
|
||||||
|
</font>
|
||||||
|
</Button>
|
||||||
|
<Button fx:id="btnCalcStats" layoutX="712.0" layoutY="603.0" mnemonicParsing="false" onAction="#btnCalcStatsAction" text="Statistiken berrechnen">
|
||||||
|
<font>
|
||||||
|
<Font name="Cantarell Regular" size="17.0" />
|
||||||
|
</font>
|
||||||
|
</Button>
|
||||||
</children>
|
</children>
|
||||||
</AnchorPane>
|
</AnchorPane>
|
||||||
</content>
|
</content>
|
||||||
|
@ -87,13 +92,13 @@
|
||||||
<content>
|
<content>
|
||||||
<AnchorPane minHeight="0.0" minWidth="0.0" prefHeight="850.0" prefWidth="1536.0">
|
<AnchorPane minHeight="0.0" minWidth="0.0" prefHeight="850.0" prefWidth="1536.0">
|
||||||
<children>
|
<children>
|
||||||
<TreeTableView fx:id="tableCurrentOrder" layoutX="15.0" layoutY="123.0" prefHeight="464.0" prefWidth="374.0">
|
<TreeTableView fx:id="tableCurrentOrder" layoutX="15.0" layoutY="85.0" prefHeight="379.0" prefWidth="382.0">
|
||||||
<columns>
|
<columns>
|
||||||
<TreeTableColumn fx:id="columnPosition" editable="false" prefWidth="304.3333740234375" resizable="false" sortable="false" text="Position" />
|
<TreeTableColumn fx:id="columnPosition" editable="false" prefWidth="304.3333740234375" resizable="false" sortable="false" text="Position" />
|
||||||
<TreeTableColumn fx:id="columnQuantity" editable="false" prefWidth="80.6666259765625" resizable="false" sortable="false" text="Anzahl" />
|
<TreeTableColumn fx:id="columnQuantity" editable="false" prefWidth="80.6666259765625" resizable="false" sortable="false" text="Anzahl" />
|
||||||
</columns>
|
</columns>
|
||||||
</TreeTableView>
|
</TreeTableView>
|
||||||
<GridPane gridLinesVisible="true" layoutX="421.0" layoutY="15.0" prefHeight="850.0" prefWidth="1100.0">
|
<GridPane gridLinesVisible="true" layoutX="430.0" layoutY="15.0" prefHeight="670.0" prefWidth="920.0">
|
||||||
<columnConstraints>
|
<columnConstraints>
|
||||||
<ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0" />
|
<ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0" />
|
||||||
<ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0" />
|
<ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0" />
|
||||||
|
@ -109,164 +114,164 @@
|
||||||
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
|
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
|
||||||
</rowConstraints>
|
</rowConstraints>
|
||||||
<children>
|
<children>
|
||||||
<JFXButton fx:id="gridButton04" buttonType="RAISED" maxWidth="235.0" minWidth="200.0" onAction="#gridButton04Action" prefHeight="169.0" prefWidth="235.0" ripplerFill="#655252" text="Rote Wurst 2,60€" textAlignment="CENTER" wrapText="true" GridPane.columnIndex="1">
|
<JFXButton fx:id="gridButton04" buttonType="RAISED" maxWidth="235.0" minWidth="179.0" onAction="#gridButton04Action" prefHeight="169.0" prefWidth="235.0" ripplerFill="#655252" text="Rote Wurst 2,60€" textAlignment="CENTER" wrapText="true" GridPane.columnIndex="1">
|
||||||
<font>
|
<font>
|
||||||
<Font name="Cantarell Regular" size="30.0" />
|
<Font name="Cantarell Regular" size="24.0" />
|
||||||
</font>
|
</font>
|
||||||
</JFXButton>
|
</JFXButton>
|
||||||
<JFXButton fx:id="gridButton05" buttonType="RAISED" maxWidth="235.0" minWidth="200.0" onAction="#gridButton05Action" prefHeight="169.0" prefWidth="235.0" ripplerFill="#655252" text="Rote Wurst 2,60€" textAlignment="CENTER" wrapText="true">
|
<JFXButton fx:id="gridButton05" buttonType="RAISED" maxWidth="235.0" minWidth="179.0" onAction="#gridButton05Action" prefHeight="169.0" prefWidth="235.0" ripplerFill="#655252" text="Rote Wurst 2,60€" textAlignment="CENTER" wrapText="true">
|
||||||
<font>
|
<font>
|
||||||
<Font name="Cantarell Regular" size="30.0" />
|
<Font name="Cantarell Regular" size="24.0" />
|
||||||
</font>
|
</font>
|
||||||
</JFXButton>
|
</JFXButton>
|
||||||
<JFXButton fx:id="gridButton03" buttonType="RAISED" maxWidth="235.0" minWidth="200.0" onAction="#gridButton03Action" prefHeight="169.0" prefWidth="235.0" ripplerFill="#655252" text="Rote Wurst 2,60€" textAlignment="CENTER" wrapText="true" GridPane.columnIndex="2">
|
<JFXButton fx:id="gridButton03" buttonType="RAISED" maxWidth="235.0" minWidth="179.0" onAction="#gridButton03Action" prefHeight="169.0" prefWidth="235.0" ripplerFill="#655252" text="Rote Wurst 2,60€" textAlignment="CENTER" wrapText="true" GridPane.columnIndex="2">
|
||||||
<font>
|
<font>
|
||||||
<Font name="Cantarell Regular" size="30.0" />
|
<Font name="Cantarell Regular" size="24.0" />
|
||||||
</font>
|
</font>
|
||||||
</JFXButton>
|
</JFXButton>
|
||||||
<JFXButton fx:id="gridButton02" buttonType="RAISED" maxWidth="235.0" minWidth="200.0" onAction="#gridButton02Action" prefHeight="169.0" prefWidth="235.0" ripplerFill="#655252" text="Rote Wurst 2,60€" textAlignment="CENTER" wrapText="true" GridPane.columnIndex="3">
|
<JFXButton fx:id="gridButton02" buttonType="RAISED" maxWidth="235.0" minWidth="179.0" onAction="#gridButton02Action" prefHeight="169.0" prefWidth="235.0" ripplerFill="#655252" text="Rote Wurst 2,60€" textAlignment="CENTER" wrapText="true" GridPane.columnIndex="3">
|
||||||
<font>
|
<font>
|
||||||
<Font name="Cantarell Regular" size="30.0" />
|
<Font name="Cantarell Regular" size="24.0" />
|
||||||
</font>
|
</font>
|
||||||
</JFXButton>
|
</JFXButton>
|
||||||
<JFXButton fx:id="gridButton05" buttonType="RAISED" maxWidth="235.0" minWidth="200.0" onAction="#gridButton05Action" prefHeight="169.0" prefWidth="235.0" ripplerFill="#655252" text="Rote Wurst 2,60€" textAlignment="CENTER" wrapText="true" GridPane.columnIndex="4">
|
<JFXButton fx:id="gridButton01" buttonType="RAISED" maxWidth="235.0" minWidth="179.0" onAction="#gridButton01Action" prefHeight="134.0" prefWidth="179.0" ripplerFill="#655252" text="Rote Wurst 2,60€" textAlignment="CENTER" wrapText="true" GridPane.columnIndex="4">
|
||||||
<font>
|
<font>
|
||||||
<Font name="Cantarell Regular" size="30.0" />
|
<Font name="Cantarell Regular" size="24.0" />
|
||||||
</font>
|
</font>
|
||||||
</JFXButton>
|
</JFXButton>
|
||||||
<JFXButton fx:id="gridButton10" buttonType="RAISED" maxWidth="235.0" minWidth="200.0" onAction="#gridButton10Action" prefHeight="169.0" prefWidth="235.0" ripplerFill="#655252" text="Rote Wurst 2,60€" textAlignment="CENTER" wrapText="true" GridPane.rowIndex="1">
|
<JFXButton fx:id="gridButton10" buttonType="RAISED" maxWidth="235.0" minWidth="179.0" onAction="#gridButton10Action" prefHeight="169.0" prefWidth="235.0" ripplerFill="#655252" text="Rote Wurst 2,60€" textAlignment="CENTER" wrapText="true" GridPane.rowIndex="1">
|
||||||
<font>
|
<font>
|
||||||
<Font name="Cantarell Regular" size="30.0" />
|
<Font name="Cantarell Regular" size="24.0" />
|
||||||
</font>
|
</font>
|
||||||
</JFXButton>
|
</JFXButton>
|
||||||
<JFXButton fx:id="gridButton09" buttonType="RAISED" maxWidth="235.0" minWidth="200.0" onAction="#gridButton09Action" prefHeight="169.0" prefWidth="235.0" ripplerFill="#655252" text="Rote Wurst 2,60€" textAlignment="CENTER" wrapText="true" GridPane.columnIndex="1" GridPane.rowIndex="1">
|
<JFXButton fx:id="gridButton09" buttonType="RAISED" maxWidth="235.0" minWidth="179.0" onAction="#gridButton09Action" prefHeight="169.0" prefWidth="235.0" ripplerFill="#655252" text="Rote Wurst 2,60€" textAlignment="CENTER" wrapText="true" GridPane.columnIndex="1" GridPane.rowIndex="1">
|
||||||
<font>
|
<font>
|
||||||
<Font name="Cantarell Regular" size="30.0" />
|
<Font name="Cantarell Regular" size="24.0" />
|
||||||
</font>
|
</font>
|
||||||
</JFXButton>
|
</JFXButton>
|
||||||
<JFXButton fx:id="gridButton08" buttonType="RAISED" maxWidth="235.0" minWidth="200.0" onAction="#gridButton08Action" prefHeight="169.0" prefWidth="235.0" ripplerFill="#655252" text="Rote Wurst 2,60€" textAlignment="CENTER" wrapText="true" GridPane.columnIndex="2" GridPane.rowIndex="1">
|
<JFXButton fx:id="gridButton08" buttonType="RAISED" maxWidth="235.0" minWidth="179.0" onAction="#gridButton08Action" prefHeight="169.0" prefWidth="235.0" ripplerFill="#655252" text="Rote Wurst 2,60€" textAlignment="CENTER" wrapText="true" GridPane.columnIndex="2" GridPane.rowIndex="1">
|
||||||
<font>
|
<font>
|
||||||
<Font name="Cantarell Regular" size="30.0" />
|
<Font name="Cantarell Regular" size="24.0" />
|
||||||
</font>
|
</font>
|
||||||
</JFXButton>
|
</JFXButton>
|
||||||
<JFXButton fx:id="gridButton07" buttonType="RAISED" maxWidth="235.0" minWidth="200.0" onAction="#gridButton07Action" prefHeight="169.0" prefWidth="235.0" ripplerFill="#655252" text="Rote Wurst 2,60€" textAlignment="CENTER" wrapText="true" GridPane.columnIndex="3" GridPane.rowIndex="1">
|
<JFXButton fx:id="gridButton07" buttonType="RAISED" maxWidth="235.0" minWidth="179.0" onAction="#gridButton07Action" prefHeight="169.0" prefWidth="235.0" ripplerFill="#655252" text="Rote Wurst 2,60€" textAlignment="CENTER" wrapText="true" GridPane.columnIndex="3" GridPane.rowIndex="1">
|
||||||
<font>
|
<font>
|
||||||
<Font name="Cantarell Regular" size="30.0" />
|
<Font name="Cantarell Regular" size="24.0" />
|
||||||
</font>
|
</font>
|
||||||
</JFXButton>
|
</JFXButton>
|
||||||
<JFXButton fx:id="gridButton06" buttonType="RAISED" maxWidth="235.0" minWidth="200.0" onAction="#gridButton06Action" prefHeight="169.0" prefWidth="235.0" ripplerFill="#655252" text="Rote Wurst 2,60€" textAlignment="CENTER" wrapText="true" GridPane.columnIndex="4" GridPane.rowIndex="1">
|
<JFXButton fx:id="gridButton06" buttonType="RAISED" maxWidth="235.0" minWidth="179.0" onAction="#gridButton06Action" prefHeight="169.0" prefWidth="235.0" ripplerFill="#655252" text="Rote Wurst 2,60€" textAlignment="CENTER" wrapText="true" GridPane.columnIndex="4" GridPane.rowIndex="1">
|
||||||
<font>
|
<font>
|
||||||
<Font name="Cantarell Regular" size="30.0" />
|
<Font name="Cantarell Regular" size="24.0" />
|
||||||
</font>
|
</font>
|
||||||
</JFXButton>
|
</JFXButton>
|
||||||
<JFXButton fx:id="gridButton15" buttonType="RAISED" maxWidth="235.0" minWidth="200.0" onAction="#gridButton15Action" prefHeight="169.0" prefWidth="235.0" ripplerFill="#655252" text="Rote Wurst 2,60€" textAlignment="CENTER" wrapText="true" GridPane.rowIndex="2">
|
<JFXButton fx:id="gridButton15" buttonType="RAISED" maxWidth="235.0" minWidth="179.0" onAction="#gridButton15Action" prefHeight="169.0" prefWidth="235.0" ripplerFill="#655252" text="Rote Wurst 2,60€" textAlignment="CENTER" wrapText="true" GridPane.rowIndex="2">
|
||||||
<font>
|
<font>
|
||||||
<Font name="Cantarell Regular" size="30.0" />
|
<Font name="Cantarell Regular" size="24.0" />
|
||||||
</font>
|
</font>
|
||||||
</JFXButton>
|
</JFXButton>
|
||||||
<JFXButton fx:id="gridButton14" buttonType="RAISED" maxWidth="235.0" minWidth="200.0" onAction="#gridButton14Action" prefHeight="169.0" prefWidth="235.0" ripplerFill="#655252" text="Rote Wurst 2,60€" textAlignment="CENTER" wrapText="true" GridPane.columnIndex="1" GridPane.rowIndex="2">
|
<JFXButton fx:id="gridButton14" buttonType="RAISED" maxWidth="235.0" minWidth="179.0" onAction="#gridButton14Action" prefHeight="169.0" prefWidth="235.0" ripplerFill="#655252" text="Rote Wurst 2,60€" textAlignment="CENTER" wrapText="true" GridPane.columnIndex="1" GridPane.rowIndex="2">
|
||||||
<font>
|
<font>
|
||||||
<Font name="Cantarell Regular" size="30.0" />
|
<Font name="Cantarell Regular" size="24.0" />
|
||||||
</font>
|
</font>
|
||||||
</JFXButton>
|
</JFXButton>
|
||||||
<JFXButton fx:id="gridButton13" buttonType="RAISED" maxWidth="235.0" minWidth="200.0" onAction="#gridButton13Action" prefHeight="169.0" prefWidth="235.0" ripplerFill="#655252" text="Rote Wurst 2,60€" textAlignment="CENTER" wrapText="true" GridPane.columnIndex="2" GridPane.rowIndex="2">
|
<JFXButton fx:id="gridButton13" buttonType="RAISED" maxWidth="235.0" minWidth="179.0" onAction="#gridButton13Action" prefHeight="169.0" prefWidth="235.0" ripplerFill="#655252" text="Rote Wurst 2,60€" textAlignment="CENTER" wrapText="true" GridPane.columnIndex="2" GridPane.rowIndex="2">
|
||||||
<font>
|
<font>
|
||||||
<Font name="Cantarell Regular" size="30.0" />
|
<Font name="Cantarell Regular" size="24.0" />
|
||||||
</font>
|
</font>
|
||||||
</JFXButton>
|
</JFXButton>
|
||||||
<JFXButton fx:id="gridButton12" buttonType="RAISED" maxWidth="235.0" minWidth="200.0" onAction="#gridButton12Action" prefHeight="169.0" prefWidth="235.0" ripplerFill="#655252" text="Rote Wurst 2,60€" textAlignment="CENTER" wrapText="true" GridPane.columnIndex="3" GridPane.rowIndex="2">
|
<JFXButton fx:id="gridButton12" buttonType="RAISED" maxWidth="235.0" minWidth="179.0" onAction="#gridButton12Action" prefHeight="169.0" prefWidth="235.0" ripplerFill="#655252" text="Rote Wurst 2,60€" textAlignment="CENTER" wrapText="true" GridPane.columnIndex="3" GridPane.rowIndex="2">
|
||||||
<font>
|
<font>
|
||||||
<Font name="Cantarell Regular" size="30.0" />
|
<Font name="Cantarell Regular" size="24.0" />
|
||||||
</font>
|
</font>
|
||||||
</JFXButton>
|
</JFXButton>
|
||||||
<JFXButton fx:id="gridButton11" buttonType="RAISED" maxWidth="235.0" minWidth="200.0" onAction="#gridButton11Action" prefHeight="169.0" prefWidth="235.0" ripplerFill="#655252" text="Rote Wurst 2,60€" textAlignment="CENTER" wrapText="true" GridPane.columnIndex="4" GridPane.rowIndex="2">
|
<JFXButton fx:id="gridButton11" buttonType="RAISED" maxWidth="235.0" minWidth="179.0" onAction="#gridButton11Action" prefHeight="169.0" prefWidth="235.0" ripplerFill="#655252" text="Rote Wurst 2,60€" textAlignment="CENTER" wrapText="true" GridPane.columnIndex="4" GridPane.rowIndex="2">
|
||||||
<font>
|
<font>
|
||||||
<Font name="Cantarell Regular" size="30.0" />
|
<Font name="Cantarell Regular" size="24.0" />
|
||||||
</font>
|
</font>
|
||||||
</JFXButton>
|
</JFXButton>
|
||||||
<JFXButton fx:id="gridButton20" buttonType="RAISED" maxWidth="235.0" minWidth="200.0" onAction="#gridButton20Action" prefHeight="169.0" prefWidth="235.0" ripplerFill="#655252" text="Rote Wurst 2,60€" textAlignment="CENTER" wrapText="true" GridPane.rowIndex="3">
|
<JFXButton fx:id="gridButton20" buttonType="RAISED" maxWidth="235.0" minWidth="179.0" onAction="#gridButton20Action" prefHeight="169.0" prefWidth="235.0" ripplerFill="#655252" text="Rote Wurst 2,60€" textAlignment="CENTER" wrapText="true" GridPane.rowIndex="3">
|
||||||
<font>
|
<font>
|
||||||
<Font name="Cantarell Regular" size="30.0" />
|
<Font name="Cantarell Regular" size="24.0" />
|
||||||
</font>
|
</font>
|
||||||
</JFXButton>
|
</JFXButton>
|
||||||
<JFXButton fx:id="gridButton19" buttonType="RAISED" maxWidth="235.0" minWidth="200.0" onAction="#gridButton19Action" prefHeight="169.0" prefWidth="235.0" ripplerFill="#655252" text="Rote Wurst 2,60€" textAlignment="CENTER" wrapText="true" GridPane.columnIndex="1" GridPane.rowIndex="3">
|
<JFXButton fx:id="gridButton19" buttonType="RAISED" maxWidth="235.0" minWidth="179.0" onAction="#gridButton19Action" prefHeight="169.0" prefWidth="235.0" ripplerFill="#655252" text="Rote Wurst 2,60€" textAlignment="CENTER" wrapText="true" GridPane.columnIndex="1" GridPane.rowIndex="3">
|
||||||
<font>
|
<font>
|
||||||
<Font name="Cantarell Regular" size="30.0" />
|
<Font name="Cantarell Regular" size="24.0" />
|
||||||
</font>
|
</font>
|
||||||
</JFXButton>
|
</JFXButton>
|
||||||
<JFXButton fx:id="gridButton18" buttonType="RAISED" maxWidth="235.0" minWidth="200.0" onAction="#gridButton18Action" prefHeight="169.0" prefWidth="235.0" ripplerFill="#655252" text="Rote Wurst 2,60€" textAlignment="CENTER" wrapText="true" GridPane.columnIndex="2" GridPane.rowIndex="3">
|
<JFXButton fx:id="gridButton18" buttonType="RAISED" maxWidth="235.0" minWidth="179.0" onAction="#gridButton18Action" prefHeight="169.0" prefWidth="235.0" ripplerFill="#655252" text="Rote Wurst 2,60€" textAlignment="CENTER" wrapText="true" GridPane.columnIndex="2" GridPane.rowIndex="3">
|
||||||
<font>
|
<font>
|
||||||
<Font name="Cantarell Regular" size="30.0" />
|
<Font name="Cantarell Regular" size="24.0" />
|
||||||
</font>
|
</font>
|
||||||
</JFXButton>
|
</JFXButton>
|
||||||
<JFXButton fx:id="gridButton17" buttonType="RAISED" maxWidth="235.0" minWidth="200.0" onAction="#gridButton17Action" prefHeight="169.0" prefWidth="235.0" ripplerFill="#655252" text="Rote Wurst 2,60€" textAlignment="CENTER" wrapText="true" GridPane.columnIndex="3" GridPane.rowIndex="3">
|
<JFXButton fx:id="gridButton17" buttonType="RAISED" maxWidth="235.0" minWidth="179.0" onAction="#gridButton17Action" prefHeight="169.0" prefWidth="235.0" ripplerFill="#655252" text="Rote Wurst 2,60€" textAlignment="CENTER" wrapText="true" GridPane.columnIndex="3" GridPane.rowIndex="3">
|
||||||
<font>
|
<font>
|
||||||
<Font name="Cantarell Regular" size="30.0" />
|
<Font name="Cantarell Regular" size="24.0" />
|
||||||
</font>
|
</font>
|
||||||
</JFXButton>
|
</JFXButton>
|
||||||
<JFXButton fx:id="gridButton16" buttonType="RAISED" maxWidth="235.0" minWidth="200.0" onAction="#gridButton16Action" prefHeight="169.0" prefWidth="235.0" ripplerFill="#655252" text="Rote Wurst 2,60€" textAlignment="CENTER" wrapText="true" GridPane.columnIndex="4" GridPane.rowIndex="3">
|
<JFXButton fx:id="gridButton16" buttonType="RAISED" maxWidth="235.0" minWidth="179.0" onAction="#gridButton16Action" prefHeight="169.0" prefWidth="235.0" ripplerFill="#655252" text="Rote Wurst 2,60€" textAlignment="CENTER" wrapText="true" GridPane.columnIndex="4" GridPane.rowIndex="3">
|
||||||
<font>
|
<font>
|
||||||
<Font name="Cantarell Regular" size="30.0" />
|
<Font name="Cantarell Regular" size="24.0" />
|
||||||
</font>
|
</font>
|
||||||
</JFXButton>
|
</JFXButton>
|
||||||
<JFXButton fx:id="gridButton25" buttonType="RAISED" maxWidth="235.0" minWidth="200.0" onAction="#gridButton25Action" prefHeight="169.0" prefWidth="235.0" ripplerFill="#655252" text="Rote Wurst 2,60€" textAlignment="CENTER" wrapText="true" GridPane.rowIndex="4">
|
<JFXButton fx:id="gridButton25" buttonType="RAISED" maxWidth="235.0" minWidth="179.0" onAction="#gridButton25Action" prefHeight="169.0" prefWidth="235.0" ripplerFill="#655252" text="Rote Wurst 2,60€" textAlignment="CENTER" wrapText="true" GridPane.rowIndex="4">
|
||||||
<font>
|
<font>
|
||||||
<Font name="Cantarell Regular" size="30.0" />
|
<Font name="Cantarell Regular" size="24.0" />
|
||||||
</font>
|
</font>
|
||||||
</JFXButton>
|
</JFXButton>
|
||||||
<JFXButton fx:id="gridButton23" buttonType="RAISED" maxWidth="235.0" minWidth="200.0" onAction="#gridButton23Action" prefHeight="169.0" prefWidth="235.0" ripplerFill="#655252" text="Rote Wurst 2,60€" textAlignment="CENTER" wrapText="true" GridPane.columnIndex="2" GridPane.rowIndex="4">
|
<JFXButton fx:id="gridButton23" buttonType="RAISED" maxWidth="235.0" minWidth="179.0" onAction="#gridButton23Action" prefHeight="169.0" prefWidth="235.0" ripplerFill="#655252" text="Rote Wurst 2,60€" textAlignment="CENTER" wrapText="true" GridPane.columnIndex="2" GridPane.rowIndex="4">
|
||||||
<font>
|
<font>
|
||||||
<Font name="Cantarell Regular" size="30.0" />
|
<Font name="Cantarell Regular" size="24.0" />
|
||||||
</font>
|
</font>
|
||||||
</JFXButton>
|
</JFXButton>
|
||||||
<JFXButton fx:id="gridButton22" buttonType="RAISED" maxWidth="235.0" minWidth="200.0" onAction="#gridButton22Action" prefHeight="169.0" prefWidth="235.0" ripplerFill="#655252" text="Rote Wurst 2,60€" textAlignment="CENTER" wrapText="true" GridPane.columnIndex="3" GridPane.rowIndex="4">
|
<JFXButton fx:id="gridButton22" buttonType="RAISED" maxWidth="235.0" minWidth="179.0" onAction="#gridButton22Action" prefHeight="169.0" prefWidth="235.0" ripplerFill="#655252" text="Rote Wurst 2,60€" textAlignment="CENTER" wrapText="true" GridPane.columnIndex="3" GridPane.rowIndex="4">
|
||||||
<font>
|
<font>
|
||||||
<Font name="Cantarell Regular" size="30.0" />
|
<Font name="Cantarell Regular" size="24.0" />
|
||||||
</font>
|
</font>
|
||||||
</JFXButton>
|
</JFXButton>
|
||||||
<JFXButton fx:id="gridButton21" buttonType="RAISED" maxWidth="235.0" minWidth="200.0" onAction="#gridButton21Action" prefHeight="169.0" prefWidth="235.0" ripplerFill="#655252" text="Rote Wurst 2,60€" textAlignment="CENTER" wrapText="true" GridPane.columnIndex="4" GridPane.rowIndex="4">
|
<JFXButton fx:id="gridButton21" buttonType="RAISED" maxWidth="235.0" minWidth="179.0" onAction="#gridButton21Action" prefHeight="169.0" prefWidth="235.0" ripplerFill="#655252" text="Rote Wurst 2,60€" textAlignment="CENTER" wrapText="true" GridPane.columnIndex="4" GridPane.rowIndex="4">
|
||||||
<font>
|
<font>
|
||||||
<Font name="Cantarell Regular" size="30.0" />
|
<Font name="Cantarell Regular" size="24.0" />
|
||||||
</font>
|
</font>
|
||||||
</JFXButton>
|
</JFXButton>
|
||||||
<JFXButton fx:id="gridButton24" buttonType="RAISED" maxWidth="235.0" minWidth="200.0" onAction="#gridButton24Action" prefHeight="169.0" prefWidth="235.0" ripplerFill="#655252" text="Rote Wurst 2,60€" textAlignment="CENTER" wrapText="true" GridPane.columnIndex="1" GridPane.rowIndex="4">
|
<JFXButton fx:id="gridButton24" buttonType="RAISED" maxWidth="235.0" minWidth="179.0" onAction="#gridButton24Action" prefHeight="169.0" prefWidth="235.0" ripplerFill="#655252" text="Rote Wurst 2,60€" textAlignment="CENTER" wrapText="true" GridPane.columnIndex="1" GridPane.rowIndex="4">
|
||||||
<font>
|
<font>
|
||||||
<Font name="Cantarell Regular" size="30.0" />
|
<Font name="Cantarell Regular" size="24.0" />
|
||||||
</font>
|
</font>
|
||||||
</JFXButton>
|
</JFXButton>
|
||||||
</children>
|
</children>
|
||||||
</GridPane>
|
</GridPane>
|
||||||
<Button fx:id="btnPrintBill" contentDisplay="CENTER" defaultButton="true" graphicTextGap="1.0" layoutX="45.0" layoutY="765.0" maxHeight="70.0" minHeight="100.0" mnemonicParsing="false" onAction="#btnPrintBillAction" prefHeight="70.0" prefWidth="310.0" text="Drucken" wrapText="true">
|
<Button fx:id="btnPrintBill" contentDisplay="CENTER" defaultButton="true" graphicTextGap="1.0" layoutX="75.0" layoutY="599.0" maxHeight="88.0" minHeight="75.0" mnemonicParsing="false" onAction="#btnPrintBillAction" prefHeight="88.0" prefWidth="258.0" text="Drucken" wrapText="true">
|
||||||
<font>
|
<font>
|
||||||
<Font name="Cantarell Bold" size="56.0" />
|
<Font name="Cantarell Bold" size="48.0" />
|
||||||
</font>
|
</font>
|
||||||
</Button>
|
</Button>
|
||||||
<Button fx:id="btnDeleteSelectedPosition" layoutX="16.0" layoutY="603.0" mnemonicParsing="false" onAction="#btnDeleteSelectedPositionAction" prefWidth="374.0" text="Ausgewählte Position löschen" textAlignment="CENTER">
|
<Button fx:id="btnDeleteSelectedPosition" layoutX="43.0" layoutY="475.0" mnemonicParsing="false" onAction="#btnDeleteSelectedPositionAction" prefHeight="17.0" prefWidth="332.0" text="Ausgewählte Position löschen" textAlignment="CENTER">
|
||||||
<font>
|
<font>
|
||||||
<Font name="Cantarell Regular" size="24.0" />
|
<Font name="Cantarell Regular" size="20.0" />
|
||||||
</font>
|
</font>
|
||||||
</Button>
|
</Button>
|
||||||
<Label fx:id="labelAllPrize" alignment="CENTER" contentDisplay="CENTER" layoutY="655.0" prefHeight="15.0" prefWidth="386.0" text="99,99 €" textAlignment="CENTER">
|
<Label fx:id="labelAllPrize" alignment="CENTER" contentDisplay="CENTER" layoutX="10.0" layoutY="505.0" prefHeight="15.0" prefWidth="386.0" text="99,99 €" textAlignment="CENTER">
|
||||||
<font>
|
<font>
|
||||||
<Font name="Open Sans" size="80.0" />
|
<Font name="Open Sans" size="70.0" />
|
||||||
</font>
|
</font>
|
||||||
</Label>
|
</Label>
|
||||||
<Label fx:id="labelJobCounter" alignment="TOP_RIGHT" contentDisplay="CENTER" layoutX="5.0" layoutY="70.0" prefHeight="15.0" prefWidth="386.0" text="Auftragsnummer: 128" textAlignment="CENTER">
|
<Label fx:id="labelJobCounter" alignment="TOP_RIGHT" contentDisplay="CENTER" layoutX="5.0" layoutY="45.0" prefHeight="34.0" prefWidth="392.0" text="Auftragsnummer: 128" textAlignment="CENTER">
|
||||||
<font>
|
<font>
|
||||||
<Font name="Cantarell Regular" size="32.0" />
|
<Font name="Cantarell Regular" size="26.0" />
|
||||||
</font>
|
</font>
|
||||||
</Label>
|
</Label>
|
||||||
<Label fx:id="labelTime" alignment="TOP_RIGHT" contentDisplay="CENTER" layoutX="7.0" layoutY="11.0" prefHeight="15.0" prefWidth="386.0" text="Uhrzeit: 12:15" textAlignment="CENTER">
|
<Label fx:id="labelTime" alignment="TOP_RIGHT" contentDisplay="CENTER" layoutX="7.0" layoutY="11.0" prefHeight="15.0" prefWidth="392.0" text="Uhrzeit: 12:15" textAlignment="CENTER">
|
||||||
<font>
|
<font>
|
||||||
<Font name="Cantarell Regular" size="32.0" />
|
<Font name="Cantarell Regular" size="26.0" />
|
||||||
</font>
|
</font>
|
||||||
</Label>
|
</Label>
|
||||||
<JFXButton fx:id="btnLock" buttonType="RAISED" cancelButton="true" layoutX="16.0" layoutY="11.0" lineSpacing="2.0" onAction="#btnLockAction" prefHeight="42.0" prefWidth="148.0" ripplerFill="BLACK" text="Kasse sperren" textAlignment="CENTER" textFill="#c91c1c" textOverrun="LEADING_WORD_ELLIPSIS">
|
<JFXButton fx:id="btnLock" buttonType="RAISED" cancelButton="true" layoutX="1.0" layoutY="6.0" lineSpacing="2.0" onAction="#btnLockAction" prefHeight="42.0" prefWidth="148.0" ripplerFill="BLACK" text="Kasse sperren" textAlignment="CENTER" textFill="#c91c1c" textOverrun="LEADING_WORD_ELLIPSIS">
|
||||||
<font>
|
<font>
|
||||||
<Font name="Cantarell Regular" size="19.0" />
|
<Font name="Cantarell Regular" size="19.0" />
|
||||||
</font>
|
</font>
|
||||||
</JFXButton>
|
</JFXButton>
|
||||||
<Line endX="800.0" layoutX="53.0" layoutY="465.0" rotate="90.0" startX="-100.0" strokeWidth="4.0" />
|
<Line endX="800.0" layoutX="62.0" layoutY="465.0" rotate="90.0" startX="-100.0" strokeWidth="4.0" />
|
||||||
</children>
|
</children>
|
||||||
</AnchorPane>
|
</AnchorPane>
|
||||||
</content>
|
</content>
|
||||||
|
|
|
@ -13,6 +13,7 @@ import javafx.scene.control.TreeTableColumn;
|
||||||
import javafx.scene.control.TreeTableView;
|
import javafx.scene.control.TreeTableView;
|
||||||
import javafx.scene.control.TextField;
|
import javafx.scene.control.TextField;
|
||||||
import javafx.scene.control.TreeItem;
|
import javafx.scene.control.TreeItem;
|
||||||
|
import javafx.scene.control.TitledPane;
|
||||||
import java.awt.Desktop;
|
import java.awt.Desktop;
|
||||||
import java.awt.Toolkit;
|
import java.awt.Toolkit;
|
||||||
import java.awt.datatransfer.Clipboard;
|
import java.awt.datatransfer.Clipboard;
|
||||||
|
@ -59,7 +60,29 @@ public class MainWindowController
|
||||||
private TreeTableColumn<tableData, String> columnPosition;
|
private TreeTableColumn<tableData, String> columnPosition;
|
||||||
|
|
||||||
@FXML
|
@FXML
|
||||||
private TreeTableColumn<tableData, Integer> idSpalte = new TreeTableColumn<>(
|
private TreeTableColumn<tableData, Integer> idSpalte01 = new TreeTableColumn<>(
|
||||||
|
"");
|
||||||
|
|
||||||
|
@FXML
|
||||||
|
private TreeTableView<tableData> jobsTreeTable;
|
||||||
|
|
||||||
|
@FXML
|
||||||
|
private TreeTableColumn<tableData, String> columnValue;
|
||||||
|
|
||||||
|
@FXML
|
||||||
|
private TreeTableColumn<tableData, String> columnState;
|
||||||
|
|
||||||
|
@FXML
|
||||||
|
private TreeTableColumn<tableData, String> columnPositions;
|
||||||
|
|
||||||
|
@FXML
|
||||||
|
private TreeTableColumn<tableData, String> columnTime;
|
||||||
|
|
||||||
|
@FXML
|
||||||
|
private TreeTableColumn<tableData, String> columnNumber;
|
||||||
|
|
||||||
|
@FXML
|
||||||
|
private TreeTableColumn<tableData, Integer> idSpalte02 = new TreeTableColumn<>(
|
||||||
"");
|
"");
|
||||||
|
|
||||||
@FXML
|
@FXML
|
||||||
|
@ -149,6 +172,15 @@ public class MainWindowController
|
||||||
@FXML
|
@FXML
|
||||||
private Button btnLock;
|
private Button btnLock;
|
||||||
|
|
||||||
|
@FXML
|
||||||
|
private Button btnReprintJob;
|
||||||
|
|
||||||
|
@FXML
|
||||||
|
private Button bntCancelJob;
|
||||||
|
|
||||||
|
@FXML
|
||||||
|
private Button btnCalcStats;
|
||||||
|
|
||||||
@FXML
|
@FXML
|
||||||
private Label labelAllPrize;
|
private Label labelAllPrize;
|
||||||
|
|
||||||
|
@ -158,25 +190,28 @@ public class MainWindowController
|
||||||
@FXML
|
@FXML
|
||||||
private Label labelTime;
|
private Label labelTime;
|
||||||
|
|
||||||
|
@FXML
|
||||||
|
private Label lableJobCount;
|
||||||
|
|
||||||
|
@FXML
|
||||||
|
private Label labelAvgJob;
|
||||||
|
|
||||||
|
@FXML
|
||||||
|
private Label lableAllValue;
|
||||||
|
|
||||||
|
@FXML
|
||||||
|
private TitledPane titlePaneStats;
|
||||||
|
|
||||||
private Main main;
|
private Main main;
|
||||||
|
|
||||||
private DBController dbc;
|
private DBController dbc;
|
||||||
|
|
||||||
private String filepathXMLWin = "C:/ProgramData/PWMaster/config.xml"; // Pfad
|
// Pfad wo die XML liegt
|
||||||
// wo
|
private String filepathXMLWin = "C:/ProgramData/PWMaster/config.xml";
|
||||||
// die
|
|
||||||
// XML
|
|
||||||
// liegt
|
|
||||||
|
|
||||||
private String filepathXMLLinux = System.getProperty("user.home")
|
private String filepathXMLLinux = System.getProperty("user.home")
|
||||||
+ "/bin/PWMaster/config.xml"; // Pfad wo die XML liegt
|
+ "/bin/PWMaster/config.xml"; // Pfad wo die XML liegt
|
||||||
|
|
||||||
private boolean showPasswort = false;
|
|
||||||
|
|
||||||
private String schluessel;
|
|
||||||
|
|
||||||
private String base32Secret;
|
|
||||||
|
|
||||||
private int id;
|
private int id;
|
||||||
|
|
||||||
@FXML
|
@FXML
|
||||||
|
@ -216,6 +251,24 @@ public class MainWindowController
|
||||||
dialog.showAndWait();
|
dialog.showAndWait();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@FXML
|
||||||
|
public void btnCalcStatsAction(ActionEvent event)
|
||||||
|
{
|
||||||
|
System.out.println("Button!");
|
||||||
|
}
|
||||||
|
|
||||||
|
@FXML
|
||||||
|
public void btnReprintJobAction(ActionEvent event)
|
||||||
|
{
|
||||||
|
System.out.println("Button!");
|
||||||
|
}
|
||||||
|
|
||||||
|
@FXML
|
||||||
|
public void bntCancelJobAction(ActionEvent event)
|
||||||
|
{
|
||||||
|
System.out.println("Button!");
|
||||||
|
}
|
||||||
|
|
||||||
@FXML
|
@FXML
|
||||||
public void btnLockAction(ActionEvent event)
|
public void btnLockAction(ActionEvent event)
|
||||||
{
|
{
|
||||||
|
@ -389,7 +442,7 @@ public class MainWindowController
|
||||||
public void fuelleTablle()
|
public void fuelleTablle()
|
||||||
{ // Lädt die Datenbank in die Tabelle
|
{ // Lädt die Datenbank in die Tabelle
|
||||||
|
|
||||||
dbc.setSchluessel(schluessel);
|
//dbc.setSchluessel(schluessel);
|
||||||
for (int i = 0; i < dbc.ladeTabelle().size(); i++) {
|
for (int i = 0; i < dbc.ladeTabelle().size(); i++) {
|
||||||
tableData helpTableData = new tableData(
|
tableData helpTableData = new tableData(
|
||||||
dbc.ladeTabelle().get(i).getID(),
|
dbc.ladeTabelle().get(i).getID(),
|
||||||
|
@ -406,13 +459,13 @@ public class MainWindowController
|
||||||
tableCurrentOrder.setEditable(false);
|
tableCurrentOrder.setEditable(false);
|
||||||
// Setzt die Textfelder
|
// Setzt die Textfelder
|
||||||
|
|
||||||
idSpalte.setCellValueFactory(
|
idSpalte01.setCellValueFactory(
|
||||||
cellData -> cellData.getValue().getValue().idProperty().asObject());
|
cellData -> cellData.getValue().getValue().idProperty().asObject());
|
||||||
columnQuantity.setCellValueFactory(
|
columnQuantity.setCellValueFactory(
|
||||||
cellData -> cellData.getValue().getValue().datumProperty());
|
cellData -> cellData.getValue().getValue().datumProperty());
|
||||||
columnPosition.setCellValueFactory(
|
columnPosition.setCellValueFactory(
|
||||||
cellData -> cellData.getValue().getValue().kontoProperty());
|
cellData -> cellData.getValue().getValue().kontoProperty());
|
||||||
tableCurrentOrder.getColumns().add(idSpalte);
|
tableCurrentOrder.getColumns().add(idSpalte01);
|
||||||
tableCurrentOrder.getColumns().get(2).setVisible(false);
|
tableCurrentOrder.getColumns().get(2).setVisible(false);
|
||||||
tableCurrentOrder.getSelectionModel().selectedItemProperty()
|
tableCurrentOrder.getSelectionModel().selectedItemProperty()
|
||||||
.addListener(new ChangeListener<Object>() {
|
.addListener(new ChangeListener<Object>() {
|
||||||
|
@ -423,8 +476,8 @@ public class MainWindowController
|
||||||
// last = selected; //for auto-play
|
// last = selected; //for auto-play
|
||||||
int selected = tableCurrentOrder.getSelectionModel()
|
int selected = tableCurrentOrder.getSelectionModel()
|
||||||
.getSelectedIndex(); // get selected item
|
.getSelectedIndex(); // get selected item
|
||||||
id = idSpalte.getCellData(selected); // Ausgewählte Spalte
|
id = idSpalte01.getCellData(selected); // Ausgewählte Spalte
|
||||||
showPasswort = false;
|
|
||||||
|
|
||||||
try { // Setzt den entschlüsselten Inhalt in die Textfelder
|
try { // Setzt den entschlüsselten Inhalt in die Textfelder
|
||||||
// tf01.setText("Verschlüsseltes Passwort von " +
|
// tf01.setText("Verschlüsseltes Passwort von " +
|
||||||
|
@ -501,10 +554,7 @@ public class MainWindowController
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public String getSchluesselXML()
|
|
||||||
{ // Gibt den Schlüssel zurück für die Main
|
|
||||||
return schluessel;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void starteDB()
|
public void starteDB()
|
||||||
{ // Startet die Datenbank
|
{ // Startet die Datenbank
|
||||||
|
@ -517,8 +567,4 @@ public class MainWindowController
|
||||||
dbc.verbindeDatenbank();
|
dbc.verbindeDatenbank();
|
||||||
}
|
}
|
||||||
|
|
||||||
public String getbase32Secret()
|
|
||||||
{ // Gibt den base32Secret zurück für die Main
|
|
||||||
return base32Secret;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue