Handling Data Analyzer viewer events
The Data Analyzer viewer triggers events to indicate changes in status. These events include notifications of data changes or errors. Use the registerEventHandler function found in XTabAnalyzer to handle events, as shown in the following code:
ctViewer.registerEventHandler(actuate.xtabanalyzer.EventConstants.ON_EXCEPTION,errorHandler);
This code registers the event handler errorHandler to be called when an ON_EXCEPTION event occurs.
The XTabAnalyzer class supports the following events:
*
*
*
*
To remove an event handler, call removeEventHandler( ).
ctViewer.removeEventHandler(actuate.xtabanalyzer.EventConstants.ON_EXCEPTION,errorHandler);
The actuate.xtabanalyzer.Exception class handles exceptions. For more information about events, see the section describing the actuate.xtabanalyzer.EventsConstants class.

Additional Links:

Copyright Actuate Corporation 2012