DocBook|Search
Class Reference
%ZEN.Component.dataView
   
Server:basexml
Instance:SOAXML
User:UnknownUser
 
-
  [BASEXML] >  [%ZEN] >  [Component] >  [dataView]
Private  Storage  

abstract class %ZEN.Component.dataView

This abstract class defines the common interface needed by dataView components (the View part of the Model-View-Controller architecture).

Inventory

Parameters Properties Methods Queries Indices ForeignKeys Triggers
4 7


Summary

Properties
%controller controller controllerId onnotifyView

Methods
getController sendEventToController setControllerId

Subclasses
%DeepSee.Component.Portlet.abstractPortlet %DeepSee.Component.chartLegend %DeepSee.Component.mapView
%ZEN.Auxiliary.jsonArrayProvider %ZEN.Component.dynaGrid %ZEN.Component.form
%ZEN.SVGComponent.chart %ZEN.SVGComponent.meter

Properties

• property %controller as %ZEN.Auxiliary.dataController(XMLPROJECTION="none");
Internal property.
Used by server to hold a reference to the associated dataController object.
• property controller as %ZEN.Datatype.string(XMLPROJECTION="none",ZENSETTING=0);
Internal property.
Used by client to hold a reference to the associated %ZEN.Auxiliary.dataController object.
• property controllerId as %ZEN.Datatype.id(COMPONENTTYPE="dataController");
Optional. The id of the %ZEN.Auxiliary.dataController object that provides data for this dataView component.
If provided, this must be the valid id of a %ZEN.Auxiliary.dataController object.
• property onnotifyView as %ZEN.Datatype.eventHandler;
onnotifyView event handler: This event is fired when a dataController connected to this dataView raises an event.

Methods

• method getController() [ Language = javascript ]
Get the dataController component associated with this dataView, if present. Returns null if no there is no controller. This is used by dataView implementation classes.
• method sendEventToController(reason, data1, data2, data3) [ Language = javascript ]
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).
• method setControllerId(id) [ Language = javascript ]
Set the controller id for this dataView and establish a connection to the new controller. This is used by dataView implementation classes.