public class MachineLearningView extends Object
| Modifier and Type | Field and Description |
|---|---|
protected static org.slf4j.Logger |
logger
the logger for this class
|
protected MachineLearningController |
mlController
corresponding controller
|
| Constructor and Description |
|---|
MachineLearningView(MainView mainView,
MachineLearningController mlController,
MLImplementationType type)
default constructor setting the variables and creating the view by
calling
createMLAlgorithmsRootPane() |
| Modifier and Type | Method and Description |
|---|---|
void |
createMLAlgorithmsRootPane()
checks if the MLAlgorithm is implemented for this LearningSetting
corresponding to the subclass of MachineLearningView and creates the
rootPane accordingly
|
javafx.scene.control.Button |
getLearnButton()
returns learn button
|
MainView |
getMainView()
returns mainView
|
void |
showErrorDialog(String header,
String content)
Shows if an Error occurred
|
protected static org.slf4j.Logger logger
protected MachineLearningController mlController
public MachineLearningView(MainView mainView, MachineLearningController mlController, MLImplementationType type)
createMLAlgorithmsRootPane()mainView - main viewmlController - controllertype - implementation type: active, batch, unsupervisedpublic void createMLAlgorithmsRootPane()
public void showErrorDialog(String header, String content)
header - Caption of the Errorcontent - Error Messagepublic javafx.scene.control.Button getLearnButton()
public MainView getMainView()
Copyright © 2018. All rights reserved.