public final class FXBrowsers extends Object
WebViews.
This class is for those who want to instantiate their own WebView
and configure it manually. In case such detailed control is not necessary,
consider using BrowserBuilder.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.