| Package | org.puremvc.as3.interfaces |
| Interface | public interface IProxy |
| Implementors | Proxy |
In PureMVC, IProxy implementors assume these responsibilities:
Additionally, IProxys 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():ObjectGet the data object
ReturnsObject — the data as type Object
|
| getProxyName | () | method |
public function getProxyName():StringGet the Proxy name
ReturnsString — the Proxy instance name
|
| onRegister | () | method |
public function onRegister():voidCalled by the Model when the Proxy is registered
| onRemove | () | method |
public function onRemove():voidCalled by the Model when the Proxy is removed
| setData | () | method |
public function setData(data:Object):voidSet the data object
Parametersdata:Object — the data object
|