public static interface Fn.FromJavaScript
Fn.Presenters 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 © 2019 The Apache Software Foundation. All rights reserved.