ViewType- the generic type of the view that was loaded.
ViewModelType- the generic type of the viewModel that was loaded.
public class ViewTuple<ViewType extends de.saxsys.mvvmfx.internal.viewloader.View<? extends ViewModelType>,ViewModelType extends ViewModel> extends Object
Tuple for carrying view / code-behind pair. The code-behind part is the class which is known as the controller class behind a FXML file.
As a user you typically won't create instances of this class on your own. Instead you will obtain instances of this
class with the
FluentViewLoader when you are loading a view.
Instances of this class are immutable.
|Constructor and Description|
|Modifier and Type||Method and Description|
The code behind part of the view.
The root object of the view.
public ViewType getCodeBehind()
The code behind part of the view. When using FXML (
FxmlView) this will be an instance of the class that
is specified in the fxml file with
public javafx.scene.Parent getView()
public ViewModelType getViewModel()
Copyright © 2015 Saxonia Systems AG. All rights reserved.