A container for content selected in the viewer. SelectedContent provides an object to pass to a handler when the user-defined ON_CONTENT_SELECTED event occurs. This object contains an instance of the element selected in the viewer.Table 4-53 lists actuate.viewer.SelectedContent functions.
Table 4-53 Returns the currently selected table column index number Returns the numerical index for the currently selected column. Returns null when the user selects a non-table element.Returns an instance of the currently selected element. The instance can be one of the following objects:To determine the object type, use the Object.getType( ) function. The type strings for the above objects are "Chart", "Data", "Label", "Table", or "Text", respectively.if (selected.getType( ) == "Label"){
|
|
Copyright Actuate Corporation 2012 |