We use cookies to serve our customers and website visitors in the best possible way. Cookies are used for the proper functioning of the website and for improving the user experience, monitoring visitor traffic and marketing purposes. By continuing to browse the site, you agree to our use of cookies. You can read more about cookies here.
com.vaadin.client.
Class JavaScriptConnectorHelper
- java.lang.Object
-
- com.vaadin.client.JavaScriptConnectorHelper
-
public class JavaScriptConnectorHelper extends Object
-
-
Constructor Summary
Constructors Constructor Description JavaScriptConnectorHelper(ServerConnector connector)
-
Method Summary
All Methods Modifier and Type Method Description protected com.google.gwt.core.client.JavaScriptObject
createRpcObject(String iface, Set<String> methods)
Object[]
decodeRpcParameters(elemental.json.JsonArray parametersJson)
void
ensureJavascriptInited()
Makes sure the javascript part of the connector has been initialized.
com.google.gwt.core.client.JavaScriptObject
getConnectorWrapper()
String
getInitFunctionName()
String
getTagName()
void
init()
protected boolean
initJavaScript()
void
invokeJsRpc(MethodInvocation invocation, elemental.json.JsonArray parametersJson)
void
onUnregister()
void
setNativeState(com.google.gwt.core.client.JavaScriptObject state)
protected void
showInitProblem(List<String> attemptedNames)
-
-
-
Constructor Detail
-
JavaScriptConnectorHelper
public JavaScriptConnectorHelper(ServerConnector connector)
-
-
Method Detail
-
init
public void init()
-
ensureJavascriptInited
public void ensureJavascriptInited()
Makes sure the javascript part of the connector has been initialized. The javascript is usually initalized the first time a state change event is received, but it might in some cases be necessary to make this happen earlier.
Since:
7.4.0
-
createRpcObject
protected com.google.gwt.core.client.JavaScriptObject createRpcObject(String iface, Set<String> methods)
-
initJavaScript
protected boolean initJavaScript()
-
getConnectorWrapper
public com.google.gwt.core.client.JavaScriptObject getConnectorWrapper()
-
setNativeState
public void setNativeState(com.google.gwt.core.client.JavaScriptObject state)
-
decodeRpcParameters
public Object[] decodeRpcParameters(elemental.json.JsonArray parametersJson)
-
invokeJsRpc
public void invokeJsRpc(MethodInvocation invocation, elemental.json.JsonArray parametersJson)
-
onUnregister
public void onUnregister()
-
getInitFunctionName
public String getInitFunctionName()
-
getTagName
public String getTagName()
-
-