public final class FXBrowsers extends Object
WebViews.public static void load(javafx.scene.web.WebView webView,
URL url,
Class<?> onPageLoad,
String methodName,
String... args)
JavaScriptBody and co.)
in the provided webView. This method returns
immediately. Once the support is active, it calls back specified
method in onPageLoad class - the class can possibly be
loaded by a different classloader (to enable replacement of
methods with JavaScriptBody annotations with executable
versions). The method methodName needs to be public
(in a public class), static and take either no parameters
or an array of Strings.webView - the instance of Web View to tweakurl - the URL of the HTML page to load into the viewonPageLoad - callback class with method methodNamemethodName - the method to call when the page is loadedargs - arguments to pass to the methodName methodCopyright © 2014 NetBeans. All Rights Reserved.