Skip to content

TMediatorFieldInfoList

Collection of field information for columnar list displays

Declaration

Source position: fpobserver.pp line 281

type

  TMediatorFieldInfoList = class(TCollection)
  public
    function AddFieldInfo : TMediatorFieldInfo; overload;
    function AddFieldInfo(const APropName: string; AFieldWidth: Integer)
                      : TMediatorFieldInfo; overload;
    function AddFieldInfo(const APropName: string; const ACaption: string; 
                     AFieldWidth: Integer) : TMediatorFieldInfo; overload;
    function AddFieldInfo(const APropName: string; const ACaption: string; 
                     AFieldWidth: Integer; AAlignment: TAlignment)
                      : TMediatorFieldInfo; overload;
    property FieldInfo[Index : Integer]: TMediatorFieldInfo; {rw}
    property AsString: string; {r}
  end;

Description

The TMediatorFieldInfoList class manages a collection of TMediatorFieldInfo objects, providing methods for adding field configurations and accessing them by index.

The collection supports string-based batch configuration and provides notification to parent mediators when field configurations change.

Properties

Member Visibility Description
AsString read only public String representation of all field configurations
FieldInfo public Indexed access to field information items
See all Properties

Methods

Member Visibility Description
AddFieldInfo public Adds a new field information item to the collection
See all Methods

See also

Name Description
TMediatorFieldInfo Describes a column in columnar list display mediators