%ZEN.StudioDocument.ZENPageEditor
Class %ZEN.StudioDocument.ZENPageEditor Extends %ZEN.StudioDocument.AbstractEditor [ Deprecated, System = 4 ]
Editor logic for a Zen Page Studio Document.
Parameters
DOMAIN
Parameter DOMAIN = "%ZEN";
XDatas
Style
XData Style
Contents
XData Contents [ XMLNamespace = "http://www.intersystems.com/zen" ]
Contents of application editor page;
Methods
DrawHTMLContent
Method DrawHTMLContent(seed As %ZEN.Datatype.string) As %Status
DrawHTMLContent
%OnAfterCreatePage
Method %OnAfterCreatePage() As %Status
This callback is called after the server-side page object and all of its children are created.
Subclasses can override this to add, remove, or modify items within the page object model, or to provide values for controls.
getTargetPage
ClientMethod getTargetPage() [ Language = javascript ]
Return the target page loaded within this editor.
selectComponent
ClientMethod selectComponent(page, obj, evt) [ Language = javascript ]
User has selected a component in the editor pane.
updateInspector
ClientMethod updateInspector() [ Language = javascript ]
Update the inspector with details on the selected component.
getComponentXML
ClientMethod getComponentXML(obj) [ Language = javascript ]
onSetProperty
ClientMethod onSetProperty(prop, value) [ Language = javascript ]
User has changed a property value within the Inspector.
onSetDocument
ClientMethod onSetDocument(state) [ Language = javascript ]
onStartEditor
ClientMethod onStartEditor() [ Language = javascript ]
This client event, if present, is fired when editor is loaded.
onCreate
ClientMethod onCreate() [ Language = javascript ]
This client event, if present, is called when this component is instantiated. This allows for any additional client-side initialization for this object.
Note that this must be a client-side method.