diff options
Diffstat (limited to 'src/de/fhswf/in/inf/se/notepadMinusMinus/Main.java')
| -rw-r--r-- | src/de/fhswf/in/inf/se/notepadMinusMinus/Main.java | 56 |
1 files changed, 56 insertions, 0 deletions
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<Grade> 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<Grade> 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 |
