Package | org.puremvc.as3.interfaces |
Interface | public interface IProxy |
Implementors | Proxy |
In PureMVC, IProxy
implementors assume these responsibilities:
Additionally, IProxy
s typically:
INotifications
when their model data changes.public static const
called NAME
, if they are not instantiated multiple times.Method | Defined by | ||
---|---|---|---|
getData():Object
Get the data object
| IProxy | ||
getProxyName():String
Get the Proxy name
| IProxy | ||
onRegister():void
Called by the Model when the Proxy is registered
| IProxy | ||
onRemove():void
Called by the Model when the Proxy is removed
| IProxy | ||
setData(data:Object):void
Set the data object
| IProxy |
getData | () | method |
public function getData():Object
Get the data object
ReturnsObject — the data as type Object
|
getProxyName | () | method |
public function getProxyName():String
Get the Proxy name
ReturnsString — the Proxy instance name
|
onRegister | () | method |
public function onRegister():void
Called by the Model when the Proxy is registered
onRemove | () | method |
public function onRemove():void
Called by the Model when the Proxy is removed
setData | () | method |
public function setData(data:Object):void
Set the data object
Parametersdata:Object — the data object
|