summaryrefslogtreecommitdiffstats
path: root/src/de/fhswf/in/inf/se/notepadMinusMinus/Main.java
diff options
context:
space:
mode:
authorStefan Suhren <suhren.stefan@fh-swf.de>2015-11-30 17:07:36 +0100
committerStefan Suhren <suhren.stefan@fh-swf.de>2015-11-30 17:07:36 +0100
commitfa8fd8f0eb63198da62b853bab12cc416bc3aee4 (patch)
treecbc77fb4b4698748e940df8732622f192a49e4a6 /src/de/fhswf/in/inf/se/notepadMinusMinus/Main.java
parent8a1495c42b2512ed1e85e998a13a050c6ce7aa55 (diff)
downloadNotepad---fa8fd8f0eb63198da62b853bab12cc416bc3aee4.tar.gz
Notepad---fa8fd8f0eb63198da62b853bab12cc416bc3aee4.zip
Add default header for methods and classes
Diffstat (limited to 'src/de/fhswf/in/inf/se/notepadMinusMinus/Main.java')
-rw-r--r--src/de/fhswf/in/inf/se/notepadMinusMinus/Main.java56
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