Package com.vaadin.swingkit.server
Class JCefSwingJavascriptResponse
java.lang.Object
com.vaadin.swingkit.server.SwingJavascriptResponse
com.vaadin.swingkit.server.JCefSwingJavascriptResponse
- All Implemented Interfaces:
EmbeddedBrowserJSCaller
JCef browser implementation of
SwingJavascriptResponse- Author:
- Vaadin Ltd
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the embedded browser name as a String that is used by the caller implementation.Gets a Javascript call as a String checking that functions and contexts required forgetQueryJSare available.Gets a Javascript call with the function to be called from the Vaadin view to communicate to the Swing app.Methods inherited from class com.vaadin.swingkit.server.SwingJavascriptResponse
checkContext, generateResponseJS
-
Constructor Details
-
JCefSwingJavascriptResponse
public JCefSwingJavascriptResponse()
-
-
Method Details
-
getCheckDefinedJS
Description copied from interface:EmbeddedBrowserJSCallerGets a Javascript call as a String checking that functions and contexts required forgetQueryJSare available.- Returns:
- A Javascript call checking that functions and contexts required for
getQueryJSare available.
-
getQueryJS
Description copied from interface:EmbeddedBrowserJSCallerGets a Javascript call with the function to be called from the Vaadin view to communicate to the Swing app. This function must be provided and defined by the embedded browser.- Returns:
- A Javascript call with the main function of the caller.
-
getBrowserName
Description copied from interface:EmbeddedBrowserJSCallerGets the embedded browser name as a String that is used by the caller implementation.- Returns:
- Embedded Browser name used by the caller.
-