|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sap.ui.core.mvp.client.presenter.AbstractPresenter<T>
public abstract class AbstractPresenter<T extends View>
The class AbstractPresenter implements the basic
functionality of the Presenter and additionally provides
support for managing the event bus (HandlerManager). The
event bus has to be used for dispatching and receiving events from other
views, presenters or controllers.
Revision Version: ($Revision: #1 $), Revision Date: ($Date: 2011/02/08 $)Revision Author: ($Author: d039071 $)| Constructor Summary | |
|---|---|
AbstractPresenter(com.google.gwt.event.shared.HandlerManager eventBus,
T view)
constructs the class AbstractPresenter |
|
| Method Summary | |
|---|---|
protected com.google.gwt.event.shared.HandlerManager |
getEventBus()
returns the reference to the event bus of the application |
T |
getView()
returns the reference to the View |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractPresenter(com.google.gwt.event.shared.HandlerManager eventBus,
T view)
AbstractPresenter
eventBus - reference to the event bus (HandlerManager)view - reference to the View| Method Detail |
|---|
public T getView()
PresenterView
getView in interface Presenter<T extends View>Viewprotected com.google.gwt.event.shared.HandlerManager getEventBus()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||