|
@@ -13,11 +13,22 @@ import IO.Writer;
|
|
|
import Model.LayeredGraphEdge;
|
|
|
import Model.LayeredGraphNode;
|
|
|
|
|
|
+/**
|
|
|
+ * The main window of the application.
|
|
|
+ * @author kolja
|
|
|
+ *
|
|
|
+ */
|
|
|
public class MainView {
|
|
|
-
|
|
|
+ /**
|
|
|
+ * The 'frame' of the main window.
|
|
|
+ */
|
|
|
public static JFrame frame;
|
|
|
AnimationController controller;
|
|
|
|
|
|
+ /**
|
|
|
+ * Initialize the window and its contents.
|
|
|
+ * @param graph the graph that is displayed in this window.
|
|
|
+ */
|
|
|
public MainView( LayeredGraphNode graph )
|
|
|
{
|
|
|
controller = new AnimationController();
|