GLG Toolkit, Java Class Library  Version 4.5

A custom setup handler used to implement custom object processing logic. More...

Detailed Description

A custom setup handler used to implement custom object processing logic.

A custom setup handler can be installed via SetCustomSetupHandler.

See ProcessObject for details of object processing.

Public Member Functions

void ProcessObject (GlgObject object, int type)
 This method implements custom object processing logic and is invoked for objects tagged using the CustomSetup flag in the GLG drawing. More...
 

Member Function Documentation

◆ ProcessObject()

void ProcessObject ( GlgObject  object,
int  type 
)

This method implements custom object processing logic and is invoked for objects tagged using the CustomSetup flag in the GLG drawing.

The custom setup may be used to automate object data tags assignment based on the object ID, or to attach Input and Trace callbacks to objects representing custom widgets that handle user interaction.

The DEMOS_HTML/SCADAViewer directory of the GLG installation contains an elaborate example of an application framework that uses a custom setup handler to process special custom widgets.

Parameters
objectA tagged object to be processed.
typeIndicates when the method is invoked: