Skip to main content

%DeepSee.UI.Dialog.FormatString

Class %DeepSee.UI.Dialog.FormatString Extends %DeepSee.UI.Dialog.standardDialog [ System = 4 ]

This dialog lets the user edit or add Format String for measure definition.

Parameters

APPLYBUTTON

Parameter APPLYBUTTON = 0;

Properties

cubeName

Property cubeName As %ZEN.Datatype.string(ZENURL = "CUBE");

Cube name.

measureName

Property measureName As %ZEN.Datatype.string(ZENURL = "ELEMENT");

formatString

Property formatString As %ZEN.Datatype.string(ZENURL = "VALUE");

msgCube

Property msgCube As %ZEN.Datatype.caption [ InitialExpression = {$$$TextJS("Please enter a Cube Name.")} ];

XDatas

Style

XData Style

dialogBody

XData dialogBody [ XMLNamespace = "http://www.intersystems.com/zen" ]

Contents of the dialog body.

Methods

%OnGetTitle

Method %OnGetTitle() As %String

Get the (localized) title string for the dialog. This should be implemented in a subclass.

%OnGetSubtitle

Method %OnGetSubtitle() As %String

Get the (localized) subtitle string for the dialog. This should be implemented in a subclass.

getDialogValue

ClientMethod getDialogValue() [ Language = javascript ]

Value returned is delimited first by "^" then by ";". The first piece of "^" is the String value, the second piece is the Color value.
The String values and Color values are each delimited by ";".

showExample

ClientMethod showExample(value, id) As %Boolean [ Language = javascript ]

Apply a format string value to the associated example

showStyle

ClientMethod showStyle(value, id) As %Boolean [ Language = javascript ]

Apply a style value to the associated example

%OnAfterCreatePage

Method %OnAfterCreatePage() As %Status

GetDisplayValue

ClassMethod GetDisplayValue(format As %String) As %String [ ZenMethod ]

Return example display value given user entered format string.

onloadHandler

ClientMethod onloadHandler() [ Language = javascript ]

This client event, if present, is fired when the page is loaded.