class %ZEN.Component.objectBrowser
extends component
Displays the set of active components on a ZEN page within
a simple tree.
This is used by ZEN Tools.
property onselect
as %ZEN.Datatype.eventHandler;
onselect event handler:
This event is fired when the user selects a component in the browser.
property rootObjectId
as %ZEN.Datatype.string;
If defined, this is the id of top-most zen component to display
within the object browser.
property sourcePage
as %ZEN.Component.page;
If defined, this is the page object containing the objects
we are browsing.
method %DrawHTML()
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.
method getCurrObject()
[ Language = javascript ]
Return current object.
method onCreate()
[ Language = javascript ]
Initialize additional client-side variables
method renderBrowser()
[ Language = javascript ]
Redraw contents of browser to match current set of client objects
method renderContents()
[ Language = javascript ]
this client event is fired when the page is loaded.
method renderObject(obj, html, level)
[ Language = javascript ]
Get HTML for one object in client object tree.
method selectObject(index)
[ Language = javascript ]
Select the given object within the object browser.
method setCurrObject(obj)
[ Language = javascript ]
Make given component the current browser selection.
method update()
[ Language = javascript ]
Update the values displayed within the browser.