xml is now in XMLController

This commit is contained in:
Hendrik Schutter 2018-12-05 22:44:15 +01:00
parent 37cfe02c5b
commit 87f9b8786c
5 changed files with 469 additions and 448 deletions

View File

@ -11,14 +11,21 @@ import javafx.fxml.FXMLLoader;
import javafx.stage.Stage;
import javafx.util.Duration;
import com.jFxKasse.controller.MainWindowController;
import com.jFxKasse.controller.XMLController;
import com.jFxKasse.controller.DBController;
import javafx.scene.Scene;
import javafx.scene.layout.AnchorPane;
public class Main extends Application
{
private String filepathXMLLinux = System.getProperty("user.home")
+ "/bin/jFxKasse/config.xml"; // Pfad wo die XML liegt
private MainWindowController mwc;
private XMLController xmlc = new XMLController(filepathXMLLinux);
private DBController dbc = new DBController(this);
private Stage primaryStage;
@ -43,7 +50,7 @@ public class Main extends Application
primaryStage.setTitle("jFxKasse"); // Title of window
mwc = loader.getController();
mwc.setMain(this, dbc);
mwc.setMain(this, dbc, xmlc);
firstStart();
@ -75,12 +82,12 @@ public class Main extends Application
*/
private void firstStart() throws Exception
{
if (mwc.loadSettings()) {
if (xmlc.loadSettings()) {
// config.xml found, app starting normal
System.out.println("XML gefunden!");
mwc.initUI(); // Starting the UI elements
mwc.setDBLabel(); // Set databese labels
dbc.dbname = mwc.getDatabaseName(); // handover database name
dbc.setDbname(xmlc.getDatabaseName()); // handover database name
dbc.connectDatabase(); // estabishing DB conection
mwc.fillTablePositionen(); // fill TreeTable 'Positionen'
mwc.fillCategory();
@ -91,10 +98,12 @@ public class Main extends Application
} else {
// config.xml NOT found, first start of app
System.out.println("keine XML gefunden!");
xmlc.initXML(); // set default values
mwc.blockUI(true); // disable UI elements that need DB
mwc.blockUnlock();
File dir = new File(System.getProperty("user.home") + "/bin/jFxKasse");
dir.mkdir(); // Create new Subfolder
}
}
}

View File

@ -21,7 +21,9 @@ public class DBController
private String DB_PATH_Linux = System.getProperty("user.home")
+ "/bin/jFxKasse/";
public String dbname;
private String dbname;
@SuppressWarnings("unused")
private Main main;
@ -41,6 +43,11 @@ public class DBController
{
this.main = main;
}
public void setDbname(String dbname)
{
this.dbname = dbname;
}
public void connectDatabase()
{ // connect to database

View File

@ -22,9 +22,10 @@ import java.io.OutputStream;
import java.text.DateFormat;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.Properties;
import com.jfoenix.controls.JFXTextField;
import com.jfoenix.controls.JFXToggleButton;
import javafx.beans.value.ChangeListener;
import javafx.beans.value.ObservableValue;
@ -32,6 +33,7 @@ import javafx.collections.FXCollections;
import javafx.collections.ObservableList;
import javafx.event.ActionEvent;
import javafx.scene.control.Label;
import javafx.scene.control.Spinner;
import javafx.scene.control.Tab;
import javafx.scene.layout.AnchorPane;
import javafx.scene.layout.GridPane;
@ -118,6 +120,18 @@ public class MainWindowController
@FXML
private ChoiceBox<String> catChoise;
@FXML
private ChoiceBox<String> printerChoise;
@FXML
private Spinner<Integer> linesSpinner;
@FXML
private Spinner<Integer> offsetHeaderSpinner;
@FXML
private Spinner<Integer> offsetFooterSpinner;
@FXML
private Button ueberbtn;
@ -196,6 +210,9 @@ public class MainWindowController
@FXML
private Button gridButton25;
@FXML
private Button btnSavePrinter;
@FXML
private Button btnDeleteSelectedPosition;
@ -241,6 +258,12 @@ public class MainWindowController
@FXML
private Label labelCat03;
@FXML
private JFXTextField tftfooter;
@FXML
private JFXTextField tftheader;
@FXML
private JFXTextField tftKat01;
@ -304,6 +327,9 @@ public class MainWindowController
@FXML
private TitledPane titledPaneEntry;
@FXML
private TitledPane titlePanePrint;
@FXML
private TextField tftNewPosition;
@ -313,13 +339,15 @@ public class MainWindowController
@FXML
private TextField tftNewDBName;
@FXML
private JFXToggleButton switchSeparate;
@SuppressWarnings("unused")
private Main main;
private DBController dbc;
private String filepathXMLLinux = System.getProperty("user.home")
+ "/bin/jFxKasse/config.xml"; // Pfad wo die XML liegt
private XMLController xmlc;
private int idPositionen = 0;
@ -327,7 +355,7 @@ public class MainWindowController
private String selectedCatName;
private String databaseName;
private boolean lockState = false;
@ -351,7 +379,7 @@ public class MainWindowController
TreeItem<tableDataPositionen> rootPositionen = new TreeItem<>(
new tableDataPositionen(0, "0", "0", "0", "0"));
Properties props = new Properties();
@FXML
public void ueberbtnAction(ActionEvent event)
@ -400,14 +428,16 @@ public class MainWindowController
if (!(tftNewDBName.getText().equals(""))) {
setDatabaseName(tftNewDBName.getText());
dbc.dbname = getDatabaseName();
xmlc.setDatabaseName(tftNewDBName.getText());
dbc.setDbname(xmlc.getDatabaseName());
dbc.connectDatabase(); // establish DB connection
dbc.createTablePositionen(); // Create new table
dbc.erstelleTabelleJobs(); // Create new table
dbc.createTableCategory(); // Create new table
try {
saveSettings(getDatabaseName());
//saveSettings(getDatabaseName());
xmlc.saveSettings();
} catch (Exception e) {
// TODO Auto-generated catch block
e.printStackTrace();
@ -479,6 +509,12 @@ public class MainWindowController
}
@FXML
public void btnSavePrinterAction(ActionEvent event)
{
System.out.println("btnSavePrinterAction");
}
@FXML
public void btnCancelJobAction(ActionEvent event)
{
@ -568,11 +604,13 @@ public class MainWindowController
System.out.println(currentJob.getJobnumber());
/* TODO */
PrinterController pc = new PrinterController();
pc.searchPrinters();
pc.selectPrinter("CUPS-PDF");
/* TODO */
PrintDataSimple pds = new PrintDataSimple(28, 1, 2,
getSystemTime() + " " + getSystemDate(), "Firma GmbH",
@ -587,7 +625,7 @@ public class MainWindowController
dbc.getJobValue_Job(currentJob.getJobnumber()));
pc.printString(pds.getPrintString());
fillTableJobs();
currentJob = null;
@ -784,7 +822,7 @@ public class MainWindowController
for (int i = 0; i < 25; i++) {
getButtonByID(i).setVisible(false);
}
tftNewDBName.setText(getDatabaseName());
tftNewDBName.setText(xmlc.getDatabaseName());
tftKat05.setDisable(true);
titlePaneStats.setVisible(false);
btnPrintBill.setDisable(true);
@ -952,10 +990,11 @@ public class MainWindowController
}
public void setMain(Main main, DBController dbc)
public void setMain(Main main, DBController dbc, XMLController xmlc)
{
this.main = main;
this.dbc = dbc;
this.xmlc = xmlc;
}
public String getSystemTime()
@ -974,57 +1013,36 @@ public class MainWindowController
return dateStr;
}
public void saveSettings(String databasename) throws Exception
{ // Save settings to config.xml
OutputStream outputStream;
try {
props.setProperty("databasename", databasename);
outputStream = new FileOutputStream(filepathXMLLinux);
props.storeToXML(outputStream, "jFxKasse settings");
outputStream.close();
} catch (IOException e) {
}
}
public boolean loadSettings() throws Exception
{ // reads the settings from config.xml
InputStream inputStream;
try {
inputStream = new FileInputStream(filepathXMLLinux);
props.loadFromXML(inputStream);
setDatabaseName(props.getProperty("databasename"));
inputStream.close();
return true;
} catch (IOException e) {
e.printStackTrace();
return false;
}
}
/*
public String getDatabaseName()
{
return databaseName;
return xmlc.getDatabaseName();
}
public void setDatabaseName(String NewDatabaseName)
{
databaseName = NewDatabaseName;
}
*/
public void setDBLabel() throws Exception
{
if (loadSettings() == true) {
if (xmlc.loadSettings() == true) {
labelDBStatus
.setText("Geladene Datenbank: " + getDatabaseName() + ".db");
.setText("Geladene Datenbank: " + xmlc.getDatabaseName() + ".db");
btnCreateNewDatabase.setDisable(true);
tftNewDBName.setDisable(true);
labelDBName.setTooltip(new Tooltip(
"Um eine neue Datenbank zu erzeugen muss die vorherige config.xml und "
+ getDatabaseName()
+ xmlc.getDatabaseName()
+ ".db gelöscht werden! Anwendung danach neustarten!"));
labelDBStatus.setTooltip(new Tooltip(
"Um eine neue Datenbank zu erzeugen muss die vorherige config.xml und "
+ getDatabaseName()
+ xmlc.getDatabaseName()
+ ".db gelöscht werden! Anwendung danach neustarten!"));
} else {
labelDBStatus.setText("Keine Datenbank gefunden!");
@ -1150,6 +1168,7 @@ public class MainWindowController
titledPaneEntry.setDisable(pState);
titlePaneCat.setDisable(pState);
titlePanePrint.setDisable(pState);
}

View File

@ -0,0 +1,222 @@
package com.jFxKasse.controller;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.util.Properties;
public class XMLController
{
private String databaseName = null;
private String printername = null;
private int linebreak;
private int offsetHeader;
private int offsetFooter;
private String header = null;
private String footer = null;
private boolean categorySplitted;
private String filePath = null;
private Properties props = null;
public XMLController(String filePath)
{
this.filePath = filePath;
props = new Properties();
}
public void saveSettings() throws Exception
{ // Save settings to config.xml
System.out.println("Saving XML");
OutputStream outputStream;
String linebreak = Integer.toString(this.linebreak);
String offsetHeader = Integer.toString(this.offsetHeader);
String offsetFooter = Integer.toString(this.offsetFooter);
String categorySplitted = null;
if (this.categorySplitted) {
categorySplitted = "true";
} else {
categorySplitted = "false";
}
try {
props.setProperty("databasename", this.databaseName);
props.setProperty("printername", this.printername);
props.setProperty("linebreak", linebreak);
props.setProperty("offsetHeader", offsetHeader);
props.setProperty("offsetFooter", offsetFooter);
props.setProperty("header", this.header);
props.setProperty("footer", this.footer);
props.setProperty("categorySplitted", categorySplitted);
outputStream = new FileOutputStream(filePath);
props.storeToXML(outputStream, "jFxKasse settings");
outputStream.close();
} catch (IOException e) {
}
}
public boolean loadSettings() throws Exception
{ // reads the settings from config.xml
InputStream inputStream;
try {
inputStream = new FileInputStream(filePath);
props.loadFromXML(inputStream);
this.databaseName = (props.getProperty("databasename"));
this.printername = (props.getProperty("printername"));
try {
this.linebreak = Integer.valueOf(props.getProperty("linebreak"));
} catch (Exception e) {
this.linebreak = 28;
}
try {
this.offsetHeader = Integer
.valueOf(props.getProperty("offsetHeader"));
} catch (Exception e) {
this.offsetHeader = 1;
}
try {
this.offsetFooter = Integer
.valueOf(props.getProperty("offsetFooter"));
} catch (Exception e) {
this.offsetFooter = 2;
}
this.header = (props.getProperty("header"));
this.footer = (props.getProperty("footer"));
try {
if (props.getProperty("categorySplitted").equals("true")) {
this.categorySplitted = true;
} else {
this.categorySplitted = false;
}
} catch (Exception e) {
this.categorySplitted = false;
}
inputStream.close();
return true;
} catch (IOException e) {
e.printStackTrace();
return false;
}
}
public void initXML()
{
this.printername = "CUPS-PDF";
this.offsetHeader = 1;
this.offsetFooter = 2;
this.linebreak = 28;
this.categorySplitted = false;
this.header = "XYZ GmbH";
this.footer = "Vielen Dank für den Einkauf";
}
public String getDatabaseName()
{
return databaseName;
}
public void setDatabaseName(String databaseName)
{
this.databaseName = databaseName;
}
public String getPrintername()
{
return printername;
}
public void setPrintername(String printername)
{
this.printername = printername;
}
public int getLinebreak()
{
return linebreak;
}
public void setLinebreak(int linebreak)
{
this.linebreak = linebreak;
}
public int getOffsetHeader()
{
return offsetHeader;
}
public void setOffsetHeader(int offsetHeader)
{
this.offsetHeader = offsetHeader;
}
public int getOffsetFooter()
{
return offsetFooter;
}
public void setOffsetFooter(int offsetFooter)
{
this.offsetFooter = offsetFooter;
}
public String getHeader()
{
return header;
}
public void setHeader(String header)
{
this.header = header;
}
public String getFooter()
{
return footer;
}
public void setFooter(String footer)
{
this.footer = footer;
}
public boolean getCategorySplitted()
{
return categorySplitted;
}
public void setCategorySplitted(boolean categorySplitted)
{
this.categorySplitted = categorySplitted;
}
}

View File

@ -2,9 +2,11 @@
<?import com.jfoenix.controls.JFXButton?>
<?import com.jfoenix.controls.JFXTextField?>
<?import com.jfoenix.controls.JFXToggleButton?>
<?import javafx.scene.control.Button?>
<?import javafx.scene.control.ChoiceBox?>
<?import javafx.scene.control.Label?>
<?import javafx.scene.control.Spinner?>
<?import javafx.scene.control.Tab?>
<?import javafx.scene.control.TabPane?>
<?import javafx.scene.control.TitledPane?>
@ -17,64 +19,36 @@
<?import javafx.scene.shape.Line?>
<?import javafx.scene.text.Font?>
<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/10.0.1"
xmlns:fx="http://javafx.com/fxml/1"
fx:controller="com.jFxKasse.controller.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="com.jFxKasse.controller.MainWindowController">
<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>
<Tab text="Einstellungen">
<content>
<AnchorPane minHeight="0.0" minWidth="0.0"
prefHeight="180.0" prefWidth="200.0">
<AnchorPane minHeight="0.0" minWidth="0.0" prefHeight="180.0" prefWidth="200.0">
<children>
<Button fx:id="ueberbtn" layoutX="84.0" layoutY="79.0"
mnemonicParsing="false" onAction="#ueberbtnAction"
prefHeight="0.0" prefWidth="46.0" text="Über" />
<TitledPane alignment="CENTER" animated="false"
collapsible="false" contentDisplay="CENTER" layoutX="790.0"
layoutY="10.0" prefHeight="270.0" prefWidth="566.0"
text="Datenbank Einstellungen">
<Button fx:id="ueberbtn" layoutX="84.0" layoutY="79.0" mnemonicParsing="false" onAction="#ueberbtnAction" prefHeight="0.0" prefWidth="46.0" text="Über" />
<TitledPane alignment="CENTER" animated="false" collapsible="false" contentDisplay="CENTER" layoutX="790.0" layoutY="10.0" prefHeight="270.0" prefWidth="566.0" text="Datenbank Einstellungen">
<content>
<AnchorPane fx:id="paneDB" minHeight="0.0"
minWidth="0.0" prefHeight="238.0" prefWidth="564.0">
<AnchorPane fx:id="paneDB" minHeight="0.0" minWidth="0.0" prefHeight="238.0" prefWidth="564.0">
<children>
<Label fx:id="labelDBName" alignment="TOP_RIGHT"
contentDisplay="RIGHT" layoutX="329.0" layoutY="10.0"
prefHeight="34.0" prefWidth="229.0" text="Datenbankname:">
<Label fx:id="labelDBName" alignment="TOP_RIGHT" contentDisplay="RIGHT" layoutX="329.0" layoutY="10.0" prefHeight="34.0" prefWidth="229.0" text="Datenbankname:">
<font>
<Font name="Cantarell Regular" size="18.0" />
</font>
</Label>
<JFXTextField fx:id="tftNewDBName"
alignment="CENTER" layoutX="25.0" layoutY="10.0"
prefHeight="25.0" prefWidth="376.0" />
<Label fx:id="labelDBStatus" alignment="TOP_RIGHT"
contentDisplay="RIGHT" layoutX="1.0" layoutY="75.0"
prefHeight="34.0" prefWidth="551.0"
text="Keine Datenbank gefunden!">
<JFXTextField fx:id="tftNewDBName" alignment="CENTER" layoutX="25.0" layoutY="10.0" prefHeight="25.0" prefWidth="376.0" />
<Label fx:id="labelDBStatus" alignment="TOP_RIGHT" contentDisplay="RIGHT" layoutX="1.0" layoutY="75.0" prefHeight="34.0" prefWidth="551.0" text="Keine Datenbank gefunden!">
<font>
<Font name="Cantarell Regular" size="18.0" />
</font>
</Label>
<Button fx:id="btnCreateNewDatabase" layoutX="317.0"
layoutY="126.0" mnemonicParsing="false"
onAction="#btnCreateNewDatabaseAction"
text="Neue Datenbank anlegen">
<Button fx:id="btnCreateNewDatabase" layoutX="317.0" layoutY="126.0" mnemonicParsing="false" onAction="#btnCreateNewDatabaseAction" text="Neue Datenbank anlegen">
<font>
<Font name="Cantarell Regular" size="13.0" />
</font>
</Button>
<Button fx:id="btnOpenFolder" layoutX="99.0"
layoutY="126.0" mnemonicParsing="false"
onAction="#btnOpenFolderAction" text="Speicherort öffnen">
<Button fx:id="btnOpenFolder" layoutX="99.0" layoutY="126.0" mnemonicParsing="false" onAction="#btnOpenFolderAction" text="Speicherort öffnen">
<font>
<Font name="Cantarell Regular" size="13.0" />
</font>
@ -86,69 +60,41 @@
<Font name="Cantarell Regular" size="13.0" />
</font>
</TitledPane>
<TitledPane fx:id="titlePaneCat" alignment="CENTER"
animated="false" collapsible="false" contentDisplay="CENTER"
layoutX="170.0" layoutY="10.0" prefHeight="270.0"
prefWidth="566.0"
text="Kategorien (z.B. Getränke, Essen oder Kuchen)"
textAlignment="CENTER">
<TitledPane fx:id="titlePaneCat" alignment="CENTER" animated="false" collapsible="false" contentDisplay="CENTER" layoutX="170.0" layoutY="10.0" prefHeight="270.0" prefWidth="566.0" text="Kategorien (z.B. Getränke, Essen oder Kuchen)" textAlignment="CENTER">
<content>
<AnchorPane minHeight="0.0" minWidth="0.0"
prefHeight="260.0" prefWidth="564.0">
<AnchorPane minHeight="0.0" minWidth="0.0" prefHeight="260.0" prefWidth="564.0">
<children>
<Label fx:id="labelCat01" alignment="TOP_RIGHT"
contentDisplay="RIGHT" layoutX="434.0" layoutY="10.0"
prefHeight="34.0" prefWidth="124.0" text="Kategorie 1:">
<Label fx:id="labelCat01" alignment="TOP_RIGHT" contentDisplay="RIGHT" layoutX="434.0" layoutY="10.0" prefHeight="34.0" prefWidth="124.0" text="Kategorie 1:">
<font>
<Font name="Cantarell Regular" size="18.0" />
</font>
</Label>
<Label fx:id="labelCat02" alignment="TOP_RIGHT"
contentDisplay="RIGHT" layoutX="442.0" layoutY="50.0"
prefHeight="34.0" prefWidth="116.0" text="Kategorie 2:">
<Label fx:id="labelCat02" alignment="TOP_RIGHT" contentDisplay="RIGHT" layoutX="442.0" layoutY="50.0" prefHeight="34.0" prefWidth="116.0" text="Kategorie 2:">
<font>
<Font name="Cantarell Regular" size="18.0" />
</font>
</Label>
<Label fx:id="labelCat05" alignment="TOP_RIGHT"
contentDisplay="RIGHT" layoutX="448.0" layoutY="170.0"
prefHeight="34.0" prefWidth="110.0" text="Kategorie 5:">
<Label fx:id="labelCat05" alignment="TOP_RIGHT" contentDisplay="RIGHT" layoutX="448.0" layoutY="170.0" prefHeight="34.0" prefWidth="110.0" text="Kategorie 5:">
<font>
<Font name="Cantarell Regular" size="18.0" />
</font>
</Label>
<Label fx:id="labelCat04" alignment="TOP_RIGHT"
contentDisplay="RIGHT" layoutX="454.0" layoutY="130.0"
prefHeight="34.0" prefWidth="104.0" text="Kategorie 4:">
<Label fx:id="labelCat04" alignment="TOP_RIGHT" contentDisplay="RIGHT" layoutX="454.0" layoutY="130.0" prefHeight="34.0" prefWidth="104.0" text="Kategorie 4:">
<font>
<Font name="Cantarell Regular" size="18.0" />
</font>
</Label>
<Label fx:id="labelCat03" alignment="TOP_RIGHT"
contentDisplay="RIGHT" layoutX="451.0" layoutY="90.0"
prefHeight="34.0" prefWidth="107.0" text="Kategorie 3:">
<Label fx:id="labelCat03" alignment="TOP_RIGHT" contentDisplay="RIGHT" layoutX="451.0" layoutY="90.0" prefHeight="34.0" prefWidth="107.0" text="Kategorie 3:">
<font>
<Font name="Cantarell Regular" size="18.0" />
</font>
</Label>
<JFXTextField fx:id="tftKat01"
alignment="CENTER" layoutX="50.0" layoutY="5.0"
prefHeight="25.0" prefWidth="376.0" />
<JFXTextField fx:id="tftKat02"
alignment="CENTER" layoutX="50.0" layoutY="45.0"
prefHeight="25.0" prefWidth="376.0" />
<JFXTextField fx:id="tftKat03"
alignment="CENTER" layoutX="50.0" layoutY="85.0"
prefHeight="25.0" prefWidth="376.0" />
<JFXTextField fx:id="tftKat04"
alignment="CENTER" layoutX="50.0" layoutY="125.0"
prefHeight="25.0" prefWidth="376.0" />
<JFXTextField fx:id="tftKat05"
alignment="CENTER" layoutX="50.0" layoutY="165.0"
prefHeight="25.0" prefWidth="376.0" />
<Button fx:id="btnSaveCat" layoutX="200.0"
layoutY="204.0" mnemonicParsing="false"
onAction="#btnSaveCatAction" text="Kategorien speichern">
<JFXTextField fx:id="tftKat01" alignment="CENTER" layoutX="50.0" layoutY="5.0" prefHeight="25.0" prefWidth="376.0" />
<JFXTextField fx:id="tftKat02" alignment="CENTER" layoutX="50.0" layoutY="45.0" prefHeight="25.0" prefWidth="376.0" />
<JFXTextField fx:id="tftKat03" alignment="CENTER" layoutX="50.0" layoutY="85.0" prefHeight="25.0" prefWidth="376.0" />
<JFXTextField fx:id="tftKat04" alignment="CENTER" layoutX="50.0" layoutY="125.0" prefHeight="25.0" prefWidth="376.0" />
<JFXTextField fx:id="tftKat05" alignment="CENTER" layoutX="50.0" layoutY="165.0" prefHeight="25.0" prefWidth="376.0" />
<Button fx:id="btnSaveCat" layoutX="200.0" layoutY="204.0" mnemonicParsing="false" onAction="#btnSaveCatAction" text="Kategorien speichern">
<font>
<Font name="Cantarell Regular" size="13.0" />
</font>
@ -160,118 +106,132 @@
<Font name="Cantarell Regular" size="13.0" />
</font>
</TitledPane>
<TitledPane fx:id="titlePanePrint" alignment="CENTER" animated="false" collapsible="false" contentDisplay="CENTER" layoutX="790.0" layoutY="330.0" prefHeight="270.0" prefWidth="566.0" text="Drucker Einstellungen">
<content>
<AnchorPane minHeight="0.0" minWidth="0.0" prefHeight="327.0" prefWidth="564.0">
<children>
<ChoiceBox fx:id="printerChoise" layoutX="298.0" layoutY="10.0" prefWidth="150.0" />
<Spinner fx:id="linesSpinner" layoutX="35.0" layoutY="10.0" nodeOrientation="LEFT_TO_RIGHT" prefHeight="25.0" prefWidth="92.0" />
<JFXTextField fx:id="tftheader" layoutX="65.0" layoutY="90.0" nodeOrientation="LEFT_TO_RIGHT" prefHeight="25.0" prefWidth="377.0" />
<JFXToggleButton fx:id="switchSeparate" layoutX="270.0" layoutY="170.0" text="Kategorien separat drucken">
<font>
<Font name="Cantarell Regular" size="18.0" />
</font>
</JFXToggleButton>
<Label alignment="TOP_RIGHT" contentDisplay="RIGHT" layoutX="450.0" layoutY="10.0" prefHeight="34.0" prefWidth="107.0" text="Drucker:">
<font>
<Font name="Cantarell Regular" size="18.0" />
</font>
</Label>
<Label alignment="TOP_RIGHT" contentDisplay="RIGHT" layoutX="140.0" layoutY="10.0" prefHeight="34.0" prefWidth="107.0" text="Zeilenlänge:">
<font>
<Font name="Cantarell Regular" size="18.0" />
</font>
</Label>
<Label alignment="TOP_RIGHT" contentDisplay="RIGHT" layoutX="365.0" layoutY="50.0" prefHeight="34.0" prefWidth="193.0" text="Versatz oben:">
<font>
<Font name="Cantarell Regular" size="18.0" />
</font>
</Label>
<Label alignment="TOP_RIGHT" contentDisplay="RIGHT" layoutX="70.0" layoutY="50.0" prefHeight="34.0" prefWidth="193.0" text="Versatz unten:">
<font>
<Font name="Cantarell Regular" size="18.0" />
</font>
</Label>
<Label alignment="TOP_RIGHT" contentDisplay="RIGHT" layoutX="365.0" layoutY="90.0" prefHeight="34.0" prefWidth="193.0" text="Kopfzeile:">
<font>
<Font name="Cantarell Regular" size="18.0" />
</font>
</Label>
<Label alignment="TOP_RIGHT" contentDisplay="RIGHT" layoutX="365.0" layoutY="130.0" prefHeight="34.0" prefWidth="193.0" text="Fußzeile:">
<font>
<Font name="Cantarell Regular" size="18.0" />
</font>
</Label>
<Button fx:id="btnSavePrinter" layoutX="27.0" layoutY="198.0" mnemonicParsing="false" onAction="#btnSavePrinterAction" text="Einstellungen speichern">
<font>
<Font name="Cantarell Regular" size="13.0" />
</font>
</Button>
<Spinner fx:id="offsetHeaderSpinner" layoutX="324.0" layoutY="48.0" nodeOrientation="LEFT_TO_RIGHT" prefHeight="25.0" prefWidth="92.0" />
<Spinner fx:id="offsetFooterSpinner" layoutX="35.0" layoutY="48.0" nodeOrientation="LEFT_TO_RIGHT" prefHeight="25.0" prefWidth="92.0" />
<JFXTextField fx:id="tftfooter" layoutX="65.0" layoutY="130.0" nodeOrientation="LEFT_TO_RIGHT" prefHeight="25.0" prefWidth="377.0" />
</children>
</AnchorPane>
</content>
<font>
<Font name="Cantarell Regular" size="13.0" />
</font>
</TitledPane>
</children>
</AnchorPane>
</content>
</Tab>
<Tab fx:id="tapPosEdit" text="Positionen bearbeiten">
<content>
<AnchorPane minHeight="0.0" minWidth="0.0"
prefHeight="180.0" prefWidth="200.0">
<AnchorPane minHeight="0.0" minWidth="0.0" prefHeight="180.0" prefWidth="200.0">
<children>
<TreeTableView fx:id="entryTreeTable"
layoutX="11.0" layoutY="10.0" prefHeight="502.0"
prefWidth="1346.0">
<TreeTableView fx:id="entryTreeTable" layoutX="11.0" layoutY="10.0" prefHeight="502.0" prefWidth="1346.0">
<placeholder>
<Label text="" />
</placeholder>
<columns>
<TreeTableColumn fx:id="columnColor"
editable="false" maxWidth="428.0" minWidth="119.333251953125"
prefWidth="119.333251953125" resizable="false"
sortable="false" text="Farbe" />
<TreeTableColumn fx:id="columnCat"
editable="false" maxWidth="800.0" minWidth="94.0"
prefWidth="300.0" resizable="false" sortable="false"
text="Kategorie" />
<TreeTableColumn fx:id="columnPrize"
editable="false" maxWidth="693.3333129882812"
minWidth="44.33331298828125" prefWidth="140.33331298828125"
resizable="false" sortable="false" text="Preis" />
<TreeTableColumn fx:id="columnPositionsEdit"
editable="false" maxWidth="1581.6666870117188"
minWidth="38.0" prefWidth="596.333251953125"
resizable="false" sortable="false" text="Positionen" />
<TreeTableColumn fx:id="columnPosnumber"
editable="false" maxWidth="1218.0" minWidth="59.0"
prefWidth="165.0" resizable="false" sortable="false"
text="Nummer" />
<TreeTableColumn fx:id="columnColor" editable="false" maxWidth="428.0" minWidth="119.333251953125" prefWidth="119.333251953125" resizable="false" sortable="false" text="Farbe" />
<TreeTableColumn fx:id="columnCat" editable="false" maxWidth="800.0" minWidth="94.0" prefWidth="300.0" resizable="false" sortable="false" text="Kategorie" />
<TreeTableColumn fx:id="columnPrize" editable="false" maxWidth="693.3333129882812" minWidth="44.33331298828125" prefWidth="140.33331298828125" resizable="false" sortable="false" text="Preis" />
<TreeTableColumn fx:id="columnPositionsEdit" editable="false" maxWidth="1581.6666870117188" minWidth="38.0" prefWidth="596.333251953125" resizable="false" sortable="false" text="Positionen" />
<TreeTableColumn fx:id="columnPosnumber" editable="false" maxWidth="1218.0" minWidth="59.0" prefWidth="165.0" resizable="false" sortable="false" text="Nummer" />
</columns>
<columnResizePolicy>
<TreeTableView
fx:constant="CONSTRAINED_RESIZE_POLICY" />
<TreeTableView fx:constant="CONSTRAINED_RESIZE_POLICY" />
</columnResizePolicy>
</TreeTableView>
<Button fx:id="btnSaveEntry" layoutX="494.0"
layoutY="631.0" mnemonicParsing="false"
onAction="#btnSaveEntryAction"
text="Ausgewählten Eintrag speichern">
<Button fx:id="btnSaveEntry" layoutX="494.0" layoutY="631.0" mnemonicParsing="false" onAction="#btnSaveEntryAction" text="Ausgewählten Eintrag speichern">
<font>
<Font name="Cantarell Regular" size="17.0" />
</font>
</Button>
<Button fx:id="btnClearEntry" layoutX="462.0"
layoutY="525.0" mnemonicParsing="false"
onAction="#btnClearEntryAction"
text="Ausgewählten Eintrag zurücksetzten">
<Button fx:id="btnClearEntry" layoutX="462.0" layoutY="525.0" mnemonicParsing="false" onAction="#btnClearEntryAction" text="Ausgewählten Eintrag zurücksetzten">
<font>
<Font name="Cantarell Regular" size="17.0" />
</font>
</Button>
<TitledPane fx:id="titledPaneEntry"
alignment="CENTER" animated="false" collapsible="false"
contentDisplay="CENTER" layoutX="792.0" layoutY="525.0"
prefHeight="163.0" prefWidth="565.0" text="Eintrag editieren">
<TitledPane fx:id="titledPaneEntry" alignment="CENTER" animated="false" collapsible="false" contentDisplay="CENTER" layoutX="792.0" layoutY="525.0" prefHeight="163.0" prefWidth="565.0" text="Eintrag editieren">
<content>
<AnchorPane minHeight="0.0" minWidth="0.0"
prefHeight="180.0" prefWidth="200.0">
<AnchorPane minHeight="0.0" minWidth="0.0" prefHeight="180.0" prefWidth="200.0">
<children>
<Label fx:id="labelNewPosition" alignment="TOP_RIGHT"
contentDisplay="RIGHT" layoutX="455.0" layoutY="10.0"
prefHeight="34.0" prefWidth="105.0" text="Position:">
<Label fx:id="labelNewPosition" alignment="TOP_RIGHT" contentDisplay="RIGHT" layoutX="455.0" layoutY="10.0" prefHeight="34.0" prefWidth="105.0" text="Position:">
<font>
<Font name="Cantarell Regular" size="18.0" />
</font>
</Label>
<JFXTextField fx:id="tftNewPosition"
alignment="CENTER" layoutX="160.0" layoutY="10.0"
prefHeight="25.0" prefWidth="279.0">
<JFXTextField fx:id="tftNewPosition" alignment="CENTER" layoutX="160.0" layoutY="10.0" prefHeight="25.0" prefWidth="279.0">
<font>
<Font name="Cantarell Regular" size="13.0" />
</font>
</JFXTextField>
<Label fx:id="labelNewValue" alignment="TOP_RIGHT"
contentDisplay="RIGHT" layoutX="442.0" layoutY="50.0"
prefHeight="34.0" prefWidth="118.0" text="Preis in Euro:">
<Label fx:id="labelNewValue" alignment="TOP_RIGHT" contentDisplay="RIGHT" layoutX="442.0" layoutY="50.0" prefHeight="34.0" prefWidth="118.0" text="Preis in Euro:">
<font>
<Font name="Cantarell Regular" size="18.0" />
</font>
</Label>
<JFXTextField fx:id="tftNewValue"
alignment="CENTER" labelFloat="true" layoutX="380.0"
layoutY="50.0" prefHeight="25.0" prefWidth="58.0">
<JFXTextField fx:id="tftNewValue" alignment="CENTER" labelFloat="true" layoutX="380.0" layoutY="50.0" nodeOrientation="LEFT_TO_RIGHT" prefHeight="25.0" prefWidth="58.0">
<font>
<Font name="Cantarell Regular" size="13.0" />
</font>
</JFXTextField>
<Label fx:id="labelNewColor" alignment="TOP_RIGHT"
contentDisplay="RIGHT" layoutX="455.0" layoutY="90.0"
prefHeight="34.0" prefWidth="105.0" text="Farbe:">
<Label fx:id="labelNewColor" alignment="TOP_RIGHT" contentDisplay="RIGHT" layoutX="455.0" layoutY="90.0" prefHeight="34.0" prefWidth="105.0" text="Farbe:">
<font>
<Font name="Cantarell Regular" size="18.0" />
</font>
</Label>
<ChoiceBox fx:id="colorChoise" layoutX="346.0"
layoutY="90.0" prefHeight="25.0" prefWidth="96.0" />
<Label fx:id="labelSelectCat" alignment="TOP_RIGHT"
contentDisplay="RIGHT" layoutX="204.0" layoutY="90.0"
prefHeight="34.0" prefWidth="105.0" text="Kategorie:">
<ChoiceBox fx:id="colorChoise" layoutX="346.0" layoutY="90.0" prefHeight="25.0" prefWidth="96.0" />
<Label fx:id="labelSelectCat" alignment="TOP_RIGHT" contentDisplay="RIGHT" layoutX="204.0" layoutY="90.0" prefHeight="34.0" prefWidth="105.0" text="Kategorie:">
<font>
<Font name="Cantarell Regular" size="18.0" />
</font>
</Label>
<ChoiceBox fx:id="catChoise" layoutX="25.0"
layoutY="90.0" prefHeight="25.0" prefWidth="180.0" />
<ChoiceBox fx:id="catChoise" layoutX="25.0" layoutY="90.0" prefHeight="25.0" prefWidth="180.0" />
</children>
</AnchorPane>
</content>
@ -285,68 +245,40 @@
</Tab>
<Tab text="Aufträge">
<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>
<TreeTableView fx:id="jobsTreeTable"
layoutX="11.0" layoutY="10.0" prefHeight="541.0"
prefWidth="1346.0">
<TreeTableView fx:id="jobsTreeTable" layoutX="11.0" layoutY="10.0" prefHeight="541.0" prefWidth="1346.0">
<placeholder>
<Label text="" />
</placeholder>
<columns>
<TreeTableColumn fx:id="columnJobValue"
editable="false" prefWidth="111.0" resizable="false"
text="Betrag" />
<TreeTableColumn fx:id="columnState"
editable="false" prefWidth="101.0" resizable="false"
text="Zustand" />
<TreeTableColumn fx:id="columnPositions"
editable="false" prefWidth="861.0" resizable="false"
sortable="false" text="Positionen" />
<TreeTableColumn fx:id="columnTime"
editable="false" prefWidth="159.0" resizable="false"
text="Zeit" />
<TreeTableColumn fx:id="columnJobNumber"
editable="false" maxWidth="3000.0"
prefWidth="110.666748046875" resizable="false" text="Nummer" />
<TreeTableColumn fx:id="columnJobValue" editable="false" prefWidth="111.0" resizable="false" text="Betrag" />
<TreeTableColumn fx:id="columnState" editable="false" prefWidth="101.0" resizable="false" text="Zustand" />
<TreeTableColumn fx:id="columnPositions" editable="false" prefWidth="861.0" resizable="false" sortable="false" text="Positionen" />
<TreeTableColumn fx:id="columnTime" editable="false" prefWidth="159.0" resizable="false" text="Zeit" />
<TreeTableColumn fx:id="columnJobNumber" editable="false" maxWidth="3000.0" prefWidth="110.666748046875" resizable="false" text="Nummer" />
</columns>
</TreeTableView>
<Button fx:id="btnReprintJob" layoutX="378.0"
layoutY="603.0" mnemonicParsing="false"
onAction="#btnReprintJobAction"
text="Ausgewählter Auftrag drucken">
<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="957.0"
layoutY="561.0" prefHeight="118.0" prefWidth="400.0"
text="Statistik - 30.03.2018 15:15 Uhr">
<TitledPane fx:id="titlePaneStats" alignment="CENTER" collapsible="false" contentDisplay="CENTER" layoutX="957.0" layoutY="561.0" prefHeight="118.0" prefWidth="400.0" text="Statistik - 30.03.2018 15:15 Uhr">
<content>
<AnchorPane minHeight="0.0" minWidth="0.0"
prefHeight="92.0" prefWidth="414.0">
<AnchorPane minHeight="0.0" minWidth="0.0" prefHeight="92.0" prefWidth="414.0">
<children>
<Label fx:id="labelJobCount" alignment="TOP_RIGHT"
contentDisplay="RIGHT" layoutX="41.0" layoutY="2.0"
prefHeight="34.0" prefWidth="340.0"
text="Anzahl Aufträge: 2781">
<Label fx:id="labelJobCount" alignment="TOP_RIGHT" contentDisplay="RIGHT" layoutX="41.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="41.0" layoutY="30.0"
prefHeight="34.0" prefWidth="340.0"
text="Durchschnittlicher Auftragswert: 12,90€">
<Label fx:id="labelAvgJob" alignment="TOP_RIGHT" contentDisplay="RIGHT" layoutX="41.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="labelAllValue" alignment="TOP_RIGHT"
contentDisplay="RIGHT" layoutX="41.0" layoutY="60.0"
prefHeight="34.0" prefWidth="340.0" text="Gesamt: 1088,48€">
<Label fx:id="labelAllValue" alignment="TOP_RIGHT" contentDisplay="RIGHT" layoutX="41.0" layoutY="60.0" prefHeight="34.0" prefWidth="340.0" text="Gesamt: 1088,48€">
<font>
<Font name="Cantarell Regular" size="18.0" />
</font>
@ -355,17 +287,12 @@
</AnchorPane>
</content>
</TitledPane>
<Button fx:id="btnCancelJob" layoutX="44.0"
layoutY="603.0" mnemonicParsing="false"
onAction="#btnCancelJobAction"
text="Ausgewählter Auftrag stornieren">
<Button fx:id="btnCancelJob" layoutX="44.0" layoutY="603.0" mnemonicParsing="false" onAction="#btnCancelJobAction" text="Ausgewählter Auftrag stornieren">
<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">
<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>
@ -376,357 +303,194 @@
</Tab>
<Tab text="Neuer Auftrag">
<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>
<TreeTableView fx:id="tableCurrentOrder"
layoutX="15.0" layoutY="85.0" prefHeight="379.0"
prefWidth="382.0">
<TreeTableView fx:id="tableCurrentOrder" layoutX="15.0" layoutY="85.0" prefHeight="379.0" prefWidth="382.0">
<placeholder>
<Label text="" />
</placeholder>
<columns>
<TreeTableColumn fx:id="columnPosition"
editable="false" prefWidth="320.0" resizable="false"
sortable="false" text="Position" />
<TreeTableColumn fx:id="columnQuantity"
editable="false" prefWidth="60.0" resizable="false"
sortable="false" text="Anzahl" />
<TreeTableColumn fx:id="columnPosition" editable="false" prefWidth="320.0" resizable="false" sortable="false" text="Position" />
<TreeTableColumn fx:id="columnQuantity" editable="false" prefWidth="60.0" resizable="false" sortable="false" text="Anzahl" />
</columns>
<columnResizePolicy>
<TreeTableView
fx:constant="CONSTRAINED_RESIZE_POLICY" />
<TreeTableView fx:constant="CONSTRAINED_RESIZE_POLICY" />
</columnResizePolicy>
</TreeTableView>
<GridPane gridLinesVisible="true" layoutX="430.0"
layoutY="15.0" prefHeight="670.0" prefWidth="920.0">
<GridPane gridLinesVisible="true" layoutX="430.0" layoutY="15.0" prefHeight="670.0" prefWidth="920.0">
<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" />
<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" />
<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 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 minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
</rowConstraints>
<children>
<JFXButton fx:id="gridButton04" buttonType="RAISED"
maxWidth="235.0" minWidth="179.0"
onAction="#gridButton04Action" prefHeight="169.0"
prefWidth="235.0" ripplerFill="#655252" text="leer 0,00€"
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="leer 0,00€" textAlignment="CENTER" wrapText="true" GridPane.columnIndex="1">
<font>
<Font name="Cantarell Regular" size="24.0" />
</font>
</JFXButton>
<JFXButton fx:id="gridButton05" buttonType="RAISED"
maxWidth="235.0" minWidth="179.0"
onAction="#gridButton05Action" prefHeight="169.0"
prefWidth="235.0" ripplerFill="#655252" text="leer 0,00€"
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="leer 0,00€" textAlignment="CENTER" wrapText="true">
<font>
<Font name="Cantarell Regular" size="24.0" />
</font>
</JFXButton>
<JFXButton fx:id="gridButton03" buttonType="RAISED"
maxWidth="235.0" minWidth="179.0"
onAction="#gridButton03Action" prefHeight="169.0"
prefWidth="235.0" ripplerFill="#655252" text="leer 0,00€"
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="leer 0,00€" textAlignment="CENTER" wrapText="true" GridPane.columnIndex="2">
<font>
<Font name="Cantarell Regular" size="24.0" />
</font>
</JFXButton>
<JFXButton fx:id="gridButton02" buttonType="RAISED"
maxWidth="235.0" minWidth="179.0"
onAction="#gridButton02Action" prefHeight="169.0"
prefWidth="235.0" ripplerFill="#655252" text="leer 0,00€"
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="leer 0,00€" textAlignment="CENTER" wrapText="true" GridPane.columnIndex="3">
<font>
<Font name="Cantarell Regular" size="24.0" />
</font>
</JFXButton>
<JFXButton fx:id="gridButton01" buttonType="RAISED"
maxWidth="235.0" minWidth="179.0"
onAction="#gridButton01Action" prefHeight="134.0"
prefWidth="179.0" ripplerFill="#655252" text="leer 0,00€"
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="leer 0,00€" textAlignment="CENTER" wrapText="true" GridPane.columnIndex="4">
<font>
<Font name="Cantarell Regular" size="24.0" />
</font>
</JFXButton>
<JFXButton fx:id="gridButton10" buttonType="RAISED"
maxWidth="235.0" minWidth="179.0"
onAction="#gridButton10Action" prefHeight="169.0"
prefWidth="235.0" ripplerFill="#655252" text="leer 0,00€"
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="leer 0,00€" textAlignment="CENTER" wrapText="true" GridPane.rowIndex="1">
<font>
<Font name="Cantarell Regular" size="24.0" />
</font>
</JFXButton>
<JFXButton fx:id="gridButton09" buttonType="RAISED"
maxWidth="235.0" minWidth="179.0"
onAction="#gridButton09Action" prefHeight="169.0"
prefWidth="235.0" ripplerFill="#655252" text="leer 0,00€"
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="leer 0,00€" textAlignment="CENTER" wrapText="true" GridPane.columnIndex="1" GridPane.rowIndex="1">
<font>
<Font name="Cantarell Regular" size="24.0" />
</font>
</JFXButton>
<JFXButton fx:id="gridButton08" buttonType="RAISED"
maxWidth="235.0" minWidth="179.0"
onAction="#gridButton08Action" prefHeight="169.0"
prefWidth="235.0" ripplerFill="#655252" text="leer 0,00€"
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="leer 0,00€" textAlignment="CENTER" wrapText="true" GridPane.columnIndex="2" GridPane.rowIndex="1">
<font>
<Font name="Cantarell Regular" size="24.0" />
</font>
</JFXButton>
<JFXButton fx:id="gridButton07" buttonType="RAISED"
maxWidth="235.0" minWidth="179.0"
onAction="#gridButton07Action" prefHeight="169.0"
prefWidth="235.0" ripplerFill="#655252" text="leer 0,00€"
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="leer 0,00€" textAlignment="CENTER" wrapText="true" GridPane.columnIndex="3" GridPane.rowIndex="1">
<font>
<Font name="Cantarell Regular" size="24.0" />
</font>
</JFXButton>
<JFXButton fx:id="gridButton06" buttonType="RAISED"
maxWidth="235.0" minWidth="179.0"
onAction="#gridButton06Action" prefHeight="169.0"
prefWidth="235.0" ripplerFill="#655252" text="leer 0,00€"
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="leer 0,00€" textAlignment="CENTER" wrapText="true" GridPane.columnIndex="4" GridPane.rowIndex="1">
<font>
<Font name="Cantarell Regular" size="24.0" />
</font>
</JFXButton>
<JFXButton fx:id="gridButton15" buttonType="RAISED"
maxWidth="235.0" minWidth="179.0"
onAction="#gridButton15Action" prefHeight="169.0"
prefWidth="235.0" ripplerFill="#655252" text="leer 0,00€"
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="leer 0,00€" textAlignment="CENTER" wrapText="true" GridPane.rowIndex="2">
<font>
<Font name="Cantarell Regular" size="24.0" />
</font>
</JFXButton>
<JFXButton fx:id="gridButton14" buttonType="RAISED"
maxWidth="235.0" minWidth="179.0"
onAction="#gridButton14Action" prefHeight="169.0"
prefWidth="235.0" ripplerFill="#655252" text="leer 0,00€"
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="leer 0,00€" textAlignment="CENTER" wrapText="true" GridPane.columnIndex="1" GridPane.rowIndex="2">
<font>
<Font name="Cantarell Regular" size="24.0" />
</font>
</JFXButton>
<JFXButton fx:id="gridButton13" buttonType="RAISED"
maxWidth="235.0" minWidth="179.0"
onAction="#gridButton13Action" prefHeight="169.0"
prefWidth="235.0" ripplerFill="#655252" text="leer 0,00€"
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="leer 0,00€" textAlignment="CENTER" wrapText="true" GridPane.columnIndex="2" GridPane.rowIndex="2">
<font>
<Font name="Cantarell Regular" size="24.0" />
</font>
</JFXButton>
<JFXButton fx:id="gridButton12" buttonType="RAISED"
maxWidth="235.0" minWidth="179.0"
onAction="#gridButton12Action" prefHeight="169.0"
prefWidth="235.0" ripplerFill="#655252" text="leer 0,00€"
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="leer 0,00€" textAlignment="CENTER" wrapText="true" GridPane.columnIndex="3" GridPane.rowIndex="2">
<font>
<Font name="Cantarell Regular" size="24.0" />
</font>
</JFXButton>
<JFXButton fx:id="gridButton11" buttonType="RAISED"
maxWidth="235.0" minWidth="179.0"
onAction="#gridButton11Action" prefHeight="169.0"
prefWidth="235.0" ripplerFill="#655252" text="leer 0,00€"
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="leer 0,00€" textAlignment="CENTER" wrapText="true" GridPane.columnIndex="4" GridPane.rowIndex="2">
<font>
<Font name="Cantarell Regular" size="24.0" />
</font>
</JFXButton>
<JFXButton fx:id="gridButton20" buttonType="RAISED"
maxWidth="235.0" minWidth="179.0"
onAction="#gridButton20Action" prefHeight="169.0"
prefWidth="235.0" ripplerFill="#655252" text="leer 0,00€"
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="leer 0,00€" textAlignment="CENTER" wrapText="true" GridPane.rowIndex="3">
<font>
<Font name="Cantarell Regular" size="24.0" />
</font>
</JFXButton>
<JFXButton fx:id="gridButton19" buttonType="RAISED"
maxWidth="235.0" minWidth="179.0"
onAction="#gridButton19Action" prefHeight="169.0"
prefWidth="235.0" ripplerFill="#655252" text="leer 0,00€"
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="leer 0,00€" textAlignment="CENTER" wrapText="true" GridPane.columnIndex="1" GridPane.rowIndex="3">
<font>
<Font name="Cantarell Regular" size="24.0" />
</font>
</JFXButton>
<JFXButton fx:id="gridButton18" buttonType="RAISED"
maxWidth="235.0" minWidth="179.0"
onAction="#gridButton18Action" prefHeight="169.0"
prefWidth="235.0" ripplerFill="#655252" text="leer 0,00€"
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="leer 0,00€" textAlignment="CENTER" wrapText="true" GridPane.columnIndex="2" GridPane.rowIndex="3">
<font>
<Font name="Cantarell Regular" size="24.0" />
</font>
</JFXButton>
<JFXButton fx:id="gridButton17" buttonType="RAISED"
maxWidth="235.0" minWidth="179.0"
onAction="#gridButton17Action" prefHeight="169.0"
prefWidth="235.0" ripplerFill="#655252" text="leer 0,00€"
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="leer 0,00€" textAlignment="CENTER" wrapText="true" GridPane.columnIndex="3" GridPane.rowIndex="3">
<font>
<Font name="Cantarell Regular" size="24.0" />
</font>
</JFXButton>
<JFXButton fx:id="gridButton16" buttonType="RAISED"
maxWidth="235.0" minWidth="179.0"
onAction="#gridButton16Action" prefHeight="169.0"
prefWidth="235.0" ripplerFill="#655252" text="leer 0,00€"
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="leer 0,00€" textAlignment="CENTER" wrapText="true" GridPane.columnIndex="4" GridPane.rowIndex="3">
<font>
<Font name="Cantarell Regular" size="24.0" />
</font>
</JFXButton>
<JFXButton fx:id="gridButton25" buttonType="RAISED"
maxWidth="235.0" minWidth="179.0"
onAction="#gridButton25Action" prefHeight="169.0"
prefWidth="235.0" ripplerFill="#655252" text="leer 0,00€"
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="leer 0,00€" textAlignment="CENTER" wrapText="true" GridPane.rowIndex="4">
<font>
<Font name="Cantarell Regular" size="24.0" />
</font>
</JFXButton>
<JFXButton fx:id="gridButton23" buttonType="RAISED"
maxWidth="235.0" minWidth="179.0"
onAction="#gridButton23Action" prefHeight="169.0"
prefWidth="235.0" ripplerFill="#655252" text="leer 0,00€"
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="leer 0,00€" textAlignment="CENTER" wrapText="true" GridPane.columnIndex="2" GridPane.rowIndex="4">
<font>
<Font name="Cantarell Regular" size="24.0" />
</font>
</JFXButton>
<JFXButton fx:id="gridButton22" buttonType="RAISED"
maxWidth="235.0" minWidth="179.0"
onAction="#gridButton22Action" prefHeight="169.0"
prefWidth="235.0" ripplerFill="#655252" text="leer 0,00€"
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="leer 0,00€" textAlignment="CENTER" wrapText="true" GridPane.columnIndex="3" GridPane.rowIndex="4">
<font>
<Font name="Cantarell Regular" size="24.0" />
</font>
</JFXButton>
<JFXButton fx:id="gridButton21" buttonType="RAISED"
maxWidth="235.0" minWidth="179.0"
onAction="#gridButton21Action" prefHeight="169.0"
prefWidth="235.0" ripplerFill="#655252" text="leer 0,00€"
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="leer 0,00€" textAlignment="CENTER" wrapText="true" GridPane.columnIndex="4" GridPane.rowIndex="4">
<font>
<Font name="Cantarell Regular" size="24.0" />
</font>
</JFXButton>
<JFXButton fx:id="gridButton24" buttonType="RAISED"
maxWidth="235.0" minWidth="179.0"
onAction="#gridButton24Action" prefHeight="169.0"
prefWidth="235.0" ripplerFill="#655252" text="leer 0,00€"
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="leer 0,00€" textAlignment="CENTER" wrapText="true" GridPane.columnIndex="1" GridPane.rowIndex="4">
<font>
<Font name="Cantarell Regular" size="24.0" />
</font>
</JFXButton>
</children>
</GridPane>
<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"
textAlignment="CENTER" 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" textAlignment="CENTER" wrapText="true">
<font>
<Font name="Cantarell Bold" size="48.0" />
</font>
</Button>
<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">
<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 name="Cantarell Regular" size="20.0" />
</font>
</Button>
<Label fx:id="labelAllPrize" alignment="CENTER"
contentDisplay="CENTER" layoutX="10.0" layoutY="511.0"
prefHeight="15.0" prefWidth="386.0" text="0,00 €"
textAlignment="CENTER">
<Label fx:id="labelAllPrize" alignment="CENTER" contentDisplay="CENTER" layoutX="10.0" layoutY="511.0" prefHeight="15.0" prefWidth="386.0" text="0,00 €" textAlignment="CENTER">
<font>
<Font name="Cantarell Regular" size="70.0" />
</font>
</Label>
<Label fx:id="labelJobCounter" alignment="TOP_RIGHT"
contentDisplay="CENTER" layoutX="5.0" layoutY="45.0"
prefHeight="34.0" prefWidth="392.0" text="Auftragsnummer: 0"
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: 0" textAlignment="CENTER">
<font>
<Font name="Cantarell Regular" size="26.0" />
</font>
</Label>
<Label fx:id="labelTime" alignment="TOP_RIGHT"
layoutX="7.0" layoutY="11.0" maxHeight="33.0" maxWidth="392.0"
minHeight="33.0" minWidth="392.0" prefHeight="33.0"
prefWidth="392.0" text="Uhrzeit: 12:15">
<Label fx:id="labelTime" alignment="TOP_RIGHT" layoutX="7.0" layoutY="11.0" maxHeight="33.0" maxWidth="392.0" minHeight="33.0" minWidth="392.0" prefHeight="33.0" prefWidth="392.0" text="Uhrzeit: 12:15">
<font>
<Font name="Cantarell Regular" size="26.0" />
</font>
</Label>
<JFXButton fx:id="btnLock" buttonType="RAISED"
cancelButton="true" layoutX="1.0" layoutY="6.0"
lineSpacing="2.0" onAction="#btnLockAction" prefHeight="42.0"
prefWidth="180.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="180.0" ripplerFill="BLACK" text="Kasse sperren" textAlignment="CENTER" textFill="#c91c1c" textOverrun="LEADING_WORD_ELLIPSIS">
<font>
<Font name="Cantarell Regular" size="19.0" />
</font>
</JFXButton>
<Line endX="800.0" layoutX="62.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>
</AnchorPane>
</content>