Class actuate.report.FlashObject
Description
A container for a flash object in a report. FlashObject provides functions to operate on a flash object, such as retrieving content and getting the HTML DOM element from the report flash element.
Constructor
The FlashObject object is constructed by viewer.PageContent.getFlashObjectByBookmark( ).
Function summary
Table 4-27 lists actuate.report.FlashObject functions.
Table 4-27 actuate.report.FlashObject functions getType( ) hide( ) show( ) submit( )actuate.report.FlashObject.clearFilters
Syntax
Clears the filters of a given column.
Parameters
String. The name of the column from which to clear the filters.
Example
This example clears existing filters from the PRODUCTLINE column.
actuate.report.FlashObject.getBookmark
Syntax
Returns the bookmark of this FlashObject element.
Returns
Example
This example displays the Flash object’s bookmark in an alert box.
actuate.report.FlashObject.getHtmlDom
Syntax
Returns the HTML element for this FlashObject.
Returns
Example
This example displays the HTML DOM element for this data item inside a red border.
actuate.report.FlashObject.getPageContent
Syntax
Returns the page content to which this FlashObject belongs.
Returns
actuate.viewer.PageContent. report content.
Example
This example displays the viewer ID of the page content in an alert box.
actuate.report.FlashObject.getType
Syntax
Returns the report element type of this object, which is FlashObject.
Returns
Example
This example checks the report element type and displays an alert if the type is not "FlashObject".
if (myFlashObject.getType( ) != "FlashObject"){actuate.report.FlashObject.hide
Syntax
Example
Use hide( ) to hide flash object, as shown in the following code:
actuate.report.FlashObject.setFilters
Syntax
Parameters
An array of actuate.data.Filter objects. The filter conditions to apply to this chart element.
Example
This example applies a filter to the Flash object.
actuate.report.FlashObject.show
Syntax
Example
Use show( ) to reveal a hidden flash object, as shown in the following code:
actuate.report.FlashObject.submit
Syntax
Submits all the asynchronous operations for this FlashObject. Submit( ) triggers an AJAX request for all asynchronous operations. When the server finishes the processing, it returns a response and the results are rendered on the page in the FlashObject container.
Parameters
Function. The function to execute after the asynchronous call processing is done.
Example
This example clears existing filters from the PRODUCTLINE column and pops up an alert box.
(c) Copyright Actuate Corporation 2011 |
![]() |