Skip to main content

%ZEN.Dialog.cssDeclarationEditor

deprecated class %ZEN.Dialog.cssDeclarationEditor extends %ZEN.Dialog.standardDialog

Specialized page that displays a CSS declaration editor.
This is used by ZEN utilities.

Property Inventory

Method Inventory

Parameters

parameter APPLYBUTTON = 1;
Show Apply button.
parameter DOMAIN = %ZEN;
Inherited description: Localization domain

Properties

property context as %ZEN.Datatype.string (ZENURL = "context");
What type of CSS declaration: "HTML" or "SVG". Passed in via URL.
Property methods: contextDisplayToLogical(), contextGet(), contextIsValid(), contextLogicalToDisplay(), contextLogicalToOdbc(), contextNormalize(), contextSet()
property declaration as %ZEN.Datatype.string (ZENURL = "declaration");
Initial value of the CSS declaration. Passed in via URL.
Property methods: declarationDisplayToLogical(), declarationGet(), declarationIsValid(), declarationLogicalToDisplay(), declarationLogicalToOdbc(), declarationNormalize(), declarationSet()
property msgMissingProp as %ZEN.Datatype.caption [ InitialExpression = "Please enter a property value." ];
Localized message for missing property.
Property methods: msgMissingPropDisplayToLogical(), msgMissingPropGet(), msgMissingPropIsValid(), msgMissingPropLogicalToDisplay(), msgMissingPropLogicalToOdbc(), msgMissingPropNormalize(), msgMissingPropSet()
property multiLine as %ZEN.Datatype.boolean (ZENURL = "multiLine") [ InitialExpression = 0 ];
True if result should formatted as multi-line text. Passed in via URL.
Property methods: multiLineDisplayToLogical(), multiLineGet(), multiLineIsValid(), multiLineLogicalToDisplay(), multiLineLogicalToOdbc(), multiLineLogicalToXSD(), multiLineNormalize(), multiLineSet(), multiLineXSDToLogical()
property selector as %ZEN.Datatype.string (ZENURL = "selector");
Selector for the CSS declaration. Passed in via URL.
Property methods: selectorDisplayToLogical(), selectorGet(), selectorIsValid(), selectorLogicalToDisplay(), selectorLogicalToOdbc(), selectorNormalize(), selectorSet()

Methods

method %GetDescHTML(pSeed As %String) as %Status
Provide contents of description component.
method %OnAfterCreatePage() as %Status
Inherited description: 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.
classmethod GetCSSPropertyList(pContext As %String, Output pList)
Return an array of possible CSS property values.
clientmethod changeDeclaration(lb) [ Language = javascript ]
User has selected a declaration in the list box.
clientmethod changeProperty(ctrl) [ Language = javascript ]
User has changed the property or value control
clientmethod editCSSValue() [ Language = javascript ]
Launch the CSS Value Editor popup.
clientmethod getCurrDeclaration() [ Language = javascript ]
Get current declaration from property and value controls.
clientmethod getDialogValue() [ Language = javascript ]
Return the value that should be returned by this dialog.
clientmethod onPopupAction(popupName, action, value) [ Language = javascript ]
This client event, if present, is fired when the a popup page launched from this page fires an action.
clientmethod removeProperty() [ Language = javascript ]
Remove the current property

Inherited Members

Inherited Properties

Inherited Methods

FeedbackOpens in a new tab