GLG Toolkit, JavaScript Library  Version 4.6
GlgToolkit Namespace Reference

Classes

interface  GlgAlarmHandler
 Alarm handler. More...
 
class  GlgCallEvent
 User interface event data. More...
 
class  GlgCube
 Defines a rectangular parallelepiped in 3D space (usually an object's bounding box) by its two diagonal points. More...
 
interface  GlgCustomSetupHandler
 A custom setup handler used to implement custom object processing logic. More...
 
class  GlgDataSample
 Data sample object that holds data for one point of a chart. More...
 
interface  GlgDataSampleNode
 An object containing a chart data sample and its associated list node. More...
 
class  GlgDouble
 Mutable double object. More...
 
interface  GlgErrorHandler
 A custom error handler object. More...
 
class  GlgGISRequestData
 
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...
 
class  GlgHierarchyData
 The object used to pass information to GlgHierarchyListener. 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...
 
class  GlgIHCallEvent
 A user interface event object received by installable interface handlers. 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...
 
class  GlgInteger
 Mutable integer object. More...
 
interface  GlgLabelFormatter
 Label formatter interface. More...
 
class  GlgMatrixData
 Contains matrix data used by GetMatrixData and SetMatrixData. More...
 
class  GlgMinMax
 Contains data extent information returned by GetChartDataExtent. More...
 
class  GlgObject
 An abstract superclass of all GLG objects. More...
 
class  GlgPoint
 Defines an XYZ point in 3D space or an RGB color. More...
 
interface  GlgSelectListener
 A Select listener provides a simplified name-based interface to handle object selection. More...
 
interface  GlgTemplateLoadListener
 GlgTemplateLoadListener is an object used by the GlgObject::AddGlobalListener method to attach listeners for handling TemplateLoad events generated by subwindows and subdrawings when their templates are loaded. More...
 
interface  GlgTooltipFormatter
 Tooltip formatter interface. More...
 
class  GlgTraceData
 This object is used to pass information to TraceCallback. More...
 
interface  GlgTraceListener
 A Trace listener is used to handle native browser events. More...
 

Functions

Object GlgToolkit ()
 GLG Toolkit constructor. More...
 

Variables

const double COORD_MAPPING_ADJ = 0.5
 Coordinate adjustement constant used to map the pixel index to the center of the pixel (i.e pixel #5 is mapped to coord=5.5). More...
 
const double EQUATOR_RADIUS = 6378136.0
 Equator radius in meters. More...
 
const double GIS_OUTSIDE_VALUE = -2000.0
 A negative value for Z coordinates of converted points outside of the visible part of the globe in the GIS orthographic projection. More...
 
static GlgObject IH_CURR
 ID of the current installable interface handler. More...
 
static GlgObject IH_GLOBAL
 ID of the global data cache of the installable interface handlers. More...
 
static GlgObject IH_NEW
 ID of the last installed installable interface handler. More...
 
const int MAJOR_VERSION = 4
 Major version number. More...
 
const int MINOR_VERSION = 6
 Minor version number. More...
 
const double POLAR_RADIUS = 6356752.0
 Polar radius in meters. More...
 

Enumerations

enum class  GlgAccessType
 Container access type. More...
 
enum class  GlgActionType
 Specifies an action type. More...
 
enum class  GlgAnchoringType
 Specifies anchoring type binary flags. More...
 
enum class  GlgAnnotationType
 Specifies a type of a chart's annotation. More...
 
enum class  GlgAntiAliasingType
 Specifies anti-aliasing type. More...
 
enum class  GlgArcAngleDefType
 Specifies the way the arc's start and end angles are used. More...
 
enum class  GlgArcFillType
 Specifies arc fill type. More...
 
enum class  GlgArmedStateType
 Choices of the armed_state parameter of the GetAction method that controls selection of the returned action object. More...
 
enum class  GlgArrowFillTypeFlags
 Arrow fill type constants. More...
 
enum class  GlgArrowPositionFlags
 Arrow position constants. More...
 
enum class  GlgArrowPositionTypeMask
 Arrow position and fill type masks. More...
 
enum class  GlgArrowType
 Specifies arrow type. More...
 
enum class  GlgAxisDirection
 Axis position and direction options. More...
 
enum class  GlgAxisDirectionMask
 Axis direction masks. More...
 
enum class  GlgAxisOutlineFlags
 Binary flags used to form GlgAxisOutlineType elements by combining them via bitwise OR. More...
 
enum class  GlgAxisOutlineType
 Axis outline type constants. More...
 
enum class  GlgAxisType
 Specifies axis type. More...
 
enum class  GlgBoolConversionType
 Specifies conversion type for parameters of the boolean transformation. More...
 
enum class  GlgBoolXformType
 Specifies the operation to be performed by the boolean transformation. More...
 
enum class  GlgBoundType
 Controls binding of a data object. More...
 
enum class  GlgCallbackType
 Specifies callback type. More...
 
enum class  GlgCallEventType
 Specifies the call event type for custom interaction handlers and installable interface handlers. More...
 
enum class  GlgChartAutoScale
 Specifies a type of a chart's autoscaling. More...
 
enum class  GlgChartCacheUse
 Controls the use of a per-plot chart cache. More...
 
enum class  GlgChartElemDrawOrder
 Controls drawing order of the chart's elements, may be combined with bitwise OR. More...
 
enum class  GlgChartState
 Flags for updating chart state, may be combined with bitwise OR. More...
 
enum class  GlgChartTooltipMode
 Specifies the interaction mode for the chart tooltip. More...
 
enum class  GlgCloneType
 Specifies clone type. More...
 
enum class  GlgCompareXformType
 Specifies the comparison operator of the compare transformation. More...
 
enum class  GlgCompatibilityMode
 Specifies compatibility mode. More...
 
enum class  GlgComponentQueryType
 Specifies a native component to return. More...
 
enum class  GlgConfigureMask
 Specifies window configuration masks that can be combined with bitwise OR. More...
 
enum class  GlgContainerType
 Specifies a type of objects to be held in a container object. More...
 
enum class  GlgControlPointType
 Specifies control point type. More...
 
enum class  GlgConvexType
 Specifies convex type of a polygon for OpenGL. More...
 
enum class  GlgCoordType
 Specifies coordinate types for transforming objects. More...
 
enum class  GlgCursorType
 Specifies a cursor type. More...
 
enum class  GlgCustomSetupType
 Indicates when the custom setup handler is invoked. More...
 
enum class  GlgDataType
 Data object types. More...
 
enum class  GlgDoubleBufferingType
 Specifies double buffering type. More...
 
enum class  GlgDoubleClickStateType
 Choices of the double_click_state parameter of the GetAction method that controls selection of the returned action object. More...
 
enum class  GlgDrawingCoordSystem
 Specifies the type of a drawing's coordinate system that defines the drawing's resize policy (CoordSystem attribute of the viewport screen). More...
 
enum class  GlgElementDrawType
 Controls existence and drawn order of the angular axis elements. More...
 
enum class  GlgEnableXY
 Specifies chart crosshair type. More...
 
enum class  GlgErrorType
 Specifies error message type for the Error method. More...
 
enum class  GlgEventType
 GLG event type constants. More...
 
enum class  GlgExtDataFlag
 Possible values of a plot's ExtendedData attribute. More...
 
enum class  GlgExtDataType
 Specifies type of information stored in the extended data sample. More...
 
enum class  GlgFillSpace
 Choices of filling extra space left by invisible elements in a square series. More...
 
enum class  GlgFillType
 Specifies polygon fill type binary flags that may be combined with bitwise OR operator. More...
 
enum class  GlgFrameType
 Specifies a frame object type. More...
 
enum class  GlgFunctionXformType
 Specifies the operation to be performed by the function transformation. More...
 
enum class  GlgGISRequestFlags
 GIS request flags that control which parameters of the GIS object will be updated by the request. More...
 
enum class  GlgGISRequestStatus
 GIS request status in request observer's RequestUpdate method. More...
 
enum class  GlgGlobalType
 Specifies global type of a data object that controls how it is cloned. More...
 
enum class  GlgGradientType
 Specifies gradient type. More...
 
enum class  GlgGridType
 Specifies chart grid type. More...
 
enum class  GlgHandleInvisible
 Choices of handling invisible cells by a square series. More...
 
enum class  GlgHierarchyCallbackType
 Indicates when the hierarchy callback is invoked. More...
 
enum class  GlgHistoryScrollType
 Specifies the scroll type of the History object. More...
 
enum class  GlgHTTPRequestResponseType
 GLG responce type constants. More...
 
enum class  GlgImageType
 Specifies image object type. More...
 
enum class  GlgKeepEditRatio
 Possible values of the KeepEditRatio attribute, used only by the GLG Editor when performing HierarchyDown. More...
 
enum class  GlgLabelType
 Provides a label type for a custom label formatter. More...
 
enum class  GlgLayoutType
 Specifies layout type. More...
 
enum class  GlgLegendLayoutType
 Specifies legend layout type. More...
 
enum class  GlgLevelDrawOrder
 Specifies a drawing order of a chart's Level Lines and Time Lines. More...
 
enum class  GlgLevelType
 Specifies a type of a chart's Level Line or a Time Line. More...
 
enum class  GlgLightType
 Specifies light type. More...
 
enum class  GlgLineAnchoringType
 Specifies line anchoring type for multi-line text objects. More...
 
enum class  GlgLineAttrType
 Specifies the type of a Line Attributes object. More...
 
enum class  GlgLineCap
 Specifies line cap style. More...
 
enum class  GlgLogLevel
 Specifies log level. More...
 
enum class  GlgMarkerType
 Specifies marker type binary flags that may be combined with bitwise OR. More...
 
enum class  GlgMBType
 Specifies the MB flag for fonts used in the C/C++ environment. More...
 
enum class  GlgMediumType
 Specifies the type of medium to load GLG object from. More...
 
enum class  GlgModifierType
 Modifier type. More...
 
enum class  GlgMoveMode
 Specifies the way an object is moved. More...
 
enum class  GlgNativeTooltipType
 Specifies the type of a tooltip to use. More...
 
enum class  GlgObjectCoordSystem
 Specifies types of an object's CoordFlag: the type of the coordinate system used to interpret point coordinates of an object. More...
 
enum class  GlgObjectMatchType
 Object matching criteria for the FindObjects method. More...
 
enum class  GlgObjectType
 GLG object types. More...
 
enum class  GlgOffsetXformMoveFlag
 Move Flag of the offset transformations. More...
 
enum class  GlgOpenType
 Specifies polygon open type. More...
 
enum class  GlgOrientationType
 Specifies orientation type. More...
 
enum class  GlgPanType
 Specifies the mode for a viewport's pan scrollbars. More...
 
enum class  GlgParallType
 Specifies parallelogram type. More...
 
enum class  GlgPathRotationType
 Specifies the rotation type of a path transformation. More...
 
enum class  GlgPlotType
 Specifies a type of a chart's plot. More...
 
enum class  GlgPolygonShadingType
 Specifies polygon shading type. More...
 
enum class  GlgPositionModifier
 Container position modifier. More...
 
enum class  GlgPositionType
 Container position type for the IsAt method. More...
 
enum class  GlgProcessArmedType
 Choices of the Action object's ProcessArmed attribute that controls processing of the Control key modifier. More...
 
enum class  GlgProcessDoubleClickType
 Choices of the Action object's ProcessArmed attribute that controls processing of the double-click. More...
 
enum class  GlgProcessMouseMask
 Specifies the type of the mouse events to be processed by a viewport. More...
 
enum class  GlgProjectionType
 Specifies map server GIS projection. More...
 
enum class  GlgReferenceType
 Specifies a type of a reference object. More...
 
enum class  GlgRole
 Specifies a role of an attribute object. More...
 
enum class  GlgSampleQueryType
 Data sample query type. More...
 
enum class  GlgScaleAdjustmentType
 Specifies scaling adjustment type for pixel offset and screen scaling transformations. More...
 
enum class  GlgScalingType
 Specifies scaling type for fixed size properties: text size, polygon line width, marker size, etc. More...
 
enum class  GlgScrollbarType
 Type of scrollbars to use for integrated panning. More...
 
enum class  GlgSelectionEventType
 Specifies the type of events returned by the CreateSelectionMessage method. More...
 
enum class  GlgSelectionType
 Specifies selection type. More...
 
enum class  GlgShellType
 Specifies viewport screen's shell type. More...
 
enum class  GlgSplineType
 Specifies spline type. More...
 
enum class  GlgStorageType
 Specifies template storage type of a reference object. More...
 
enum class  GlgStretchType
 Specifies stretch type of a viewport drawing. More...
 
enum class  GlgTabNavigationType
 Specifies the type of native components to traverse on a TAB press. More...
 
enum class  GlgTagAccessType
 Specifies tag access type. More...
 
enum class  GlgTagType
 Specifies tag type. More...
 
enum class  GlgTextDirection
 Specifies text direction. More...
 
enum class  GlgTextType
 Specifies text type. More...
 
enum class  GlgTimeConversionType
 Specifies time conversion type for the time format transformation. More...
 
enum class  GlgTriggerType
 Specifies a type of the mouse event that triggers an object's action. More...
 
enum class  GlgUnitsType
 Specifies the type of units that determine the size of the rounded corner of the Rounded object. More...
 
enum class  GlgValueType
 Provides value type for a custom label formatter. More...
 
enum class  GlgWaveformType
 Specifies timer transformation waveform type. More...
 
enum class  GlgWidgetType
 Specifies the native widget type used by the viewport screen object. More...
 
enum class  GlgXFontType
 Specifies the type of the X Windows font for the C/C++ environment. More...
 
enum class  GlgXformType
 Specifies transformation type. More...
 
enum class  GlgZoomMode
 Specifies zoom mode. More...
 
enum class  GlgZoomState
 Zoom state constants indicating the current Zoom operation in progress, if any. More...
 
enum class  GlgZSortType
 Specifies Z-sort type for hidden surface removal. More...
 
enum class  GlmLabelSelectionMode
 Specifies the label selection mode for a GIS object. More...
 

Function Documentation

◆ GlgToolkit()

Object GlgToolkit.GlgToolkit ( )

GLG Toolkit constructor.

Obtains a handle to the GlgTookit package via the following call:

    new GlgToolkit()

This method must be called at the application start to obtain a handle that is used to acess global methods of the GLG Toolkit (marked as "static" in this documentation).

Returns
GLG Toolkit handle.

Enumeration Type Documentation

◆ GlgHTTPRequestResponseType

GLG responce type constants.

Enumerator
GLG_DRAWING 

HTTP request response type.

TEXT 

HTTP request response type.

BLOB 

HTTP request response type.

JSON 

HTTP request response type.

INT8_ARRAY 

HTTP request response type.

UINT8_ARRAY 

HTTP request response type.

UINT8_CLAMPED_ARRAY 

HTTP request response type.

INT16_ARRAY 

HTTP request response type.

UINT16_ARRAY 

HTTP request response type.

INT32_ARRAY 

HTTP request response type.

UINT32_ARRAY 

HTTP request response type.

FLOAT32_ARRAY 

HTTP request response type.

FLOAT64_ARRAY 

HTTP request response type.