webimage-preview
API reference for webimage-preview.
Packages
org.graalvm.webimage.api11 types
This package provides an interface between Java code and the embedding JavaScript code.
public @interface JSReplaces the body of a Java method with JavaScript code.
public @interface .CodeA snippet of JavaScript code that must be included in the image.
public @interface .CoerceWhen this annotation is used together with the
JSannotation, the arguments and return values of the respective method undergo implicit Java-to-JavaScript and JavaScript-to-Java conversions.public @interface .ExportDenotes that the annotated Java class should be exported from the VM class.
public @interface .ImportDenotes that the annotated class represents a JavaScript class from the global scope.
public final class JSBigIntJava representation of a JavaScript
BigIntvalue.public final class JSBooleanJava representation of a JavaScript
Booleanvalue.public final class JSNumberJava representation of a JavaScript
Numbervalue.public class JSObjectA
JSObjectis a Java-side wrapper for JavaScript objects.public @interface JSResourceNo description.
public @interface .GroupNo description.
public final class JSStringJava representation of a JavaScript
Stringvalue.public final class JSSymbolJava representation of a JavaScript
Symbolvalue.public final class JSUndefinedJava representation of the JavaScript
undefinedvalue.public abstract class JSValueJava representation of a JavaScript value.
public final class ThrownFromJavaScriptRepresents the error value thrown in JavaScript.