Class JavascriptInvokeBackground
- java.lang.Object
- 
- com.inductiveautomation.perspective.designer.workspace.JavascriptInvokeBackground
 
- 
- All Implemented Interfaces:
- java.util.function.Supplier<JxValue>
 
 public class JavascriptInvokeBackground extends java.lang.Object implements java.util.function.Supplier<JxValue> Helper class that invokes methods in the javascript side of the designer safely on a background thread, turning the results into a CompletableFuture
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classJavascriptInvokeBackground.MissingFrameException
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description JxValueget()static java.util.concurrent.CompletableFuture<JxValue>invoke(com.teamdev.jxbrowser.browser.Browser browser, java.lang.String objectPath, java.lang.String methodName, java.lang.Object... args)static java.util.concurrent.CompletableFuture<JxValue>invoke(com.teamdev.jxbrowser.js.JsObject jsObject, java.lang.String methodName, java.lang.Object... args)
 
- 
- 
- 
Method Detail- 
invokepublic static java.util.concurrent.CompletableFuture<JxValue> invoke(@Nonnull com.teamdev.jxbrowser.browser.Browser browser, @Nonnull java.lang.String objectPath, @Nonnull java.lang.String methodName, @Nullable java.lang.Object... args) 
 - 
invokepublic static java.util.concurrent.CompletableFuture<JxValue> invoke(@Nonnull com.teamdev.jxbrowser.js.JsObject jsObject, java.lang.String methodName, java.lang.Object... args) 
 
- 
 
-