P - The type of the Presenter associated with this proxy.public interface Proxy<P extends Presenter<?,?>> extends ProxyRaw
Presenter is instantiated. This include, among
others, the presenter's specific RevealContentEvent that needs the
presenter to reveal itself.
The relationship between a presenter and its proxy is two-way.
Presenter subclasses will usually define their own interface called
MyProxy and be derived from this one.| Modifier and Type | Method and Description |
|---|---|
EventBus |
getEventBus()
Makes it possible to access the
EventBus object associated with
that proxy. |
void |
getPresenter(NotifyingAsyncCallback<P> callback)
Get the associated
Presenter. |
getRawPresenterfireEventEventBus getEventBus()
EventBus object associated with
that proxy.EventBus associated with that proxy.void getPresenter(NotifyingAsyncCallback<P> callback)
Presenter. The presenter can only be obtained in
an asynchronous manner to support code splitting when needed. To access the
presenter, pass a callback.callback - The callback in which the Presenter will be passed
as a parameter.Copyright © 2010-2014 ArcBees. All Rights Reserved.