Package-level declarations
Types
A wrapper for coping and pasting text. Within a JVM, it uses AWT's Clipboard class. Within a Browser, it uses window.navigator.clipboard
.
This interface was first designed to work in a JVM context, where it was possible to monitor the state of the clipboard. This isn't possible within a Javascript application, therefore containsText always returns true. This means that application's Edit
menus will never have disabled items for Paste
(even when the clipboard contains no text).
Exposes the system clipboard for copy/paste operations.
Logs messages to the console. This is stderr on the jvm, and console.log for JS
Logs messages to the console.
Logs messages to the console.
An in-memory log, split into two parts, so that when the maximum entries are exceeded, the start and end of the log are preserved, and the middle is discarded.
Functions
Loads GlokSettings using Java's Preferences. The default node is given by preferences, which is common to all Glok
applications.
It is recommended that your application loads and saves GlokSettings via load and save using this Preferences node. This allows the user to choose the settings ONCE, and they will work across all Glok
applications.
Saves GlokSettings using Java's Preferences. The default node is given by preferences, which is common to all Glok
applications.