Skip to main content

%DeepSee.Component.styleEdit

class %DeepSee.Component.styleEdit extends %ZEN.Component.control

Style edit control.
This provides a way to edit CSS styling for text elements. The value for this control is a css style string.

Property Inventory

Method Inventory

Parameters

parameter DEFAULTENCLOSINGCLASS;
Inherited description: Subclasses can set this to change default enclosingClass used for this component.
parameter NAMESPACE = http://www.intersystems.com/deepsee;
Inherited description: This is the XML namespace used for library components.

Properties

property caption as %ZEN.Datatype.caption;
Caption to display when in "color" mode.
Property methods: captionDisplayToLogical(), captionGet(), captionIsValid(), captionLogicalToDisplay(), captionLogicalToOdbc(), captionNormalize(), captionSet()
property colorSetCaptions as list of %ZEN.Datatype.string (XMLPROJECTION = "none");
Captions of color sets.
Property methods: colorSetCaptionsBuildValueArray(), colorSetCaptionsCollectionToDisplay(), colorSetCaptionsCollectionToOdbc(), colorSetCaptionsDisplayToCollection(), colorSetCaptionsDisplayToLogical(), colorSetCaptionsGet(), colorSetCaptionsGetObject(), colorSetCaptionsGetObjectId(), colorSetCaptionsGetSwizzled(), colorSetCaptionsIsValid(), colorSetCaptionsLogicalToDisplay(), colorSetCaptionsLogicalToOdbc(), colorSetCaptionsNormalize(), colorSetCaptionsOdbcToCollection(), colorSetCaptionsSet(), colorSetCaptionsSetObject(), colorSetCaptionsSetObjectId()
property colorSetNames as list of %ZEN.Datatype.string (XMLPROJECTION = "none");
Logical names of color sets.
Property methods: colorSetNamesBuildValueArray(), colorSetNamesCollectionToDisplay(), colorSetNamesCollectionToOdbc(), colorSetNamesDisplayToCollection(), colorSetNamesDisplayToLogical(), colorSetNamesGet(), colorSetNamesGetObject(), colorSetNamesGetObjectId(), colorSetNamesGetSwizzled(), colorSetNamesIsValid(), colorSetNamesLogicalToDisplay(), colorSetNamesLogicalToOdbc(), colorSetNamesNormalize(), colorSetNamesOdbcToCollection(), colorSetNamesSet(), colorSetNamesSetObject(), colorSetNamesSetObjectId()
property colorSets as list of %ZEN.Datatype.string (XMLPROJECTION = "none");
List of ;-delimited color set values for drop down.
Property methods: colorSetsBuildValueArray(), colorSetsCollectionToDisplay(), colorSetsCollectionToOdbc(), colorSetsDisplayToCollection(), colorSetsDisplayToLogical(), colorSetsGet(), colorSetsGetObject(), colorSetsGetObjectId(), colorSetsGetSwizzled(), colorSetsIsValid(), colorSetsLogicalToDisplay(), colorSetsLogicalToOdbc(), colorSetsNormalize(), colorSetsOdbcToCollection(), colorSetsSet(), colorSetsSetObject(), colorSetsSetObjectId()
property currColorSet as %ZEN.Datatype.string (XMLPROJECTION = "none");
Current color set.
Property methods: currColorSetDisplayToLogical(), currColorSetGet(), currColorSetIsValid(), currColorSetLogicalToDisplay(), currColorSetLogicalToOdbc(), currColorSetNormalize(), currColorSetSet()
property features as %ZEN.Datatype.csv;
Set of features to display when in "style" mode: These include: "font", "background", "color", "align", "reset".
Property methods: featuresDisplayToLogical(), featuresGet(), featuresIsValid(), featuresLogicalToDisplay(), featuresLogicalToOdbc(), featuresNormalize(), featuresSet()
property isDropdownVisible as %ZEN.Datatype.boolean (XMLPROJECTION = "none") [ InitialExpression = 0 ];
Internal use only; client flag used to track if the dropdown is visible.
Property methods: isDropdownVisibleDisplayToLogical(), isDropdownVisibleGet(), isDropdownVisibleIsValid(), isDropdownVisibleLogicalToDisplay(), isDropdownVisibleLogicalToOdbc(), isDropdownVisibleLogicalToXSD(), isDropdownVisibleNormalize(), isDropdownVisibleSet(), isDropdownVisibleXSDToLogical()
property mode as %ZEN.Datatype.string (VALUELIST = ",style,color") [ InitialExpression = "style" ];
Operating mode of the control.
"style" (the default) edit a css style spec.
"color" edit a single color value.
Property methods: modeDisplayToLogical(), modeGet(), modeIsValid(), modeLogicalToDisplay(), modeLogicalToOdbc(), modeNormalize(), modeSet()

Methods

method %DrawHTML()
Inherited description: Static HTML display method: draw the BODY of this component as HTML.
Subclasses implement this in order to render the static HTML contents of a component.
clientmethod adjustDropdownPosition() [ Language = javascript ]
Adjust the placement and size of the dropdown box based on current screen geometry and scrolling conditions.
clientmethod colorSetChange(which) [ Language = javascript ]
Change the displayed color set.
clientmethod customColorChange(which) [ Language = javascript ]
clientmethod getColorSet() [ Language = javascript ]
Return an array of (arrays of) the current color set.
clientmethod getColorTableHTML(which) [ Language = javascript ]
Return a HTML for the table of color choices for the current color set.
clientmethod getDropDownDiv() [ Language = javascript ]
Find the div element used to display the dropdown box.
clientmethod hideDropDown() [ Language = javascript ]
Show the drop down.
clientmethod onEndModalHandler(zindex) [ Language = javascript ]
Notification that this component is about to stop being modal.
clientmethod onStartModalHandler(zindex) [ Language = javascript ]
Notification that this component is about to become modal.
clientmethod onresizeHandler() [ Language = javascript ]
clientmethod parseStyle(style) [ Language = javascript ]
Split a css value into the style values supported by this control. Return an object containing these values.
clientmethod renderContents() [ Language = javascript ]
Client-side method to render this control.
clientmethod renderDropdown() [ Language = javascript ]
Show the drop down contents.
clientmethod resetStyles() [ Language = javascript ]
Clear the styles
clientmethod reveal() [ Language = javascript ]
Timer handler for hide/reveal of drop down.
clientmethod selectColor(which, color) [ Language = javascript ]
Select color in drop down.
clientmethod selectFont(which, font) [ Language = javascript ]
Select font in drop down.
clientmethod selectFontSize(which, size) [ Language = javascript ]
Select font size in drop down.
clientmethod setProperty(property, value, value2) [ Language = javascript ]
Set the value of a named property.
clientmethod setStyle(style, value) [ Language = javascript ]
Set a specific css value into the style values supported by this control.
clientmethod showDropdown(which) [ Language = javascript ]
Show the drop down.
clientmethod textAlign(which) [ Language = javascript ]
Set text align.
clientmethod textStyle(which) [ Language = javascript ]
Toggle text style.

Inherited Members

Inherited Properties

Inherited Methods

FeedbackOpens in a new tab