IEvents Interface

IEvents Interface

This Package | All Packages

public interface IEvents

The IEvents interface is a callback interface that is used in implementations of the getEvents() method of the IClassInfo interface. An implementation of IClassInfo.getEvents() is provided an instance of the IEvents interface and is responsible for calling the add() method to enumerate the events of the associated component class.

Methods
Name Description
add(EventInfo e) Defines an event.
remove(EventInfo e) Removes an event.

Methods

IEvents.add

Syntax
public void add( EventInfo e );
Description

Defines an event.

IEvents.remove

Syntax
public void remove( EventInfo e );
Description

Removes an event.