Sign in Join
FPDoc Onlineexperiment

TBaseMediator.ViewClass function

Member of TBaseMediatorpublicIn unit fpObserver

Returns the minimum view class this mediator can handle

Declaration

pascal
class function ViewClass: TClass; virtual

Function result

Minimum view class type

Description

The ViewClass class method returns the base class that view objects must inherit from to be compatible with this mediator. Descendant mediators override this to specify more specific view class requirements.

The default implementation returns TObject, indicating that any object can serve as a view.

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