class SwingUI

Description:

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

See usage example below.

Constructor

constructor

NOTE: Do not instantiate this class. It's already instantiated and assigned to a global variable ui.

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://swing-ui.com/");

Also See: