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

TListItemMediator

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

Mediator for individual items within list mediators

Declaration

Source position: fpobserver.pp line 173

type TListItemMediator = class(TObject,IFPObserver)

public

  destructor Destroy; override;

  

Destroys the list item mediator and detaches from subject

  procedure MaybeObjectToView;

  

Conditionally updates view with data from subject

  property OnBeforeSetupField: TOnBeforeSetupField; [rw]

  

Event for formatting field values before display

  property Subject: TObject; [rw]

  

Individual object being mediated by this item mediator

  property Active: Boolean; [r]

  

Indicates if the parent list mediator is active

end;

Inheritance

TListItemMediator

  

Mediator for individual items within list mediators

|

TObject,IFPObserver

Description

The TListItemMediator class handles individual objects within list mediators. Each item in a list gets its own item mediator that manages the observer relationship and data synchronization for that specific object.

Item mediators are created and managed automatically by their parent list mediator and coordinate with it for activation state and field formatting events.

See also

TBaseListMediator

  

Base mediator for handling lists of observable objects


Documentation generated on: Dec 15 2025