getComponentFromEvent

Availability

This routine is available starting with Power Scripts 4.0.0 (server).

Syntax

getComponentFromEvent()

Description

Retrieves a structure containing information about a component that has been created, merged, or deleted.

Return value

A JComponent value containing the component data.

Example

logPrint("INFO", "Result of listener: " + getComponentFromEvent());

The result is a structure containing the component id, the name of the component, its description and the component lead. 

See also