IEvent<T> Interface

Represents a multicast event.

Namespace: Spring
type
 IEvent<T> = interface(IEvent)
 end;

Type Parameters

T
The event handler type must be an instance procedural type such as TNotifyEvent.

The IEvent<T> type exposes the following members.

Show:
 NameDescription
CanInvoke

Returns True when the event will do anything because it is Enabled and contains any event handler. Otherwise returns False. (Inherited from IEvent.)

Enabled

Gets the value indicates whether the multicast event is enabled, or sets the value to enable or disable the event. (Inherited from IEvent.)

Invoke

Invokes all event handlers.

OnChanged

Represents property OnChanged. (Inherited from IEvent.)

Top
Show:
 NameDescription
Add(T)

Adds an event handler to the list.

Clear

Clears all event handlers. (Inherited from IEvent.)

GetCanInvoke

Represents method GetCanInvoke. (Inherited from IEvent.)

GetEnabled

Represents method GetEnabled. (Inherited from IEvent.)

GetInvoke

Represents method GetInvoke.

GetOnChanged

Represents method GetOnChanged. (Inherited from IEvent.)

Remove(T)

Removes an event handler if it was added to the event.

RemoveAll(Pointer)

Removes all event handlers which were registered by an instance. (Inherited from IEvent.)

SetEnabled(Boolean)

Represents method SetEnabled(Boolean). (Inherited from IEvent.)

SetOnChanged(TNotifyEvent)

Represents method SetOnChanged(TNotifyEvent). (Inherited from IEvent.)

Top