%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
- %DrawHTML()
- adjustDropdownPosition()
- colorSetChange()
- customColorChange()
- getColorSet()
- getColorTableHTML()
- getDropDownDiv()
- hideDropDown()
- onEndModalHandler()
- onStartModalHandler()
- onresizeHandler()
- parseStyle()
- renderContents()
- renderDropdown()
- resetStyles()
- reveal()
- selectColor()
- selectFont()
- selectFontSize()
- setProperty()
- setStyle()
- showDropdown()
- textAlign()
- textStyle()
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
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.
"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.
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
- %condition
- %import
- %includeFiles
- %page
- %resource
- align
- aux
- clientType
- composite
- containerStyle
- controlClass
- controlStyle
- dataBinding
- disabled
- dragEnabled
- dropEnabled
- enclosingClass
- enclosingStyle
- error
- height
- hidden
- hint
- hintClass
- hintStyle
- id
- index
- invalid
- invalidMessage
- label
- labelClass
- labelDisabledClass
- labelStyle
- name
- onafterdrag
- onbeforedrag
- onblur
- onchange
- onclick
- ondblclick
- ondrag
- ondrop
- onfocus
- onhide
- onkeydown
- onkeypress
- onkeyup
- onmousedown
- onmouseout
- onmouseover
- onmouseup
- onrefresh
- onshow
- onsubmit
- ontouchend
- ontouchmove
- ontouchstart
- onupdate
- onvalidate
- originalValue
- parent
- readOnly
- required
- requiredMessage
- showLabel
- slice
- tabIndex
- title
- tuple
- valign
- value
- visible
- width
- window
Inherited Methods
- %AddToSaveSet()
- %Attr()
- %BindExport()
- %ClassIsLatestVersion()
- %ClassName()
- %ConstructClone()
- %DispatchClassMethod()
- %DispatchGetModified()
- %DispatchGetProperty()
- %DispatchMethod()
- %DispatchSetModified()
- %DispatchSetMultidimProperty()
- %DispatchSetProperty()
- %DrawComponentHTML()
- %DrawJSStrings()
- %EnclosingDivId()
- %Eval()
- %EvalC()
- %Extends()
- %ForceClientRender()
- %GetEventHandlers()
- %GetForm()
- %GetParameter()
- %GetXMLName()
- %IsA()
- %IsModified()
- %MakeId()
- %Name()
- %New()
- %NormalizeObject()
- %ObjectModified()
- %OnAddToPageAfter()
- %OnAddToPageBefore()
- %OnDrawEnclosingDiv()
- %OnDrawObjectProperties()
- %OnObjectSynch()
- %OnZENDeserialize()
- %OriginalNamespace()
- %PackageName()
- %QuoteValue()
- %QuoteValueL10N()
- %RemoveFromSaveSet()
- %Self()
- %SerializeObject()
- %SetDefaultValues()
- %SetModified()
- %ValidateObject()
- XMLDTD()
- XMLExport()
- XMLExportToStream()
- XMLExportToString()
- XMLNew()
- XMLSchema()
- XMLSchemaNamespace()
- XMLSchemaType()
- dragFinishHandler()
- dragHandler()
- dragNotifyHandler()
- dragStartHandler()
- dropHandler()
- dropStartHandler()
- exposeComponent()
- findElement()
- fireOnUpdateEvent()
- focus()
- formatValue()
- getDisabled()
- getDragData()
- getEnclosingDiv()
- getForm()
- getHidden()
- getHintElement()
- getInvalidReason()
- getLabelElement()
- getProperty()
- getReadOnly()
- getSettings()
- getType()
- getValue()
- invokeSuper()
- isModified()
- isOfType()
- isValid()
- makeId()
- normalizeValue()
- onCreate()
- onDelete()
- onDisplayHandler()
- onPopupAction()
- onRefreshContents()
- onSerialize()
- onchangeHandler()
- onloadHandler()
- onunloadHandler()
- onupdateHandler()
- refreshContents()
- render()
- renderSVG()
- select()
- setDisabled()
- setHidden()
- setOverlayMode()
- setReadOnly()
- setValue()
- startProgressBar()
- stopProgressBar()
- sysName()
- unformatValue()
- validationHandler()