You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
46 lines
1.1 KiB
46 lines
1.1 KiB
package com.ugsbo.gui;
|
|
|
|
import javafx.fxml.FXML;
|
|
import javafx.scene.control.*;
|
|
|
|
public class BasicGuiController {
|
|
|
|
// Hier werden die fx:id Attribute verknuepft.
|
|
@FXML
|
|
private Button matrixCalc;
|
|
@FXML
|
|
private Button app2; //Fuer VokabelKartenSchreiber
|
|
@FXML
|
|
private Button app3;
|
|
@FXML
|
|
private Button app4;
|
|
|
|
/**
|
|
* Konstructor is called before initialize()
|
|
*/
|
|
public BasicGuiController() {
|
|
// Setup of some Fields could be defined here.
|
|
}
|
|
|
|
/**
|
|
* Initializes the controller class. This method is automatically called after
|
|
* the fxml file has been loaded.
|
|
*/
|
|
@FXML
|
|
public void initialize() {
|
|
matrixCalc.setOnMouseClicked((event) -> {
|
|
MainApp.startMatrixCalcGUI();
|
|
// System.out.println(event);
|
|
});
|
|
app2.setOnMouseClicked((event) -> {
|
|
//System.out.println(event);
|
|
MainApp.startVokabelKartenSchreiber();
|
|
});
|
|
app3.setOnMouseClicked((event) -> {
|
|
System.out.println(event);
|
|
});
|
|
app4.setOnMouseClicked((event) -> {
|
|
System.out.println(event);
|
|
});
|
|
}
|
|
}
|