ViewType - the generic type of the View that should be loaded. This type
has to implement JavaView.ViewModelType - the generic type of the ViewModel. This type has to implement
ViewModel.public static class FluentViewLoader.JavaViewStep<ViewType extends JavaView<? extends ViewModelType>,ViewModelType extends ViewModel> extends Object
FluentViewLoader with the method
FluentViewLoader.javaView(Class).public FluentViewLoader.JavaViewStep<ViewType,ViewModelType> context(Context context)
public FluentViewLoader.JavaViewStep<ViewType,ViewModelType> providedScopes(Scope... providedScopes)
public FluentViewLoader.JavaViewStep<ViewType,ViewModelType> providedScopes(Collection<Scope> providedScopes)
public FluentViewLoader.JavaViewStep<ViewType,ViewModelType> resourceBundle(ResourceBundle resourceBundle)
ResourceBundle that is used while loading this
view. Note: It is possible to provide a global application-wide
resourceBundle via
MvvmFX.setGlobalResourceBundle(ResourceBundle) method.
If there is a global resourceBundle set it will be merged with the
resourceBundle provided by this builder method. The resourceBundle
provided by this method will have a higher priority then the global
one which means that if there are duplicate keys, the values of the
global resourceBundle will be overwritten and the values of this
resourceBundle will be used.resourceBundle - the resource bundle that is used while loading the view.public FluentViewLoader.JavaViewStep<ViewType,ViewModelType> viewModel(ViewModelType viewModel)
viewModel - the viewModel instance that is used to load the java view.public FluentViewLoader.JavaViewStep<ViewType,ViewModelType> codeBehind(ViewType codeBehind)
codeBehind - the codeBehind instance that is used to load this java
view.public ViewTuple<ViewType,ViewModelType> load()
Copyright © 2016 Saxonia Systems AG. All rights reserved.