deprecatedclass %ZEN.Component.colorPane
extends component
Color selection pane.
This component displays a grid containing various colored
cells.
• 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.
• 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.
Copyright (c) 2025 by InterSystems Corporation. Cambridge, Massachusetts, U.S.A. All rights reserved. Confidential property of InterSystems Corporation.