Skip to content

TBaseMediator.ViewClass

Returns the minimum view class this mediator can handle

Declaration

Source position: fpobserver.pp line 123

public 
class function TBaseMediator.ViewClass : TClass;  virtual;

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.