class %DeepSee.UI.Dialog.PivotEditRule
extends %DeepSee.UI.Dialog.standardDialog
This dialog adds (or edits) a new formatting rule definition to a DeepSee pivot.
This is a Zen Page class.
parameter APPLYBUTTON = 0;
If true, then this dialog displays an Apply button.
property cellIcon
as %ZEN.Datatype.string(ZENURL="ICON");
Name of icon in effect.
Names starting with "@" are user-defined names from the user icon list.
property defRange
as %ZEN.Datatype.string(ZENURL="RANGE");
Default Range for new rules.
property ruleNumber
as %ZEN.Datatype.string(ZENURL="NUMBER");
Index of rule within parent dialog list or "" for new.
property sampleIcon
as %ZEN.Datatype.string;
Url of current icon.
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.
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 DrawCellIcons(pSeed As %String)
as %Status
Draw contents of cell icon box.
method getDialogValue()
[ Language = javascript ]
Get the value that will be applied when the user presses the OK button.
This is implemented by subclasses.
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 selectIcon(type, href)
[ Language = javascript ]
Click on a new cell icon.
method updateOperator(type)
[ Language = javascript ]
Click on a new operator value.
method updateSample()
[ Language = javascript ]
Update the sample.