Overview | Namespace | Classifier | Tree | Index | Help
PREV NEXT | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | DESTR | METHOD | DETAIL: FIELD | CONSTR | DESTR | METHOD

## Namespace: PureMVC.Patterns.Mediator
Class TMediator

    System.TInterfacedObject
      |
      +-- PureMVC.Patterns.Notifier.TNotifier
        |
        +-- PureMVC.Patterns.Mediator.TMediator

All Implemented Interfaces:
  IMediator , INotifier

public class TMediator ( TNotifier , IMediator , INotifier )

Abstract
  False

Sealed
  False

Persistent
  False

summary
  A default Mediator implementation based on PureMVCNotifyAttribute

Field Summary
`internal string` | `FMediatorName`
`internal TObject` | `FViewComponent`

Property Summary
`public string` | `MediatorName`
`public TObject` | `ViewComponent`

Constructor Summary
`Create(Name: string; AViewComponent: TObject)`
`Create(View: TObject)`

Method Summary
`public function string` | `GetMediatorName()`
`public function TObject` | `GetViewComponent()`
`public Sub` | `HandleNotification(Notification: PureMVC.Interfaces.INotification.INotification )`
`public function IList<string>` | `ListNotificationInterests()`
`public Sub` | `OnRegister()`
`public Sub` | `OnRemove()`
`public Sub` | `SetViewComponent(Value: TObject)`

Field Detail

### FMediatorName

    internal FMediatorName: string

Type
  string

Const
  False

Class
  False

### FViewComponent

    internal FViewComponent: TObject

Type
  TObject

Const
  False

Class
  False

Property Detail

### MediatorName

    public MediatorName: string

Type
  string

Access
  read

Class
  False

### ViewComponent

    public ViewComponent: TObject

Type
  TObject

Access
  read/write

Class
  False

Constructor Detail

### Create

    public constructor Create(Name: string; AViewComponent: TObject)

Abstract
  False

Reintroduce
  False

Virtual
  False

Override
  False

Final
  False

### Create

    public constructor Create(View: TObject)

Abstract
  False

Reintroduce
  False

Virtual
  False

Override
  False

Final
  False

Method Detail

### GetMediatorName

    public function GetMediatorName(): string

Abstract
  False

Reintroduce
  False

Final
  False

Returns
  string

Virtual
  False

Override
  False

Class
  False

### GetViewComponent

    public function GetViewComponent(): TObject

Abstract
  False

Reintroduce
  False

Final
  False

Returns
  TObject

Virtual
  False

Override
  False

Class
  False

### HandleNotification

    public procedure HandleNotification(Notification: PureMVC.Interfaces.INotification.INotification )

Abstract
  False

Reintroduce
  False

Final
  False

Virtual
  True

Override
  False

Class
  False

### ListNotificationInterests

    public function ListNotificationInterests(): IList<string>

Abstract
  False

Reintroduce
  False

Final
  False

Returns
  IList<string>

Virtual
  True

Override
  False

Class
  False

### OnRegister

    public procedure OnRegister()

Abstract
  False

Reintroduce
  False

Final
  False

Virtual
  True

Override
  False

Class
  False

### OnRemove

    public procedure OnRemove()

Abstract
  False

Reintroduce
  False

Final
  False

Virtual
  True

Override
  False

Class
  False

### SetViewComponent

    public procedure SetViewComponent(Value: TObject)

Abstract
  False

Reintroduce
  False

Final
  False

Virtual
  True

Override
  False

Class
  False

Implementation Link

to Interface IMediator

Client
  TMediator

Supplier
  IMediator

to Interface INotifier

Client
  TMediator

Supplier
  INotifier

Generalization Link

to Class TNotifier

Client
  TMediator

Supplier
  TNotifier

Overview | Namespace | Classifier | Tree | Index | Help
PREV NEXT | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | DESTR | METHOD | DETAIL: FIELD | CONSTR | DESTR | METHOD