Class Reference
%DeepSee.UI.Dialog.WidgetBuilder
Server:basexml
Instance:SOAXML
User:UnknownUser
 
-
  [BASEXML] >  [%DeepSee] >  [UI] >  [Dialog] >  [WidgetBuilder]
Private  Storage

class %DeepSee.UI.Dialog.WidgetBuilder extends %DeepSee.UI.Dialog.standardDialog

This dialog adds (or edits) a new item (such as a widget) to a DeepSee dashboard definition.

Inventory

Parameters Properties Methods Queries Indices ForeignKeys Triggers
1 21 51


Summary

This is a Zen Page class. 

Properties
%condition %import %includeFiles %page
%resource align aux backgroundTimerInterval
cellAlign cellSize cellStyle cellVAlign
children composite containerStyle controlDefs
cssLevel dashboardName dataLink dataPropertyDefs
dataSeriesDefs dataSource dialogTitle disabled
disabledStyle dragAndDrop dragEnabled drillDownDataSource
dropEnabled enclosingClass enclosingStyle error
groupClass groupStyle height hidden
hideApplyButton hint hintClass hintStyle
id index label labelClass
labelDisabledClass labelPosition labelStyle layout
localDataSource name onafterdrag onbeforedrag
onclick ondrag ondrop onhide
onrefresh onshow onupdate parent
previewName showLabel showPreview slice
title tuple useSVG useSoftModals
valign visible widgetDescription widgetKey
widgetKeywords widgetName widgetNames widgetOwner
widgetPropertyArray widgetResource widgetSubtype widgetTemplateName
widgetType width window zenPersistentPopup

Methods
%%OIDGet %AddChild %AddChildAfter %AddChildBefore
%AddComponent %AddImportedComponents %AddToSaveSet %ApplyURLParms
%Attr %BindExport %ClassIsLatestVersion %ClassName
%ConstructClone %DispatchClassMethod %DispatchGetModified %DispatchGetProperty
%DispatchMethod %DispatchSetModified %DispatchSetMultidimProperty %DispatchSetProperty
%DrawAutoLogout %DrawClassDefinitions %DrawComponentHTML %DrawHTML
%DrawHTMLPage %DrawJSStrings %DrawObjectDefinitions %DrawTitle
%EnclosingDivId %EndBackgroundMethod %EndScript %Eval
%Extends %ForceClientRender %GetChildIndex %GetComponent
%GetComponentById %GetComponentByName %GetEventHandlers %GetLinks
%GetPageName %GetParameter %GetValueById %GetValueByName
%GetXMLName %IsA %IsModified %Link
%LinkCSS %LinkScript %MakeId %New
%NormalizeObject %ObjectModified %OnAddToPageAfter %OnAddToPageBefore
%OnAfterCreatePage %OnBeforeCreatePage %OnCreateApplication %OnCreatePage
%OnDetermineCSSLevel %OnDrawEnclosingDiv %OnDrawHTMLBody %OnDrawHTMLHead
%OnDrawHTMLMeta %OnDrawObjectProperties %OnFinishBackgroundTask %OnGetSubtitle
%OnGetTitle %OnMonitorBackgroundTask %OnMutateChildren %OnObjectSynch
%OnPreHTTP %OnSubmit %OnUseSoftModals %OnZENDeserialize
%OriginalNamespace %PackageName %QuoteValue %QuoteValueL10N
%RemoveChild %RemoveChildren %RemoveComponent %RemoveFromSaveSet
%RunBackgroundMethod %Self %SerializeObject %SetBackgroundMethodStatus
%SetErrorById %SetErrorByName %SetModified %SetValueById
%SetValueByName %SetValuesByName %StartScript %ValidateObject
%ZENVersion AddWidgetToDashboard ConvertParameter CreateWidgetMenu
Decrypt DrawChartSeries DrawControlList DrawDataPropertyList
DrawWidgetIcon DrawWidgetProperties Encrypt EscapeHTML
EscapeURL GetDimensionInfo HyperEventBody HyperEventCall
HyperEventFrame HyperEventHead Include InsertHiddenField
InsertHiddenFields IsPrivate Link OnHTTPHeader
OnPage OnPageError OnPostHTTP OnPostHyperEvent
OnPreHTTP OnPreHyperEvent Page QuoteJS
RewriteURL SaveWidgetToCatalog ShowError StartTimer
StopTimer ThrowError UnescapeHTML UnescapeURL
XMLDTD XMLExport XMLExportToStream XMLExportToString
XMLNew XMLSchema XMLSchemaNamespace XMLSchemaType
addChild addChildAfter addChildBefore addControlDef
addDataPropertyDef addDataSeriesDef adjustSize browseDataSources
browseDrillDataSources btnApply btnOK cancelPopup
cbSelected childrenMutated chooseDataSource clearDataSource
clearDrillDataSource correctIELayering createComponent createComponentNS
createCopy ctrlKeyDown dashboardEventHandler dataSourceChange
deleteComponent dialogApply dialogCancel dialogFinish
dialogTitleGet disableButtons dragFinishHandler dragHandler
dragNotifyHandler dragStartHandler dropHandler dropStartHandler
editControlDef editDataPropertyDef editDataSeriesDef endModal
exposeComponent findElement fireOnLoadEvent fireOnResizeEvent
fireOnUnloadEvent fireOnUpdateEvent firePopupAction getChildIndex
getComponent getComponentById getDialogValue getEnclosingDiv
getHidden getHintElement getLabelElement getOpener
getProperty getSettings getType gotoPage
invokeSuper isOfType launchPopupWindow loadKPI
loadPivot loadWorksheet makeId moveControlDefDown
moveControlDefUp moveDataPropertyDefDown moveDataPropertyDefUp moveDataSeriesDefDown
moveDataSeriesDefUp onCreate onDelete onDisplayHandler
onEndModalHandler onPopupAction onRefreshContents onSerialize
onServerMethodCall onServerMethodError onServerMethodReturn onStartModalHandler
ondialogCancel ondialogFinish ondialogStart ondisabledHandler
onkeydownHandler onkeyupHandler onlayoutHandler onloadHandler
onlogoutHandler onoverlayHandler onresizeHandler onunloadHandler
onupdateHandler popupActionHandler refreshContents removeChild
removeControlDef removeDataPropertyDef removeDataSeriesDef render
renderContents renderSVG saveToCatalog selectWidgetSubtype
selectWidgetType setComponentId setHidden setOverlayMode
setProperty setPropertyAll setTraceOption startModal
startProgressBar stopProgressBar stripWhitespaces togglePreviewMode
updatePreview widgetPropertyChange


Parameters

• parameter APPLYBUTTON = 0;
If true, then this dialog displays an Apply button.

Properties

• property controlDefs as list of %DeepSee.Component.controlDefinition;
List of control definitions for the widget.
• property dashboardName as %ZEN.Datatype.string(ZENURL="DASHBOARD");
Dashboard name.
• property dataLink as %ZEN.Datatype.string;
Data link name.
• property dataPropertyDefs as list of %DeepSee.Component.dataPropertyDefinition;
List of data property definitions for the widget.
• property dataSeriesDefs as list of %DeepSee.Component.dataSeriesDefinition;
List of data series definitions for the widget.
• property dataSource as %ZEN.Datatype.string;
Data source name.
• property drillDownDataSource as %ZEN.Datatype.string;
Drill down data source name.
• property localDataSource as %ZEN.Datatype.string;
Local data source name (if any).
• property previewName as %ZEN.Datatype.string;
Name of dashboard used to hold preview copy.
• property showPreview as %ZEN.Datatype.boolean [ InitialExpression = 1 ];
Should dialog show the widget preview.
• property widgetDescription as %ZEN.Datatype.string;
Description of the widget (if any).
• property widgetKey as %ZEN.Datatype.string(ZENURL="KEY");
Key for widget (if editing).
• property widgetKeywords as %ZEN.Datatype.string;
Keywords of the saved widget (if any).
• property widgetName as %ZEN.Datatype.string(ZENURL="WIDGETNAME");
Name of widget (on the dashboard).
• property widgetNames as %ZEN.Datatype.csv;
List of current widget names on dashboard.
• property widgetOwner as %ZEN.Datatype.string(MAXLEN=255);
Widget owner.
• property widgetPropertyArray as array of %ZEN.Datatype.string;
Additional name/value pairs for the widget.
• property widgetResource as %ZEN.Datatype.string(MAXLEN=255);
Widget resource.
• property widgetSubtype as %ZEN.Datatype.string;
Current selected widget subtype.
• property widgetTemplateName as %ZEN.Datatype.string;
Name used to save this widget to the catalog!
• property widgetType as %ZEN.Datatype.string;
Current selected widget type.

Methods

• method %OnAfterCreatePage() as %Status
Apply changes to page.
• method %OnDrawHTMLHead() as %Status
Add include files to support color schemes.
• method %OnGetSubtitle() as %String
Get the (localized) subtitle string for the dialog. This should be implemented in a subclass.
• method %OnGetTitle() as %String
Get the (localized) title string for the dialog. This should be implemented in a subclass.
• method AddWidgetToDashboard(pDashboardName As %String, pWidgetName As %String, pInfo As %ZEN.proxyObject, pPreview As %Boolean = 0) as %String [ ZenMethod ]
Add a widget to the given dashboard definition. If pPreview, then save to the private preview dashboard.
• method CreateWidgetMenu(pMenu As %ZEN.Component.lookoutMenu) as %Status
Add elements to the widget menu.
• method DrawChartSeries(pWidgetType As %String) as %Status
Draw contents of chart series box.
• method DrawControlList(pSeed As %String) as %Status
Draw contents of control list box.
• method DrawDataPropertyList(pSeed As %String) as %Status
Draw contents of data property list box.
• method DrawWidgetIcon(pInfo As %String) as %Status
Draw a widget icon box. pInfo is type^subtype^title^icon
• method DrawWidgetProperties(pWidgetType As %String) as %Status
Draw contents of widget properties box.
• classmethod GetDimensionInfo(pRoot As %String, Output pTree, ByRef pParms) as %Status
Place holder for pivot widget dynaTree.
• method SaveWidgetToCatalog(pInfo As %ZEN.proxyObject) as %String [ ZenMethod ]
Save the widget to the catalog.
• method addControlDef() [ Language = javascript ]
Add a control definition.
• method addDataPropertyDef() [ Language = javascript ]
Add a data property definition.
• method addDataSeriesDef() [ Language = javascript ]
Add a data series definition.
• method adjustSize() [ Language = javascript ]
Adjust size and position of components on this page.
• method browseDataSources() [ Language = javascript ]
Launch the data source finder.
• method browseDrillDataSources() [ Language = javascript ]
Launch the data source finder.
• method cbSelected(cb, num) [ Language = javascript ]
Click on control cbox.
• method chooseDataSource(id) [ Language = javascript ]
Show data source finder for widget property control
• method clearDataSource() [ Language = javascript ]
Clear the data source. If there is a local override, first clear it and restore the original value.
• method clearDrillDataSource() [ Language = javascript ]
Clear the data source.
• method createCopy() [ Language = javascript ]
Create a copy of this widget.
• method dashboardEventHandler(sourceWidget, which, control, action, target, targetProperty) [ Language = javascript ]
Central handler for control events on this dashboard. This is called whenever a control is modified (or otherwise activated). This is also called when a widget raises an event.
• method dataSourceChange() [ Language = javascript ]
User edit of dataSource.
• method editControlDef(n) [ Language = javascript ]
Edit a control definition.
• method editDataPropertyDef(n) [ Language = javascript ]
Edit a data property definition.
• method editDataSeriesDef(n) [ Language = javascript ]
Edit a data series definition.
• method getDialogValue() [ Language = javascript ]
Get the value that will be applied when the user presses the OK button. This is implemented by subclasses.
• method loadKPI() [ Language = javascript ]
Launch the KPI finder dialog.
• method loadPivot() [ Language = javascript ]
Launch the pivot finder dialog.
• method loadWorksheet() [ Language = javascript ]
Launch the worksheet finder dialog.
• method moveControlDefDown(n) [ Language = javascript ]
Move a control definition up.
• method moveControlDefUp(n) [ Language = javascript ]
Move a control definition up.
• method moveDataPropertyDefDown(n) [ Language = javascript ]
Move a dataProperty definition up.
• method moveDataPropertyDefUp(n) [ Language = javascript ]
Move a dataProperty definition up.
• method moveDataSeriesDefDown(n) [ Language = javascript ]
Move a data series definition up.
• method moveDataSeriesDefUp(n) [ Language = javascript ]
Move a data series definition up.
• method onPopupAction(popupName, action, value) [ Language = javascript ]
This client event is fired when the a popup page launched from this page fires an action.
• method ondialogFinish(action) as %Boolean [ Language = javascript ]
This callback, if defined, is called when the user presses the OK or Apply action buttons. If this returns false, then the action is cancelled.
• method ondialogStart() [ Language = javascript ]
This callback, if defined, is called when the dialog page is loaded.
• method removeControlDef(n) [ Language = javascript ]
Remove a control definition.
• method removeDataPropertyDef(n) [ Language = javascript ]
Remove a dataProperty definition.
• method removeDataSeriesDef(n) [ Language = javascript ]
Remove a data series definition.
• method saveToCatalog() [ Language = javascript ]
Invoke the save widget dialog.
• method selectWidgetSubtype(type) [ Language = javascript ]
Click on a new widget subtype.
• method selectWidgetType(type, subtype) [ Language = javascript ]
Click on a new widget type and subtype.
• method togglePreviewMode() [ Language = javascript ]
Turn widget preview on or off.
• method updatePreview() [ Language = javascript ]
Update widget preview.
• method widgetPropertyChange() [ Language = javascript ]
Change in value in a control within the property table.