This commit is contained in:
Oystein 2021-04-26 23:00:32 +02:00
commit d5ad1ed82a
5 changed files with 11 additions and 2 deletions

View File

@ -35,7 +35,7 @@ import javafx.scene.control.ToggleGroup;
import javafx.stage.Stage; import javafx.stage.Stage;
/** /**
* A FXML controller that controls the menubar component of the UI * A FXML controller that controls the MenuBar
*/ */
public class MenubarController implements Initializable, Controller { public class MenubarController implements Initializable, Controller {

View File

@ -15,7 +15,7 @@ import javafx.fxml.Initializable;
import javafx.scene.control.Label; import javafx.scene.control.Label;
/** /**
* A FXML controller that controls the modeline component of the UI * A FXML controller that controls the Modeline
*/ */
public class ModelineController implements Initializable, Controller { public class ModelineController implements Initializable, Controller {

View File

@ -2,6 +2,9 @@ package app.events;
import app.model.Model; import app.model.Model;
/**
* Event signalizing that the current file should be saved to disk
*/
public class SaveFileEvent extends Event { public class SaveFileEvent extends Event {
private boolean isNewFile; private boolean isNewFile;

View File

@ -11,6 +11,9 @@ import java.util.Scanner;
import app.model.Model; import app.model.Model;
import javafx.stage.Stage; import javafx.stage.Stage;
/**
* A class containing operations and logic for choosing, reading and writing to files.
*/
public class FileOperations { public class FileOperations {
private FileOperations() {} private FileOperations() {}

View File

@ -16,6 +16,9 @@ import javafx.scene.control.TreeItem;
import javafx.scene.image.Image; import javafx.scene.image.Image;
import javafx.scene.image.ImageView; import javafx.scene.image.ImageView;
/**
* A class containing operations for handling files withing a GUI filetree
*/
public class FiletreeOperations { public class FiletreeOperations {
private static int iconSize = 20; private static int iconSize = 20;