This abstract class defines the common interface needed by dataView components (the View part of the Model-View-Controller architecture). More...
Public Member Functions | |
_.Library.Status | AcquireDataFromController () |
Server-side method used by dataView implementation classes to. More... | |
getController () | |
Get the dataController component associated with this dataView, if present. More... | |
sendEventToController (reason, data1, data2, data3) | |
If connected, send an event to a dataController. More... | |
setControllerId (id) | |
Set the controller id for this dataView and establish a connection. More... | |
Public Attributes | |
controller | |
Internal property. More... | |
controllerId | |
Optional. More... | |
onnotifyView | |
onnotifyView event handler: More... | |
This abstract class defines the common interface needed by dataView components (the View part of the Model-View-Controller architecture).
_.Library.Status AcquireDataFromController | ( | ) |
Server-side method used by dataView implementation classes to.
get values from the associated dataController, if present. This is typically called by components on the server before they are initially rendered in order to get initial data values.
getController | ( | ) |
sendEventToController | ( | reason, | |
data1, | |||
data2, | |||
data3 | |||
) |
If connected, send an event to a dataController.
This is used by dataView implementation classes. Possible values of reason include:
'propertyChange' - data1 is property name,data2 is the new value,data3 is the series number (if applicable).
setControllerId | ( | id | ) |
controller |
Internal property.
Used by server to hold a reference to the associated dataController object.
Used by client to hold a reference to the associated <class>ZEN.Auxiliary.dataController</class> object.
controllerId |
Optional.
The id of the <class>ZEN.Auxiliary.dataController</class> object that
provides data for this dataView component.
If provided, this must be the valid id of a <class>ZEN.Auxiliary.dataController</class> object.
onnotifyView |
onnotifyView event handler:
This event is fired when a dataController connected to this dataView raises an event.