public static interface Fn.FromJavaScript
Fn.Presenter
s that
need to convert JavaScript object (usually array) to Java object
when calling back from JavaScript to Java.
Note: The implementation based on JavaFX
WebView
uses this interface to convert JavaScript arrays to
Java ones.
Modifier and Type | Method and Description |
---|---|
Object |
toJava(Object js)
Convert a JavaScript object into suitable Java representation
before a Java method is called with this object as an argument.
|
Copyright © 2018 NetBeans. All rights reserved.