Home > Class Reference > ENSLIB namespace > %ZEN.Component.colorPane
Private  Storage   

%ZEN.Component.colorPane


class %ZEN.Component.colorPane extends component

Color selection pane. This component displays a grid containing various colored cells.

Inventory


Parameters Properties Methods Queries Indices ForeignKeys Triggers
7 12


Summary


Properties
%condition %import %includeFiles %page
%resource align aux composite
containerStyle currCol currRow currSlice
dragEnabled dropEnabled enclosingClass enclosingStyle
error face height hidden
hint hintClass hintStyle id
index label labelClass labelDisabledClass
labelStyle name onafterdrag onbeforedrag
onchange ondblclick ondrag ondrop
onhide onrefresh onshow onupdate
parent showLabel slice 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 %GetParameter %GetXMLName
%IsA %IsModified %MakeId %New
%NormalizeObject %ObjectModified %OnAddToPageAfter %OnAddToPageBefore
%OnDrawEnclosingDiv %OnDrawObjectProperties %OnObjectSynch %OnZENDeserialize
%OriginalNamespace %PackageName %QuoteValue %QuoteValueL10N
%RemoveFromSaveSet %Self %SerializeObject %SetModified
%ValidateObject XMLDTD XMLExport XMLExportToStream
XMLExportToString XMLNew XMLSchema XMLSchemaNamespace
XMLSchemaType dblclickHandler dragFinishHandler dragHandler
dragNotifyHandler dragStartHandler dropHandler dropStartHandler
exposeComponent findElement fireOnUpdateEvent getEnclosingDiv
getHidden getHintElement getLabelElement getProperty
getSettings getType getValue invokeSuper
isOfType makeId onCreate onDelete
onDisplayHandler onEndModalHandler onPopupAction onRefreshContents
onSerialize onStartModalHandler onloadHandler onunloadHandler
onupdateHandler refreshContents render renderContents
renderIndicator renderSVG rgbChanged rotateCube
selectCell selectSlice setHidden setOverlayMode
setProperty setValue startProgressBar stopProgressBar


Properties


• property currCol as %ZEN.Datatype.integer [ InitialExpression = 0 ];
Column of current selected cell: 0-based.
• property currRow as %ZEN.Datatype.integer [ InitialExpression = 0 ];
Row of current selected cell: 0-based.
• property currSlice as %ZEN.Datatype.integer [ InitialExpression = 0 ];
Current selected slice: 0-based.
• property face as %ZEN.Datatype.integer [ InitialExpression = 1 ];
Which view of the color cube is showing: 1,2, or 3.
• property onchange as %ZEN.Datatype.eventHandler;
onchange event handler: This event is fired when the user selects a new color.
• property ondblclick as %ZEN.Datatype.eventHandler;
ondblclick event handler: This event is fired when the mouse is double-clicked.
• property value as %ZEN.Datatype.string [ InitialExpression = "#FFFFFF" ];
Current color selection.

Methods


• method %DrawHTML()
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.
• method dblclickHandler() [ Language = javascript ]
Handler for double-clicks.
• final method getValue() as %String [ Language = javascript ]
Client-side method to return the value associated with this control.
• method onloadHandler() [ Language = javascript ]
This client event, if present, is fired when the page is loaded.
• method renderContents() [ Language = javascript ]
Client-method to draw contents of this pane.
• method renderIndicator() [ Language = javascript ]
Client-method to draw contents of the current color indicator.
• method rgbChanged() [ Language = javascript ]
User has entered a new rgb value.
• method rotateCube(direction) [ Language = javascript ]
User click on a rotate button
• method selectCell(r, c) [ Language = javascript ]
User click on a cell.
• method selectSlice(slice) [ Language = javascript ]
User click on a new slice
• method setProperty(property, value, value2) [ Language = javascript ]
Set the value of a named property.
• final method setValue(value) [ Language = javascript ]
Client-side method to set the value associated with this control.