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 icon
as %ZEN.Datatype.uri(ZENURL="ICON");
Icon.
property iconCount
as %ZEN.Datatype.integer(ZENURL="ICONCOUNT");
Icon count.
property operator
as %ZEN.Datatype.string(ZENURL="OPERATOR");
Condition operator.
property range
as %ZEN.Datatype.string(ZENURL="RANGE");
Range of cells for which this rule applies.
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.
property style
as %ZEN.Datatype.style(ZENURL="STYLE");
CSS style to apply to cells that match this condition.
property text
as %ZEN.Datatype.string(ZENURL="TEXT");
If defined, replace value with this text.
property value
as %ZEN.Datatype.csv(ZENURL="VALUE");
Value (or values) to test.
For IN and BETWEEN this is a comma-delimited list.
method %OnAfterCreatePage()
as %Status
Be sure to do ##super() when overriding.
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 clearRange()
[ Language = javascript ]
Click on clear range button.
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.