public class MainView extends Object
| Modifier and Type | Field and Description |
|---|---|
ToolBox |
toolBox
Toolbox of the MainView adds Nodes to Graph
|
| Constructor and Description |
|---|
MainView(javafx.stage.Stage stage)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
GraphBuildView |
getGraphBuild() |
javafx.scene.layout.BorderPane |
getRoot() |
javafx.scene.Scene |
getScene() |
void |
setController(MainController controller)
Sets corresponding Controller
|
static void |
showErrorWithStacktrace(String header,
String content,
Throwable ex)
shows an error with the given header and content message, also displays
the stack trace
|
void |
showLoadedConfig(boolean isLoaded)
Enables menu and run buttons, if config is loaded
|
public ToolBox toolBox
public MainView(javafx.stage.Stage stage)
stage - Used Stage of the Applicationpublic void setController(MainController controller)
controller - Corresponding Controllerpublic void showLoadedConfig(boolean isLoaded)
isLoaded - True if Config is Loadedpublic static void showErrorWithStacktrace(String header, String content, Throwable ex)
header - header of messagecontent - content of messageex - thrown exceptionpublic javafx.scene.layout.BorderPane getRoot()
public javafx.scene.Scene getScene()
public GraphBuildView getGraphBuild()
Copyright © 2018. All rights reserved.