From fa8fd8f0eb63198da62b853bab12cc416bc3aee4 Mon Sep 17 00:00:00 2001 From: Stefan Suhren Date: Mon, 30 Nov 2015 17:07:36 +0100 Subject: Add default header for methods and classes --- src/de/fhswf/in/inf/se/notepadMinusMinus/Main.java | 56 ++++++++++++++++++++++ 1 file changed, 56 insertions(+) (limited to 'src/de/fhswf/in/inf/se/notepadMinusMinus/Main.java') diff --git a/src/de/fhswf/in/inf/se/notepadMinusMinus/Main.java b/src/de/fhswf/in/inf/se/notepadMinusMinus/Main.java index e9e2af5..3a72d6b 100644 --- a/src/de/fhswf/in/inf/se/notepadMinusMinus/Main.java +++ b/src/de/fhswf/in/inf/se/notepadMinusMinus/Main.java @@ -20,6 +20,12 @@ import javafx.scene.control.Alert.AlertType; import javafx.scene.layout.BorderPane; import javafx.stage.Stage; +/** + * TODO Add comment here + * + * @author $Author: $ + * @version $Revision: $, $Date: $ UTC + */ public class Main extends Application { private ObservableList gradeList = FXCollections @@ -29,6 +35,11 @@ public class Main extends Application private File openFile; + /* + * (non-Javadoc) + * + * @see javafx.application.Application#start(javafx.stage.Stage) + */ @Override public void start(Stage primaryStage) { @@ -55,31 +66,61 @@ public class Main extends Application } } + /** + * TODO Add method comment here + * + * @param args + */ public static void main(String[] args) { launch(args); } + /** + * TODO Add method comment here + * + * @return + */ public ObservableList getGradeList() { return gradeList; } + /** + * TODO Add method comment here + * + * @return + */ public Stage getPrimaryStage() { return primaryStage; } + /** + * TODO Add method comment here + * + * @return + */ public File getOpenFile() { return openFile; } + /** + * TODO Add method comment here + * + * @param openFile + */ public void setOpenFile(File openFile) { this.openFile = openFile; } + /** + * TODO Add method comment here + * + * @return + */ public File getGradesFilePath() { Preferences prefs = Preferences.userNodeForPackage(Main.class); @@ -94,6 +135,11 @@ public class Main extends Application } } + /** + * TODO Add method comment here + * + * @param file + */ public void setGradesFilePath(File file) { Preferences prefs = Preferences.userNodeForPackage(Main.class); @@ -113,6 +159,11 @@ public class Main extends Application } } + /** + * TODO Add method comment here + * + * @param file + */ public void loadGradesFromFile(File file) { try @@ -146,6 +197,11 @@ public class Main extends Application } } + /** + * TODO Add method comment here + * + * @param file + */ public void saveGradesToFile(File file) { try -- cgit v1.2.3-70-g09d2