Flex3/PureMVC/patterns/facade

Last-modified: 2010-08-15 (日) 23:53:02

facadeパッケージ

Facadeパターン(Wikipedia)を実装するクラス群を持つ。Facadeクラスのみを持つ。

Facadeクラス

coreパッケージの各クラスに対するFacadeにあたるクラス。各メソッドは基本的に,下記表の対応するメソッドを呼び出すのみ。

#メソッド対応するメソッド備考
1registerCommandController#registerCommand
2removeCommandController#removeCommand
3hasCommandController#hasCommand
4registerProxyModel#registerProxy
5retrieveProxyModel#retrieveProxy
6removeProxyModel#removeProxy
7hasProxyModel#hasProxy
8registerMediatorView#registerMediator
9retrieveMediatorView#retrieveMediator
10removeMediatorView#removeMediator
11hasMediatorView#hasMediator
12sendNotificationView#notifyObservers引数にNotificationの内容を渡す。
13notifyObservers引数にNotificationインスタンスを渡す。