class SwingUI

Description:

Main SwingUI class that handles all communication between JavaScript and GUI.
It also contains utility methods not related to specific GUI components.
NOTE: Do not instantiate this class, but instead use ui global variable, which is an instance of this class.

See usage example below.

Members

Methods

From this class:

Examples:

Usage examples:

const data = ui.clipboard(); // getting clipboard data
const _screens = ui.screens; // getting screens information array
ui.openURL("http://google.com/");

Also See: