Home > Class Reference > ENSLIB namespace > %DeepSee.Report.UI.colorPalette
Private  Storage   

%DeepSee.Report.UI.colorPalette


class %DeepSee.Report.UI.colorPalette extends %ZEN.Component.control

Spinner control

Inventory


Parameters Properties Methods Queries Indices ForeignKeys Triggers
1 17


Summary


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

Methods
%AddToSaveSet %Attr %BindExport %ClassIsLatestVersion
%ClassName %ConstructClone %DispatchClassMethod %DispatchGetModified
%DispatchGetProperty %DispatchMethod %DispatchSetModified %DispatchSetMultidimProperty
%DispatchSetProperty %DrawComponentHTML %DrawHTML %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
addItem calculateMaster dragFinishHandler dragHandler
dragNotifyHandler dragStartHandler dropHandler dropStartHandler
exposeComponent findElement fireOnUpdateEvent focus
formatValue getDisabled getDragData getEnclosingDiv
getForm getHidden getHintElement getInvalidReason
getLabelElement getMaxH getMaxW getProperty
getReadOnly getSettings getType getValue
initColor initMaster invokeSuper isModified
isOfType isValid layoutHorizontal layoutVertical
makeId markValue normalizeValue onCreate
onDelete onDisplayHandler onEndModalHandler onPopupAction
onRefreshContents onSerialize onStartModalHandler onchangeHandler
onloadHandler onunloadHandler onupdateHandler populatePalette
reborder refresh refreshContents render
renderContents renderSVG select serviceClick
setDisabled setHidden setOverlayMode setProperty
setReadOnly setValue startProgressBar stopProgressBar
sysName tweakCB unformatValue validationHandler


Parameters


• parameter INCLUDEFILES = "zenCSLM.js,zreNS.js";
CSV list of additional include files (either .js or .css) that should be included when this component is used on a page.
By default, the file extension (.js or .css) is used to determine whether an item in the list is a script include or a style include. You can override this behavior by adding the terms "script:" or "style:" to the beginning of the file name or names. This prefix is not used as part of the include filename.

Methods


• method %DrawHTML()
The %DrawHTML method draws the initial HTML for this component.
• method addItem(contents, value) [ Language = javascript ]
• method calculateMaster() [ Language = javascript ]
Calculate a master palette of colors. The end result is the same as the colors defined in initMaster. The dynamic algorithm show here takes longer but illustraites how the palette in the other function was determined. For performance reasons, the initMaster call is preferable.
• method getMaxH() [ Language = javascript ]
• method getMaxW() [ Language = javascript ]
• method initColor(min, max, ratio) [ Language = javascript ]
• method initMaster() [ Language = javascript ]
Initialize the master palette to a broad collection of statically defined, logically diverse and organized colors
• method layoutHorizontal(mW, mH) [ Language = javascript ]
• method layoutVertical(mW, mH) [ Language = javascript ]
• method markValue() [ Language = javascript ]
• method onloadHandler() [ Language = javascript ]
This client event, if present, is fired when the page is loaded.
• method populatePalette() [ Language = javascript ]
• method reborder(pickItem, hiLite) [ Language = javascript ]
• method refresh() [ Language = javascript ]
• method serviceClick(value) [ Language = javascript ]
• method setProperty(property, value, value2) [ Language = javascript ]
Set the value of a named property.
• method tweakCB(idx, itemNum, event) [ Language = javascript ]