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)
.Modifier and Type | Method and Description |
---|---|
ViewTuple<ViewType,ViewModelType> |
load()
The final step of the Fluent API.
|
FluentViewLoader.JavaViewStep<ViewType,ViewModelType> |
resourceBundle(ResourceBundle resourceBundle) |
FluentViewLoader.JavaViewStep<ViewType,ViewModelType> |
viewModel(ViewModelType viewModel)
This param is used to define an existing viewModel instance to be used when loading the view.
|
public FluentViewLoader.JavaViewStep<ViewType,ViewModelType> resourceBundle(ResourceBundle resourceBundle)
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 ViewTuple<ViewType,ViewModelType> load()
Copyright © 2015 Saxonia Systems AG. All rights reserved.