Sign in Join
FPDoc Onlineexperiment

TListItemMediator class

In unit fpObserver

Mediator for individual items within list mediators

Declaration

pascal
TListItemMediator = class(TObject)

Inheritance

  1. TListItemMediator
  2. TObject

Descends from it: TColumnsListItemMediator

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

Properties

SubjectpublicIndividual object being mediated by this item mediator
ActivepublicIndicates if the parent list mediator is active

Methods

SetSubjectprotected
FPOObservedChangedprotected
ObjectToViewprotected
ViewToObjectprotected
DestroypublicDestroys the list item mediator and detaches from subject
MaybeObjectToViewpublicConditionally updates view with data from subject

Events

OnBeforeSetupFieldpublicEvent for formatting field values before display

Inherited

From TObject (41)

AfterConstruction BeforeDestruction CheckDisposed ClassInfo ClassName ClassNameIs ClassParent ClassType CleanupInstance Create DefaultHandler DefaultHandlerStr Dispatch DispatchStr Disposed DisposeOf Equals FieldAddress Free FreeInstance GetDisposed GetHashCode GetInterface GetInterfaceByStr GetInterfaceEntry GetInterfaceEntryByStr GetInterfaceTable GetInterfaceWeak GetLastCastErrorInfo InheritsFrom InitInstance InstanceSize MethodAddress MethodName newinstance QualifiedClassName SafeCallException StringMessageTable SystemHasExtendedRTTI ToString UnitName

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.