@Deprecated public interface ProtoPresenter extends Fn.Presenter, Fn.KeepAlive, Flushable
| Modifier and Type | Method and Description |
|---|---|
String |
js2java(String method,
String a1,
String a2,
String a3,
String a4)
Deprecated.
Dispatches callback from JavaScript back into appropriate
Java implementation.
|
<T> T |
lookup(Class<T> type)
Deprecated.
Looks for additional data stored in the presenter.
|
defineFn, displayPage, loadScriptdefineFnString js2java(String method, String a1, String a2, String a3, String a4) throws Exception
ProtoPresenterBuilder is expected
to register ProtoPresenterBuilder.preparator(com.dukescript.presenters.spi.ProtoPresenterBuilder.Preparator, boolean) and setup a JavaScript
call to this method.method - the type of call to makea1 - first argumenta2 - second argumenta3 - third argumenta4 - fourth argumentException - if something goes wrong<T> T lookup(Class<T> type)
ProtoPresenterBuilder.register(java.lang.Object) method.T - the type of data to search fortype - exact type of the dataCopyright © 2020. All rights reserved.