This is documentation for Caché & Ensemble. See the InterSystems IRIS version of this content.

For information on migrating to InterSystems IRIS, see the InterSystems IRIS Migration Guide and Migrating to InterSystems IRIS, both available on the WRC Distributions page (login required).

%ZEN.Component.objectBrowser

class %ZEN.Component.objectBrowser extends %ZEN.Component.component

Displays the set of active components on a ZEN page within a simple tree.
This is used by ZEN Tools.

Property Inventory (Including Private)

Method Inventory (Including Private)

Properties

property onselect as %ZEN.Datatype.eventHandler;
onselect event handler: This event is fired when the user selects a component in the browser.
Property methods: onselectDisplayToLogical(), onselectGet(), onselectIsValid(), onselectLogicalToDisplay(), onselectLogicalToOdbc(), onselectNormalize(), onselectSet()
property rootObjectId as %ZEN.Datatype.string;
If defined, this is the id of top-most zen component to display within the object browser.
Property methods: rootObjectIdDisplayToLogical(), rootObjectIdGet(), rootObjectIdIsValid(), rootObjectIdLogicalToDisplay(), rootObjectIdLogicalToOdbc(), rootObjectIdNormalize(), rootObjectIdSet()
property sourcePage as %ZEN.Component.page;
If defined, this is the page object containing the objects we are browsing.
Property methods: sourcePageGet(), sourcePageGetSwizzled(), sourcePageIsValid(), sourcePageNewObject(), sourcePageSet()

Methods

method %DrawHTML()
Inherited description: Static HTML display method: draw the BODY of this component as HTML.
Subclasses implement this in order to render the static HTML contents of a component.
clientmethod getCurrObject() [ Language = javascript ]
Return current object.
clientmethod onCreate() [ Language = javascript ]
Initialize additional client-side variables
clientmethod renderBrowser() [ Language = javascript ]
Redraw contents of browser to match current set of client objects
clientmethod renderContents() [ Language = javascript ]
this client event is fired when the page is loaded.
clientmethod renderObject(obj, html, level) [ Language = javascript ]
Get HTML for one object in client object tree.
clientmethod selectObject(index) [ Language = javascript ]
Select the given object within the object browser.
clientmethod setCurrObject(obj) [ Language = javascript ]
Make given component the current browser selection.
clientmethod update() [ Language = javascript ]
Update the values displayed within the browser.

Inherited Members

Inherited Properties (Including Private)

Inherited Methods (Including Private)

Feedback