public class ExecuteJavaScriptProcessor extends Object
Page.executeJavaScript(String, java.io.Serializable...) on the
client.| Constructor and Description |
|---|
ExecuteJavaScriptProcessor(Registry registry)
Creates a new processor with the given registry.
|
| Modifier and Type | Method and Description |
|---|---|
void |
execute(elemental.json.JsonArray invocations)
Executes invocations received from the server.
|
protected void |
invoke(String[] parameterNamesAndCode,
JsArray<Object> parameters,
JsMap<Object,StateNode> nodeParameters)
Executes the actual invocation.
|
protected boolean |
isBound(StateNode node) |
public ExecuteJavaScriptProcessor(Registry registry)
registry - the registry to usepublic void execute(elemental.json.JsonArray invocations)
invocations - a JSON containing invocation dataprotected boolean isBound(StateNode node)
protected void invoke(String[] parameterNamesAndCode, JsArray<Object> parameters, JsMap<Object,StateNode> nodeParameters)
parameterNamesAndCode - an array consisting of parameter names followed by the
JavaScript expression to executeparameters - an array of parameter valuesnodeParameters - the node parametersCopyright © 2000–2018 Vaadin Ltd. All rights reserved.