Package-level declarations

This package provides classes that allow you to work with the JavaScript to Java bridge.

This package provides classes that allow you to work with the JavaScript to Java bridge.

Types

Link copied to clipboard
public interface ConsoleMessage
public interface ConsoleMessage
A JavaScript console message.
Link copied to clipboard
This annotation allows exposing methods and fields of an injected Java object to JavaScript.
Link copied to clipboard
public final class JsAccessibleTypes
public final class JsAccessibleTypes
A registry of types that are accessible from JavaScript.
Link copied to clipboard
public interface JsArray implements JsObject
public interface JsArray implements JsObject
A JavaScript array.
Link copied to clipboard
public interface JsArrayBuffer implements JsObject
public interface JsArrayBuffer implements JsObject
A JavaScript array buffer.
Link copied to clipboard
public final class JsException extends RuntimeException
public final class JsException extends RuntimeException
Thrown when an exception is raised in JavaScript.
Link copied to clipboard
public interface JsFunction implements JsObject
public interface JsFunction implements JsObject
Represents a JavaScript function that can be passed between Java and JavaScript as a method argument or a return value.
Link copied to clipboard
public interface JsFunctionCallback
public interface JsFunctionCallback
Represents a Java function that can be invoked from JavaScript.
Link copied to clipboard
public interface JsMap implements JsObject
public interface JsMap implements JsObject
A JavaScript map.
Link copied to clipboard
public interface JsObject
public interface JsObject
A JavaScript object.
Link copied to clipboard
public interface Json
public interface Json
A helper class that allows converting JavaScript objects into a JSON string and creating JavaScript objects from a JSON string.
Link copied to clipboard
public interface JsPromise implements JsObject, Closeable
public interface JsPromise implements JsObject, Closeable
A JavaScript Promise.
Link copied to clipboard
public interface JsPromiseHandler implements JsFunctionCallback
public interface JsPromiseHandler implements JsFunctionCallback
A JsFunctionCallback that is used as a JavaScript Promise handler.
Link copied to clipboard
public interface JsSet implements JsObject
public interface JsSet implements JsObject
A JavaScript set.
Link copied to clipboard
public final class NotSupportedTypeException extends RuntimeException
public final class NotSupportedTypeException extends RuntimeException
Thrown by JsAccessibleTypes methods to indicate that the type (an instance of Class) is an enum or an annotation.
Link copied to clipboard
public final class TypeNotPublicException extends RuntimeException
public final class TypeNotPublicException extends RuntimeException
Thrown by JsAccessibleTypes methods to indicate that the type is not public.