EventInfo.addEventHandler

Overview | Methods | This Package | All Packages

EventInfo.addEventHandler

Adds a delegate to a component.

Syntax

public void addEventHandler( Object component, Delegate value )

Parameters

component

The component on which the delegate will receive events.

value

A com.ms.lang.Delegate object that encapsulates the handling method and object.

Remarks

This method invokes the component's addOn<EventName> method to add the specified delegate.

See Also   removeEventHandler