class %DeepSee.Report.UI.colorPalette
extends %ZEN.Component.control
Spinner control
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.
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 ]