Unit 'fpobserver' Package
[Overview][Types][Classes][Procedures and functions][Index] [#fcl]

TMediatorDef.Handles

Determines if this definition can handle the given subject/GUI combination

Declaration

Source position: fpobserver.pp line 345

public function TMediatorDef.Handles(

  ASubject: TObject;

  AGui: TComponent;

  APropInfo: PPropInfo

):Boolean;

Arguments

ASubject

  

Subject object to check compatibility for

AGui

  

GUI component to check compatibility for

APropInfo

  

Property information for property-specific mediators

Function result

True if this definition handles the parameters

Description

The Handles method evaluates whether this mediator definition can handle the specified combination of subject object, GUI component, and property information. It checks class compatibility and property requirements.

This method is used by the mediator manager during the selection process to filter potentially suitable mediators.

See also

TMediatorDef.BetterMatch

  

Compares this definition against another for best match selection


Documentation generated on: Dec 15 2025