V - an implementation of Viewpublic abstract class Presenter<V extends View> extends Object
VaadinPresenter.
Works with EventBus to subscribe to events and set model data
on an implementor of View.| Constructor and Description |
|---|
Presenter() |
| Modifier and Type | Method and Description |
|---|---|
EventBus |
getEventBus() |
V |
getView()
Hands back the View that this Presenter works with
A match is made if the ViewProvider finds a VaadinView annotated View whose name matches Presenter's viewName
|
ViewProvider |
getViewProvider()
Allows this Presenter to (possibly) work with other views
|
protected void |
init() |
@PostConstruct protected void init()
public EventBus getEventBus()
public V getView()
Viewpublic ViewProvider getViewProvider()
Copyright © 2016. All rights reserved.