Modularize all components

This commit is contained in:
2021-02-17 21:36:12 +01:00
parent c8d37c2754
commit 73e389339c
11 changed files with 186 additions and 65 deletions

View File

@@ -0,0 +1,31 @@
package app.controllers;
import java.net.URL;
import java.util.ResourceBundle;
import app.model.Model;
import javafx.fxml.Initializable;
public class MenubarController implements Initializable {
// TODO: Add component references, and event handlers
private Model model;
/**
* Links the controller to the global model
* @param model The model to be linked
*/
public void setModel(Model model) {
this.model = model;
}
/**
* Initializes and customizes the properties of the javafx objects.
*/
@Override
public void initialize(URL url, ResourceBundle resourceBundle) {
// TODO: implement
}
}