Compare commits
10 Commits
FlaschePom
...
master
Author | SHA1 | Date |
---|---|---|
Hendrik Schutter | c4297a4be2 | |
Hendrik Schutter | fd52d3df6d | |
Hendrik Schutter | c320ef615d | |
Hendrik Schutter | 2a20ea7bdb | |
Hendrik Schutter | a56ad43852 | |
Hendrik Schutter | 188214dfbe | |
Hendrik Schutter | cdbe2cccc0 | |
Hendrik Schutter | 5152846478 | |
Hendrik Schutter | f5c5d546c5 | |
Hendrik Schutter | 5c9d54dabf |
36
README.md
|
@ -1,2 +1,38 @@
|
||||||
# jFxKasse
|
# jFxKasse
|
||||||
easy payment system for small to middel sized events with a sales slip printer
|
easy payment system for small to middel sized events with a sales slip printer
|
||||||
|
|
||||||
|
Simples Kassensystem für kleine bis mittlere Veranstaltungen mit Bon-Drucker
|
||||||
|
|
||||||
|
## Video Tutorials (German | Deutsch)
|
||||||
|
[YouTube Video: jFxKasse - Kassensystem - Kurzanleitung](https://www.youtube.com/watch?v=DV9DDESw40I)
|
||||||
|
|
||||||
|
[YouTube Video: jFxKasse - Kassensystem - Installieren](https://www.youtube.com/watch?v=IY1bqRjwh0Q)
|
||||||
|
|
||||||
|
## Screenshots
|
||||||
|
|
||||||
|
### Main View | Hauptansicht
|
||||||
|
![](https://git.mosad.xyz/localhorst/jFxKasse/raw/branch/master/screenshots/newjob)
|
||||||
|
|
||||||
|
### Jobs | Auftäge
|
||||||
|
![](https://git.mosad.xyz/localhorst/jFxKasse/raw/branch/master/screenshots/jobs)
|
||||||
|
|
||||||
|
### Positions | Positionen
|
||||||
|
![](https://git.mosad.xyz/localhorst/jFxKasse/raw/branch/master/screenshots/positions)
|
||||||
|
|
||||||
|
### Settings | Einstellungen
|
||||||
|
![](https://git.mosad.xyz/localhorst/jFxKasse/raw/branch/master/screenshots/settings)
|
||||||
|
|
||||||
|
|
||||||
|
## Requirements | Anforderungen
|
||||||
|
|
||||||
|
### Software
|
||||||
|
|
||||||
|
* Java JRE 11
|
||||||
|
* Display/Bildschirm > 1366px X 768px
|
||||||
|
* Windoofs, Mac, GNU/Linux (openSuse tested)
|
||||||
|
|
||||||
|
### Hardware
|
||||||
|
|
||||||
|
I used this printer: [Epson TM T20II](https://www.epson.de/products/sd/pos-printer/epson-tm-t20ii)
|
||||||
|
|
||||||
|
Other sales slip printer are possible.
|
2
pom.xml
|
@ -4,7 +4,7 @@
|
||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
<groupId>com</groupId>
|
<groupId>com</groupId>
|
||||||
<artifactId>jFxKasse</artifactId>
|
<artifactId>jFxKasse</artifactId>
|
||||||
<version>0.3.0</version>
|
<version>0.3.2</version>
|
||||||
<name>jFxKasse</name>
|
<name>jFxKasse</name>
|
||||||
|
|
||||||
<dependencies>
|
<dependencies>
|
||||||
|
|
After Width: | Height: | Size: 123 KiB |
After Width: | Height: | Size: 128 KiB |
After Width: | Height: | Size: 107 KiB |
After Width: | Height: | Size: 83 KiB |
|
@ -1,6 +1,8 @@
|
||||||
package com.jFxKasse.application;
|
package com.jFxKasse.application;
|
||||||
|
|
||||||
import javafx.application.Application;
|
import javafx.application.Application;
|
||||||
|
import javafx.event.EventHandler;
|
||||||
|
|
||||||
import java.io.File;
|
import java.io.File;
|
||||||
import javafx.animation.Animation;
|
import javafx.animation.Animation;
|
||||||
import javafx.animation.KeyFrame;
|
import javafx.animation.KeyFrame;
|
||||||
|
@ -12,7 +14,10 @@ import com.jFxKasse.controller.MainWindowController;
|
||||||
import com.jFxKasse.controller.PrinterController;
|
import com.jFxKasse.controller.PrinterController;
|
||||||
import com.jFxKasse.controller.XMLController;
|
import com.jFxKasse.controller.XMLController;
|
||||||
import com.jFxKasse.controller.DBController;
|
import com.jFxKasse.controller.DBController;
|
||||||
|
import com.jFxKasse.controller.KeyController;
|
||||||
|
|
||||||
import javafx.scene.Scene;
|
import javafx.scene.Scene;
|
||||||
|
import javafx.scene.input.KeyEvent;
|
||||||
import javafx.scene.layout.AnchorPane;
|
import javafx.scene.layout.AnchorPane;
|
||||||
|
|
||||||
public class Main extends Application
|
public class Main extends Application
|
||||||
|
@ -31,6 +36,8 @@ public class Main extends Application
|
||||||
private DBController dbc = new DBController(filepath);
|
private DBController dbc = new DBController(filepath);
|
||||||
|
|
||||||
private PrinterController pc = new PrinterController();
|
private PrinterController pc = new PrinterController();
|
||||||
|
|
||||||
|
private KeyController kc;
|
||||||
|
|
||||||
private Stage primaryStage;
|
private Stage primaryStage;
|
||||||
|
|
||||||
|
@ -65,6 +72,9 @@ public class Main extends Application
|
||||||
primaryStage.setScene(scene);
|
primaryStage.setScene(scene);
|
||||||
primaryStage.show(); // shows the stage
|
primaryStage.show(); // shows the stage
|
||||||
|
|
||||||
|
//attach the KeyController
|
||||||
|
kc = new KeyController(scene, mwc);
|
||||||
|
|
||||||
Timeline timeline = new Timeline(
|
Timeline timeline = new Timeline(
|
||||||
new KeyFrame(Duration.seconds(1), ev -> {
|
new KeyFrame(Duration.seconds(1), ev -> {
|
||||||
mwc.updateTimeLabel(); // update time label on UI
|
mwc.updateTimeLabel(); // update time label on UI
|
||||||
|
@ -96,7 +106,7 @@ public class Main extends Application
|
||||||
// config.xml found, app starting normal
|
// config.xml found, app starting normal
|
||||||
System.out.println("XML found!");
|
System.out.println("XML found!");
|
||||||
mwc.initUI(); // Starting the UI elements
|
mwc.initUI(); // Starting the UI elements
|
||||||
mwc.setDBLabel(); // Set databese labels
|
mwc.setDBLabel(); // Set database labels
|
||||||
dbc.setDbname(xmlc.getDatabaseName()); // handover database name
|
dbc.setDbname(xmlc.getDatabaseName()); // handover database name
|
||||||
dbc.connectDatabase(); // estabishing DB conection
|
dbc.connectDatabase(); // estabishing DB conection
|
||||||
mwc.fillTablePositionen(); // fill TreeTable 'Positionen'
|
mwc.fillTablePositionen(); // fill TreeTable 'Positionen'
|
||||||
|
|
|
@ -0,0 +1,227 @@
|
||||||
|
package com.jFxKasse.controller;
|
||||||
|
|
||||||
|
import javafx.event.EventHandler;
|
||||||
|
import javafx.scene.Scene;
|
||||||
|
import javafx.scene.input.KeyCode;
|
||||||
|
import javafx.scene.input.KeyEvent;
|
||||||
|
|
||||||
|
public class KeyController
|
||||||
|
{
|
||||||
|
private MainWindowController mwc;
|
||||||
|
|
||||||
|
public KeyController(Scene scene, MainWindowController mwc)
|
||||||
|
{
|
||||||
|
this.mwc = mwc;
|
||||||
|
|
||||||
|
scene.setOnKeyPressed(new EventHandler<KeyEvent>() {
|
||||||
|
@Override
|
||||||
|
public void handle(KeyEvent keyEvent)
|
||||||
|
{
|
||||||
|
switch (mwc.getActiveTab()) {
|
||||||
|
case 0:
|
||||||
|
handleTabNewJob(keyEvent);
|
||||||
|
break;
|
||||||
|
|
||||||
|
case 1:
|
||||||
|
handleTabJobs(keyEvent);
|
||||||
|
break;
|
||||||
|
|
||||||
|
case 2:
|
||||||
|
handleTabPosEdit(keyEvent);
|
||||||
|
break;
|
||||||
|
|
||||||
|
case 3:
|
||||||
|
handleTabSettings(keyEvent);
|
||||||
|
break;
|
||||||
|
default:
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
private void handleTabNewJob(KeyEvent key)
|
||||||
|
{
|
||||||
|
if ((key.getCode() == KeyCode.ENTER)
|
||||||
|
&& (!mwc.btnPrintBill.isDisabled())) {
|
||||||
|
mwc.btnPrintBillAction(null);
|
||||||
|
}
|
||||||
|
|
||||||
|
if ((key.getCode() == KeyCode.ESCAPE) && (!mwc.btnLock.isDisabled())) {
|
||||||
|
mwc.btnLockAction(null);
|
||||||
|
}
|
||||||
|
|
||||||
|
if ((key.getCode() == KeyCode.DELETE)
|
||||||
|
&& (!mwc.btnDeleteSelectedPosition.isDisabled())) {
|
||||||
|
mwc.btnDeleteSelectedPositionAction(null);
|
||||||
|
}
|
||||||
|
|
||||||
|
handelGridButtons(key);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
private void handleTabJobs(KeyEvent key)
|
||||||
|
{
|
||||||
|
if ((key.getCode() == KeyCode.ENTER)
|
||||||
|
&& (!mwc.btnReprintJob.isDisabled())) {
|
||||||
|
mwc.btnReprintJobAction(null);
|
||||||
|
}
|
||||||
|
|
||||||
|
if ((key.getCode() == KeyCode.DELETE)
|
||||||
|
&& (!mwc.btnCancelJob.isDisabled())) {
|
||||||
|
mwc.btnCancelJobAction(null);
|
||||||
|
}
|
||||||
|
|
||||||
|
if ((key.getCode() == KeyCode.S) && (!mwc.btnCalcStats.isDisabled())) {
|
||||||
|
mwc.btnCalcStatsAction(null);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
private void handleTabPosEdit(KeyEvent key)
|
||||||
|
{
|
||||||
|
if ((key.getCode() == KeyCode.ENTER)
|
||||||
|
&& (!mwc.btnSaveEntry.isDisabled())) {
|
||||||
|
mwc.btnSaveEntryAction(null);
|
||||||
|
}
|
||||||
|
|
||||||
|
if ((key.getCode() == KeyCode.DELETE)
|
||||||
|
&& (!mwc.btnClearEntry.isDisabled())) {
|
||||||
|
mwc.btnClearEntryAction(null);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
private void handleTabSettings(KeyEvent key)
|
||||||
|
{
|
||||||
|
if ((key.getCode() == KeyCode.ENTER)
|
||||||
|
&& (!mwc.btnSavePrinter.isDisabled())) {
|
||||||
|
mwc.btnSavePrinterAction(null);
|
||||||
|
}
|
||||||
|
|
||||||
|
if ((key.getCode() == KeyCode.ENTER) && (!mwc.btnSaveCat.isDisabled())) {
|
||||||
|
mwc.btnSaveCatAction(null);
|
||||||
|
}
|
||||||
|
|
||||||
|
if ((key.getCode() == KeyCode.ENTER)
|
||||||
|
&& (!mwc.btnCreateNewDatabase.isDisabled())) {
|
||||||
|
try {
|
||||||
|
mwc.btnCreateNewDatabaseAction(null);
|
||||||
|
} catch (Exception e) {
|
||||||
|
e.printStackTrace();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
void handelGridButtons(KeyEvent key)
|
||||||
|
{
|
||||||
|
|
||||||
|
switch (key.getCode()) {
|
||||||
|
case Q:
|
||||||
|
mwc.gridButton01Action(null);
|
||||||
|
break;
|
||||||
|
|
||||||
|
case W:
|
||||||
|
mwc.gridButton02Action(null);
|
||||||
|
break;
|
||||||
|
|
||||||
|
case E:
|
||||||
|
mwc.gridButton03Action(null);
|
||||||
|
break;
|
||||||
|
|
||||||
|
case R:
|
||||||
|
mwc.gridButton04Action(null);
|
||||||
|
break;
|
||||||
|
|
||||||
|
case T:
|
||||||
|
mwc.gridButton05Action(null);
|
||||||
|
break;
|
||||||
|
|
||||||
|
case Z:
|
||||||
|
mwc.gridButton06Action(null);
|
||||||
|
break;
|
||||||
|
|
||||||
|
case U:
|
||||||
|
mwc.gridButton07Action(null);
|
||||||
|
break;
|
||||||
|
|
||||||
|
case I:
|
||||||
|
mwc.gridButton08Action(null);
|
||||||
|
break;
|
||||||
|
|
||||||
|
case O:
|
||||||
|
mwc.gridButton09Action(null);
|
||||||
|
break;
|
||||||
|
|
||||||
|
case P:
|
||||||
|
mwc.gridButton10Action(null);
|
||||||
|
break;
|
||||||
|
|
||||||
|
case A:
|
||||||
|
mwc.gridButton11Action(null);
|
||||||
|
break;
|
||||||
|
|
||||||
|
case S:
|
||||||
|
mwc.gridButton12Action(null);
|
||||||
|
break;
|
||||||
|
|
||||||
|
case D:
|
||||||
|
mwc.gridButton13Action(null);
|
||||||
|
break;
|
||||||
|
|
||||||
|
case F:
|
||||||
|
mwc.gridButton14Action(null);
|
||||||
|
break;
|
||||||
|
|
||||||
|
case G:
|
||||||
|
mwc.gridButton15Action(null);
|
||||||
|
break;
|
||||||
|
|
||||||
|
case H:
|
||||||
|
mwc.gridButton16Action(null);
|
||||||
|
break;
|
||||||
|
|
||||||
|
case J:
|
||||||
|
mwc.gridButton17Action(null);
|
||||||
|
break;
|
||||||
|
|
||||||
|
case K:
|
||||||
|
mwc.gridButton18Action(null);
|
||||||
|
break;
|
||||||
|
|
||||||
|
case L:
|
||||||
|
mwc.gridButton19Action(null);
|
||||||
|
break;
|
||||||
|
|
||||||
|
case Y:
|
||||||
|
mwc.gridButton20Action(null);
|
||||||
|
break;
|
||||||
|
|
||||||
|
case X:
|
||||||
|
mwc.gridButton21Action(null);
|
||||||
|
break;
|
||||||
|
|
||||||
|
case C:
|
||||||
|
mwc.gridButton22Action(null);
|
||||||
|
break;
|
||||||
|
|
||||||
|
case V:
|
||||||
|
mwc.gridButton23Action(null);
|
||||||
|
break;
|
||||||
|
|
||||||
|
case B:
|
||||||
|
mwc.gridButton24Action(null);
|
||||||
|
break;
|
||||||
|
|
||||||
|
case N:
|
||||||
|
mwc.gridButton25Action(null);
|
||||||
|
break;
|
||||||
|
|
||||||
|
default:
|
||||||
|
break;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
|
@ -46,9 +46,18 @@ public class MainWindowController
|
||||||
@FXML
|
@FXML
|
||||||
private AnchorPane paneDB;
|
private AnchorPane paneDB;
|
||||||
|
|
||||||
|
@FXML
|
||||||
|
private Tab tapNewJob;
|
||||||
|
|
||||||
|
@FXML
|
||||||
|
private Tab tapJobs;
|
||||||
|
|
||||||
@FXML
|
@FXML
|
||||||
private Tab tapPosEdit;
|
private Tab tapPosEdit;
|
||||||
|
|
||||||
|
@FXML
|
||||||
|
private Tab tapSettings;
|
||||||
|
|
||||||
@FXML
|
@FXML
|
||||||
private TreeTableView<tableDataCurrentOrder> tableCurrentOrder;
|
private TreeTableView<tableDataCurrentOrder> tableCurrentOrder;
|
||||||
|
|
||||||
|
@ -199,34 +208,34 @@ public class MainWindowController
|
||||||
private Button gridButton25;
|
private Button gridButton25;
|
||||||
|
|
||||||
@FXML
|
@FXML
|
||||||
private Button btnSavePrinter;
|
public Button btnSavePrinter;
|
||||||
|
|
||||||
@FXML
|
@FXML
|
||||||
private Button btnDeleteSelectedPosition;
|
public Button btnDeleteSelectedPosition;
|
||||||
|
|
||||||
@FXML
|
@FXML
|
||||||
private Button btnPrintBill;
|
public Button btnPrintBill;
|
||||||
|
|
||||||
@FXML
|
@FXML
|
||||||
private Button btnLock;
|
public Button btnLock;
|
||||||
|
|
||||||
@FXML
|
@FXML
|
||||||
private Button btnReprintJob;
|
public Button btnReprintJob;
|
||||||
|
|
||||||
@FXML
|
@FXML
|
||||||
private Button btnCancelJob;
|
public Button btnCancelJob;
|
||||||
|
|
||||||
@FXML
|
@FXML
|
||||||
private Button btnCalcStats;
|
public Button btnCalcStats;
|
||||||
|
|
||||||
@FXML
|
@FXML
|
||||||
private Button btnSaveEntry;
|
public Button btnSaveEntry;
|
||||||
|
|
||||||
@FXML
|
@FXML
|
||||||
private Button btnClearEntry;
|
public Button btnClearEntry;
|
||||||
|
|
||||||
@FXML
|
@FXML
|
||||||
private Button btnCreateNewDatabase;
|
public Button btnCreateNewDatabase;
|
||||||
|
|
||||||
@FXML
|
@FXML
|
||||||
private Button btnOpenFolder;
|
private Button btnOpenFolder;
|
||||||
|
@ -268,7 +277,7 @@ public class MainWindowController
|
||||||
private JFXTextField tftKat05;
|
private JFXTextField tftKat05;
|
||||||
|
|
||||||
@FXML
|
@FXML
|
||||||
private Button btnSaveCat;
|
public Button btnSaveCat;
|
||||||
|
|
||||||
@FXML
|
@FXML
|
||||||
private Label labelAllPrize;
|
private Label labelAllPrize;
|
||||||
|
@ -378,7 +387,7 @@ public class MainWindowController
|
||||||
// creates a dialog
|
// creates a dialog
|
||||||
Dialog<Pair<String, String>> dialog = new Dialog<>();
|
Dialog<Pair<String, String>> dialog = new Dialog<>();
|
||||||
dialog.setTitle("Über jFxKasse");
|
dialog.setTitle("Über jFxKasse");
|
||||||
dialog.setHeaderText("Informationen und Lizenzen - Version 0.3.0");
|
dialog.setHeaderText("Informationen und Lizenzen - Version 0.3.2");
|
||||||
|
|
||||||
dialog.getDialogPane().getButtonTypes().addAll(ButtonType.OK);
|
dialog.getDialogPane().getButtonTypes().addAll(ButtonType.OK);
|
||||||
|
|
||||||
|
@ -398,8 +407,8 @@ public class MainWindowController
|
||||||
+ " \n(c) 2018 Hendrik Schutter"),
|
+ " \n(c) 2018 Hendrik Schutter"),
|
||||||
0, 0);
|
0, 0);
|
||||||
|
|
||||||
dialog.getDialogPane().setContent(grid); // Setzt die GridPane auf die
|
dialog.getDialogPane().setContent(grid);
|
||||||
dialog.setResizable(true); // DialogPane
|
dialog.setResizable(true);
|
||||||
dialog.showAndWait();
|
dialog.showAndWait();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -589,6 +598,7 @@ public class MainWindowController
|
||||||
tapPosEdit.setDisable(false);
|
tapPosEdit.setDisable(false);
|
||||||
btnDeleteSelectedPosition.setDisable(true);
|
btnDeleteSelectedPosition.setDisable(true);
|
||||||
isPrintBtnDisabled = true;
|
isPrintBtnDisabled = true;
|
||||||
|
tapJobs.setDisable(false);
|
||||||
|
|
||||||
setJobPrizeLabel(0);
|
setJobPrizeLabel(0);
|
||||||
|
|
||||||
|
@ -625,151 +635,151 @@ public class MainWindowController
|
||||||
@FXML
|
@FXML
|
||||||
public void gridButton01Action(ActionEvent event)
|
public void gridButton01Action(ActionEvent event)
|
||||||
{
|
{
|
||||||
handelGridButtons(1);
|
handleGridButtons(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
@FXML
|
@FXML
|
||||||
public void gridButton02Action(ActionEvent event)
|
public void gridButton02Action(ActionEvent event)
|
||||||
{
|
{
|
||||||
handelGridButtons(2);
|
handleGridButtons(2);
|
||||||
}
|
}
|
||||||
|
|
||||||
@FXML
|
@FXML
|
||||||
public void gridButton03Action(ActionEvent event)
|
public void gridButton03Action(ActionEvent event)
|
||||||
{
|
{
|
||||||
handelGridButtons(3);
|
handleGridButtons(3);
|
||||||
}
|
}
|
||||||
|
|
||||||
@FXML
|
@FXML
|
||||||
public void gridButton04Action(ActionEvent event)
|
public void gridButton04Action(ActionEvent event)
|
||||||
{
|
{
|
||||||
handelGridButtons(4);
|
handleGridButtons(4);
|
||||||
}
|
}
|
||||||
|
|
||||||
@FXML
|
@FXML
|
||||||
public void gridButton05Action(ActionEvent event)
|
public void gridButton05Action(ActionEvent event)
|
||||||
{
|
{
|
||||||
handelGridButtons(5);
|
handleGridButtons(5);
|
||||||
}
|
}
|
||||||
|
|
||||||
@FXML
|
@FXML
|
||||||
public void gridButton06Action(ActionEvent event)
|
public void gridButton06Action(ActionEvent event)
|
||||||
{
|
{
|
||||||
handelGridButtons(6);
|
handleGridButtons(6);
|
||||||
}
|
}
|
||||||
|
|
||||||
@FXML
|
@FXML
|
||||||
public void gridButton07Action(ActionEvent event)
|
public void gridButton07Action(ActionEvent event)
|
||||||
{
|
{
|
||||||
handelGridButtons(7);
|
handleGridButtons(7);
|
||||||
}
|
}
|
||||||
|
|
||||||
@FXML
|
@FXML
|
||||||
public void gridButton08Action(ActionEvent event)
|
public void gridButton08Action(ActionEvent event)
|
||||||
{
|
{
|
||||||
handelGridButtons(8);
|
handleGridButtons(8);
|
||||||
}
|
}
|
||||||
|
|
||||||
@FXML
|
@FXML
|
||||||
public void gridButton09Action(ActionEvent event)
|
public void gridButton09Action(ActionEvent event)
|
||||||
{
|
{
|
||||||
handelGridButtons(9);
|
handleGridButtons(9);
|
||||||
}
|
}
|
||||||
|
|
||||||
@FXML
|
@FXML
|
||||||
public void gridButton10Action(ActionEvent event)
|
public void gridButton10Action(ActionEvent event)
|
||||||
{
|
{
|
||||||
handelGridButtons(10);
|
handleGridButtons(10);
|
||||||
}
|
}
|
||||||
|
|
||||||
@FXML
|
@FXML
|
||||||
public void gridButton11Action(ActionEvent event)
|
public void gridButton11Action(ActionEvent event)
|
||||||
{
|
{
|
||||||
handelGridButtons(11);
|
handleGridButtons(11);
|
||||||
}
|
}
|
||||||
|
|
||||||
@FXML
|
@FXML
|
||||||
public void gridButton12Action(ActionEvent event)
|
public void gridButton12Action(ActionEvent event)
|
||||||
{
|
{
|
||||||
handelGridButtons(12);
|
handleGridButtons(12);
|
||||||
}
|
}
|
||||||
|
|
||||||
@FXML
|
@FXML
|
||||||
public void gridButton13Action(ActionEvent event)
|
public void gridButton13Action(ActionEvent event)
|
||||||
{
|
{
|
||||||
handelGridButtons(13);
|
handleGridButtons(13);
|
||||||
}
|
}
|
||||||
|
|
||||||
@FXML
|
@FXML
|
||||||
public void gridButton14Action(ActionEvent event)
|
public void gridButton14Action(ActionEvent event)
|
||||||
{
|
{
|
||||||
handelGridButtons(14);
|
handleGridButtons(14);
|
||||||
}
|
}
|
||||||
|
|
||||||
@FXML
|
@FXML
|
||||||
public void gridButton15Action(ActionEvent event)
|
public void gridButton15Action(ActionEvent event)
|
||||||
{
|
{
|
||||||
handelGridButtons(15);
|
handleGridButtons(15);
|
||||||
}
|
}
|
||||||
|
|
||||||
@FXML
|
@FXML
|
||||||
public void gridButton16Action(ActionEvent event)
|
public void gridButton16Action(ActionEvent event)
|
||||||
{
|
{
|
||||||
handelGridButtons(16);
|
handleGridButtons(16);
|
||||||
}
|
}
|
||||||
|
|
||||||
@FXML
|
@FXML
|
||||||
public void gridButton17Action(ActionEvent event)
|
public void gridButton17Action(ActionEvent event)
|
||||||
{
|
{
|
||||||
handelGridButtons(17);
|
handleGridButtons(17);
|
||||||
}
|
}
|
||||||
|
|
||||||
@FXML
|
@FXML
|
||||||
public void gridButton18Action(ActionEvent event)
|
public void gridButton18Action(ActionEvent event)
|
||||||
{
|
{
|
||||||
handelGridButtons(18);
|
handleGridButtons(18);
|
||||||
}
|
}
|
||||||
|
|
||||||
@FXML
|
@FXML
|
||||||
public void gridButton19Action(ActionEvent event)
|
public void gridButton19Action(ActionEvent event)
|
||||||
{
|
{
|
||||||
handelGridButtons(19);
|
handleGridButtons(19);
|
||||||
}
|
}
|
||||||
|
|
||||||
@FXML
|
@FXML
|
||||||
public void gridButton20Action(ActionEvent event)
|
public void gridButton20Action(ActionEvent event)
|
||||||
{
|
{
|
||||||
handelGridButtons(20);
|
handleGridButtons(20);
|
||||||
}
|
}
|
||||||
|
|
||||||
@FXML
|
@FXML
|
||||||
public void gridButton21Action(ActionEvent event)
|
public void gridButton21Action(ActionEvent event)
|
||||||
{
|
{
|
||||||
handelGridButtons(21);
|
handleGridButtons(21);
|
||||||
}
|
}
|
||||||
|
|
||||||
@FXML
|
@FXML
|
||||||
public void gridButton22Action(ActionEvent event)
|
public void gridButton22Action(ActionEvent event)
|
||||||
{
|
{
|
||||||
handelGridButtons(22);
|
handleGridButtons(22);
|
||||||
}
|
}
|
||||||
|
|
||||||
@FXML
|
@FXML
|
||||||
public void gridButton23Action(ActionEvent event)
|
public void gridButton23Action(ActionEvent event)
|
||||||
{
|
{
|
||||||
handelGridButtons(23);
|
handleGridButtons(23);
|
||||||
}
|
}
|
||||||
|
|
||||||
@FXML
|
@FXML
|
||||||
public void gridButton24Action(ActionEvent event)
|
public void gridButton24Action(ActionEvent event)
|
||||||
{
|
{
|
||||||
handelGridButtons(24);
|
handleGridButtons(24);
|
||||||
}
|
}
|
||||||
|
|
||||||
@FXML
|
@FXML
|
||||||
public void gridButton25Action(ActionEvent event)
|
public void gridButton25Action(ActionEvent event)
|
||||||
{
|
{
|
||||||
handelGridButtons(25);
|
handleGridButtons(25);
|
||||||
}
|
}
|
||||||
|
|
||||||
@FXML
|
@FXML
|
||||||
|
@ -811,10 +821,18 @@ public class MainWindowController
|
||||||
btnReprintJob.setDisable(true);
|
btnReprintJob.setDisable(true);
|
||||||
btnCancelJob.setDisable(true);
|
btnCancelJob.setDisable(true);
|
||||||
btnDeleteSelectedPosition.setDisable(true);
|
btnDeleteSelectedPosition.setDisable(true);
|
||||||
|
tapJobs.setDisable(true);
|
||||||
|
btnOpenFolder.setFocusTraversable(false);
|
||||||
|
switchSeparate.setFocusTraversable(false);
|
||||||
|
ueberbtn.setFocusTraversable(false);
|
||||||
isPrintBtnDisabled = true;
|
isPrintBtnDisabled = true;
|
||||||
|
btnPrintBill
|
||||||
|
.setStyle("-fx-background-color: #2ac8fc; -fx-text-fill: black;");
|
||||||
|
btnLock.setFocusTraversable(false);
|
||||||
initPositionen();
|
initPositionen();
|
||||||
initCurrentOrderTreeTableView();
|
initCurrentOrderTreeTableView();
|
||||||
initJobTreeTableView();
|
initJobTreeTableView();
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public int getSelectedCat()
|
public int getSelectedCat()
|
||||||
|
@ -837,8 +855,11 @@ public class MainWindowController
|
||||||
public void changed(ObservableValue<? extends Number> ov,
|
public void changed(ObservableValue<? extends Number> ov,
|
||||||
Number value, Number new_value)
|
Number value, Number new_value)
|
||||||
{
|
{
|
||||||
selectedCatName = catChoise.getItems().get((int) new_value)
|
try {
|
||||||
.toString();
|
selectedCatName = catChoise.getItems().get((int) new_value)
|
||||||
|
.toString();
|
||||||
|
} catch (Exception e) {
|
||||||
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -964,9 +985,8 @@ public class MainWindowController
|
||||||
int selected = entryTreeTable.getSelectionModel()
|
int selected = entryTreeTable.getSelectionModel()
|
||||||
.getSelectedIndex(); // get selected item
|
.getSelectedIndex(); // get selected item
|
||||||
|
|
||||||
idPositionen = columnPosnumber.getCellData(selected);
|
|
||||||
try {
|
try {
|
||||||
|
idPositionen = columnPosnumber.getCellData(selected);
|
||||||
tftNewPosition
|
tftNewPosition
|
||||||
.setText(dbc.getName_Positionen(idPositionen));
|
.setText(dbc.getName_Positionen(idPositionen));
|
||||||
tftNewValue.setText(dbc.getValue_Positionen(idPositionen));
|
tftNewValue.setText(dbc.getValue_Positionen(idPositionen));
|
||||||
|
@ -978,7 +998,7 @@ public class MainWindowController
|
||||||
|
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
// TODO Auto-generated catch block
|
// TODO Auto-generated catch block
|
||||||
e.printStackTrace();
|
// e.printStackTrace();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
@ -1165,6 +1185,7 @@ public class MainWindowController
|
||||||
{
|
{
|
||||||
for (int i = 0; i < 25; i++) {
|
for (int i = 0; i < 25; i++) {
|
||||||
getButtonByID(i).setText(dbc.getName_Positionen(i + 1));
|
getButtonByID(i).setText(dbc.getName_Positionen(i + 1));
|
||||||
|
getButtonByID(i).setFocusTraversable(false);
|
||||||
if ((getColorID(dbc.getColor_Positionen(i + 1)) == 0)
|
if ((getColorID(dbc.getColor_Positionen(i + 1)) == 0)
|
||||||
|| (getColorID(dbc.getColor_Positionen(i + 1)) == 7)) {
|
|| (getColorID(dbc.getColor_Positionen(i + 1)) == 7)) {
|
||||||
getButtonByID(i).setStyle("-fx-background-color: "
|
getButtonByID(i).setStyle("-fx-background-color: "
|
||||||
|
@ -1241,8 +1262,14 @@ public class MainWindowController
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private void handelGridButtons(int pID)
|
private void handleGridButtons(int pID)
|
||||||
{
|
{
|
||||||
|
|
||||||
|
if (!getButtonByID(pID - 1).isVisible()) {
|
||||||
|
// Button is not visible, no action
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
currentJob.addPosition(dbc.getName_Positionen(pID),
|
currentJob.addPosition(dbc.getName_Positionen(pID),
|
||||||
Float.parseFloat(dbc.getValue_Positionen(pID)),
|
Float.parseFloat(dbc.getValue_Positionen(pID)),
|
||||||
dbc.getCategoryNameFromPositionen(pID));
|
dbc.getCategoryNameFromPositionen(pID));
|
||||||
|
@ -1260,6 +1287,9 @@ public class MainWindowController
|
||||||
}
|
}
|
||||||
|
|
||||||
setJobPrizeLabel(currentJob.getJobValue());
|
setJobPrizeLabel(currentJob.getJobValue());
|
||||||
|
|
||||||
|
btnPrintBill.setFocusTraversable(false);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private void initCurrentOrderTreeTableView()
|
private void initCurrentOrderTreeTableView()
|
||||||
|
@ -1379,6 +1409,10 @@ public class MainWindowController
|
||||||
rootJobs.getChildren().add(new TreeItem<tableDataJob>(tmp));
|
rootJobs.getChildren().add(new TreeItem<tableDataJob>(tmp));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!dbc.getJobCount().equals("0")) {
|
||||||
|
tapJobs.setDisable(false);
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public void createNewJob()
|
public void createNewJob()
|
||||||
|
@ -1445,4 +1479,26 @@ public class MainWindowController
|
||||||
btnLock.setDisable(true);
|
btnLock.setDisable(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public int getActiveTab()
|
||||||
|
{
|
||||||
|
|
||||||
|
if (tapNewJob.isSelected()) {
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (tapJobs.isSelected()) {
|
||||||
|
return 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (tapPosEdit.isSelected()) {
|
||||||
|
return 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (tapSettings.isSelected()) {
|
||||||
|
return 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
return 404;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
package com.jFxKasse.datatypes;
|
package com.jFxKasse.datatypes;
|
||||||
|
|
||||||
|
import java.math.BigDecimal;
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
|
|
||||||
public class Job
|
public class Job
|
||||||
|
@ -109,6 +110,8 @@ public class Job
|
||||||
jobvalue = jobvalue
|
jobvalue = jobvalue
|
||||||
+ (positionenQuantity.get(i) * positionenValue.get(i));
|
+ (positionenQuantity.get(i) * positionenValue.get(i));
|
||||||
}
|
}
|
||||||
|
//Round to two decimals
|
||||||
|
jobvalue = BigDecimal.valueOf(jobvalue).setScale(2, BigDecimal.ROUND_HALF_UP).floatValue();
|
||||||
}
|
}
|
||||||
|
|
||||||
public String createPosQuantityDBString()
|
public String createPosQuantityDBString()
|
||||||
|
|
|
@ -35,7 +35,7 @@ public class PrintDataSimple extends PrintData
|
||||||
protected void generatePrintString()
|
protected void generatePrintString()
|
||||||
{
|
{
|
||||||
/* Header */
|
/* Header */
|
||||||
String header = "\n";
|
String header = " ";
|
||||||
for (int i = 1; i < headerSpace; i++) {
|
for (int i = 1; i < headerSpace; i++) {
|
||||||
header = header + "\n";
|
header = header + "\n";
|
||||||
}
|
}
|
||||||
|
|
|
@ -43,7 +43,7 @@ public class PrintDataSplitted extends PrintData
|
||||||
String firstBill;
|
String firstBill;
|
||||||
|
|
||||||
/* Header */
|
/* Header */
|
||||||
String header = "\n";
|
String header = "-";
|
||||||
for (int i = 1; i < headerSpace; i++) {
|
for (int i = 1; i < headerSpace; i++) {
|
||||||
header = header + "\n";
|
header = header + "\n";
|
||||||
}
|
}
|
||||||
|
@ -107,7 +107,7 @@ public class PrintDataSplitted extends PrintData
|
||||||
String thisBill;
|
String thisBill;
|
||||||
|
|
||||||
/* Header */
|
/* Header */
|
||||||
header = "\n";
|
header = " ";
|
||||||
for (int o = 1; o < headerSpace; o++) {
|
for (int o = 1; o < headerSpace; o++) {
|
||||||
header = header + "\n";
|
header = header + "\n";
|
||||||
}
|
}
|
||||||
|
|
|
@ -23,7 +23,7 @@
|
||||||
<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>
|
||||||
<Tab text="Einstellungen">
|
<Tab fx:id="tapSettings" text="Einstellungen">
|
||||||
<content>
|
<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>
|
<children>
|
||||||
|
@ -131,7 +131,7 @@
|
||||||
<content>
|
<content>
|
||||||
<AnchorPane minHeight="0.0" minWidth="0.0" prefHeight="327.0" prefWidth="564.0">
|
<AnchorPane minHeight="0.0" minWidth="0.0" prefHeight="327.0" prefWidth="564.0">
|
||||||
<children>
|
<children>
|
||||||
<ChoiceBox fx:id="printerChoise" layoutX="270.0" layoutY="10.0" prefHeight="25.0" prefWidth="178.0" />
|
<ChoiceBox fx:id="printerChoise" layoutX="270.0" layoutY="10.0" nodeOrientation="LEFT_TO_RIGHT" prefHeight="25.0" prefWidth="178.0" />
|
||||||
<Spinner fx:id="linesSpinner" layoutX="35.0" layoutY="10.0" nodeOrientation="LEFT_TO_RIGHT" prefHeight="25.0" prefWidth="92.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" alignment="CENTER" layoutX="65.0" layoutY="90.0" nodeOrientation="LEFT_TO_RIGHT" prefHeight="25.0" prefWidth="377.0">
|
<JFXTextField fx:id="tftheader" alignment="CENTER" layoutX="65.0" layoutY="90.0" nodeOrientation="LEFT_TO_RIGHT" prefHeight="25.0" prefWidth="377.0">
|
||||||
<font>
|
<font>
|
||||||
|
@ -247,13 +247,13 @@
|
||||||
<Font name="Cantarell Regular" size="18.0" />
|
<Font name="Cantarell Regular" size="18.0" />
|
||||||
</font>
|
</font>
|
||||||
</Label>
|
</Label>
|
||||||
<ChoiceBox fx:id="colorChoise" layoutX="340.0" layoutY="90.0" prefHeight="25.0" prefWidth="169.0" />
|
<ChoiceBox fx:id="colorChoise" layoutX="340.0" layoutY="90.0" nodeOrientation="LEFT_TO_RIGHT" prefHeight="25.0" prefWidth="169.0" />
|
||||||
<Label fx:id="labelSelectCat" alignment="TOP_RIGHT" contentDisplay="RIGHT" layoutX="185.0" layoutY="10.0" prefHeight="34.0" prefWidth="105.0" text="Kategorie:">
|
<Label fx:id="labelSelectCat" alignment="TOP_RIGHT" contentDisplay="RIGHT" layoutX="185.0" layoutY="10.0" prefHeight="34.0" prefWidth="105.0" text="Kategorie:">
|
||||||
<font>
|
<font>
|
||||||
<Font name="Cantarell Regular" size="18.0" />
|
<Font name="Cantarell Regular" size="18.0" />
|
||||||
</font>
|
</font>
|
||||||
</Label>
|
</Label>
|
||||||
<ChoiceBox fx:id="catChoise" layoutX="16.0" layoutY="10.0" prefHeight="25.0" prefWidth="180.0" />
|
<ChoiceBox fx:id="catChoise" layoutX="16.0" layoutY="10.0" nodeOrientation="LEFT_TO_RIGHT" prefHeight="25.0" prefWidth="180.0" />
|
||||||
<Button fx:id="btnSaveEntry" layoutX="23.0" layoutY="86.0" mnemonicParsing="false" onAction="#btnSaveEntryAction" text="Ausgewählten Eintrag speichern">
|
<Button fx:id="btnSaveEntry" layoutX="23.0" layoutY="86.0" mnemonicParsing="false" onAction="#btnSaveEntryAction" text="Ausgewählten Eintrag speichern">
|
||||||
<font>
|
<font>
|
||||||
<Font name="Cantarell Regular" size="17.0" />
|
<Font name="Cantarell Regular" size="17.0" />
|
||||||
|
@ -270,7 +270,7 @@
|
||||||
</AnchorPane>
|
</AnchorPane>
|
||||||
</content>
|
</content>
|
||||||
</Tab>
|
</Tab>
|
||||||
<Tab text="Aufträge">
|
<Tab fx:id="tapJobs" text="Aufträge">
|
||||||
<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>
|
||||||
|
@ -279,11 +279,11 @@
|
||||||
<Label text="" />
|
<Label text="" />
|
||||||
</placeholder>
|
</placeholder>
|
||||||
<columns>
|
<columns>
|
||||||
<TreeTableColumn fx:id="columnJobNumber" editable="false" maxWidth="3000.0" prefWidth="85.0" resizable="false" text="Nummer" />
|
<TreeTableColumn fx:id="columnJobNumber" editable="false" maxWidth="3000.0" prefWidth="85.0" resizable="false" sortable="false" text="Nummer" />
|
||||||
<TreeTableColumn fx:id="columnTime" editable="false" prefWidth="160.0" resizable="false" text="Zeit" />
|
<TreeTableColumn fx:id="columnTime" editable="false" prefWidth="160.0" resizable="false" sortable="false" text="Zeit" />
|
||||||
<TreeTableColumn fx:id="columnPositions" editable="false" prefWidth="856.0" resizable="false" sortable="false" text="Positionen" />
|
<TreeTableColumn fx:id="columnPositions" editable="false" prefWidth="856.0" resizable="false" sortable="false" text="Positionen" />
|
||||||
<TreeTableColumn fx:id="columnState" editable="false" prefWidth="116.0" resizable="false" text="Zustand" />
|
<TreeTableColumn fx:id="columnState" editable="false" prefWidth="116.0" resizable="false" sortable="false" text="Zustand" />
|
||||||
<TreeTableColumn fx:id="columnJobValue" editable="false" prefWidth="103.0" resizable="false" text="Betrag" />
|
<TreeTableColumn fx:id="columnJobValue" editable="false" prefWidth="103.0" resizable="false" sortable="false" text="Betrag" />
|
||||||
</columns>
|
</columns>
|
||||||
</TreeTableView>
|
</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">
|
||||||
|
@ -328,17 +328,17 @@
|
||||||
</AnchorPane>
|
</AnchorPane>
|
||||||
</content>
|
</content>
|
||||||
</Tab>
|
</Tab>
|
||||||
<Tab text="Neuer Auftrag">
|
<Tab fx:id="tapNewJob" text="Neuer Auftrag">
|
||||||
<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="85.0" prefHeight="358.0" prefWidth="382.0">
|
<TreeTableView fx:id="tableCurrentOrder" layoutX="15.0" layoutY="85.0" nodeOrientation="LEFT_TO_RIGHT" prefHeight="358.0" prefWidth="382.0">
|
||||||
<placeholder>
|
<placeholder>
|
||||||
<Label text="" />
|
<Label text="" />
|
||||||
</placeholder>
|
</placeholder>
|
||||||
<columns>
|
<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="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" />
|
||||||
</columns>
|
</columns>
|
||||||
<columnResizePolicy>
|
<columnResizePolicy>
|
||||||
<TreeTableView fx:constant="CONSTRAINED_RESIZE_POLICY" />
|
<TreeTableView fx:constant="CONSTRAINED_RESIZE_POLICY" />
|
||||||
|
@ -487,7 +487,7 @@
|
||||||
</JFXButton>
|
</JFXButton>
|
||||||
</children>
|
</children>
|
||||||
</GridPane>
|
</GridPane>
|
||||||
<Button fx:id="btnPrintBill" contentDisplay="CENTER" defaultButton="true" graphicTextGap="1.0" layoutX="75.0" layoutY="588.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" focusTraversable="false" graphicTextGap="1.0" layoutX="75.0" layoutY="588.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>
|
||||||
<Font name="Cantarell Bold" size="48.0" />
|
<Font name="Cantarell Bold" size="48.0" />
|
||||||
</font>
|
</font>
|
||||||
|
@ -512,7 +512,7 @@
|
||||||
<Font name="Cantarell Regular" size="26.0" />
|
<Font name="Cantarell Regular" size="26.0" />
|
||||||
</font>
|
</font>
|
||||||
</Label>
|
</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" 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>
|
||||||
<Font name="Cantarell Regular" size="19.0" />
|
<Font name="Cantarell Regular" size="19.0" />
|
||||||
</font>
|
</font>
|
||||||
|
|