GLG Toolkit, JavaScript Library  Version 4.6
4. Listener and Callback Interfaces

Detailed Description

This group contains event listeners and various callback interfaces.

The notion of an interface is used in this documentation to describe various callback functions used by the Toolkit. Some interfaces are JavaScript objects with a predefined set of functions that match the interface's functions. This includes the following interfaces:

These interfaces provide a static method to create each interface. The method takes an interface function as a parameter and returns a newly created interface object.

Other interfaces use a callback function directly, without creating an interface object. For example, a custom label formatting function matching the type signature of the GlgLabelFormatter.GetString function is installed directly via SetLabelFormatter. The following interfaces use a callback functions directly:

The callback function installed to implement each interface must match the type signature of the interface's single function.

Classes

interface  GlgAlarmHandler
 Alarm handler. More...
 
interface  GlgCustomSetupHandler
 A custom setup handler used to implement custom object processing logic. More...
 
interface  GlgErrorHandler
 A custom error handler object. More...
 
interface  GlgGISRequestObserver
 GlgGISRequestObserver object is used by the program receive notifications about the progress of a GIS map request. More...
 
interface  GlgHandler
 Interface used to implement custom interaction handlers. More...
 
interface  GlgHierarchyListener
 A Hierarchy listener is used to get access to the drawing to be displayed in the SubWindow and SubDrawing objects before the drawing is displayed. More...
 
interface  GlgIHHandlerInterface
 Installable Interface Handler interface. More...
 
interface  GlgInputListener
 An Input listener is used to handle user interaction with input objects, as well as to perform object selection and action processing. More...
 
interface  GlgLabelFormatter
 Label formatter interface. More...
 
interface  GlgSelectListener
 A Select listener provides a simplified name-based interface to handle object selection. More...
 
interface  GlgTooltipFormatter
 Tooltip formatter interface. More...
 
interface  GlgTraceListener
 A Trace listener is used to handle native browser events. More...